/include/net/ |
A D | dsfield.h | 31 __u32 check = ntohs((__force __be16)iph->check); in ipv4_change_dsfield() local 35 check += iph->tos; in ipv4_change_dsfield() 36 if ((check+1) >> 16) check = (check+1) & 0xffff; in ipv4_change_dsfield() 37 check -= dsfield; in ipv4_change_dsfield() 38 check += check >> 16; /* adjust carry */ in ipv4_change_dsfield() 39 iph->check = (__force __sum16)htons(check); in ipv4_change_dsfield()
|
A D | ip6_checksum.h | 60 th->check = ~tcp_v6_check(skb->len, saddr, daddr, 0); in __tcp_v6_send_check() 62 skb->csum_offset = offsetof(struct tcphdr, check); in __tcp_v6_send_check() 71 th->check = ~tcp_v6_check(0, &ipv6h->saddr, &ipv6h->daddr, 0); in tcp_v6_gso_csum_prep()
|
A D | inet_ecn.h | 100 iph->check = csum16_add(iph->check, check_add); in IP_ECN_set_ce() 110 iph->check = csum16_add(iph->check, htons(0x1)); in IP_ECN_set_ect1()
|
A D | gro.h | 230 __sum16 check) in __skb_gro_checksum_validate_needed() argument 237 (!zero_okay || check)); in __skb_gro_checksum_validate_needed() 266 #define __skb_gro_checksum_validate(skb, proto, zero_okay, check, \ argument 270 if (__skb_gro_checksum_validate_needed(skb, zero_okay, check)) \ 281 #define skb_gro_checksum_validate_zero_check(skb, proto, check, \ argument 283 __skb_gro_checksum_validate(skb, proto, true, check, compute_pseudo)
|
A D | udplite.h | 38 if (uh->check == 0) { in udplite_checksum_init()
|
A D | dst_ops.h | 20 struct dst_entry * (*check)(struct dst_entry *, __u32 cookie); member
|
A D | ip.h | 418 u32 check = (__force u32)iph->check; in ip_decrease_ttl() local 419 check += (__force u32)htons(0x0100); in ip_decrease_ttl() 420 iph->check = (__force __sum16)(check + (check>=0xFFFF)); in ip_decrease_ttl()
|
A D | vxlan.h | 436 offsetof(struct udphdr, check) : in vxlan_rco_offset() 437 offsetof(struct tcphdr, check); in vxlan_rco_offset() 444 if (offset == offsetof(struct udphdr, check)) in vxlan_compute_rco()
|
/include/linux/ |
A D | ptp_classify.h | 190 uhdr->check = csum_fold(ptp_check_diff8(correction_old, in ptp_header_update_correction() 192 ~csum_unfold(uhdr->check))); in ptp_header_update_correction() 193 if (!uhdr->check) in ptp_header_update_correction() 194 uhdr->check = CSUM_MANGLED_0; in ptp_header_update_correction()
|
A D | hw_breakpoint.h | 68 bool check); 115 bool check) { return -ENOSYS; } in modify_user_hw_breakpoint_check() argument
|
A D | zutil.h | 47 typedef uLong (*check_func) (uLong check, const Byte *buf,
|
A D | lockdep_types.h | 252 unsigned int check:1; /* see lock_acquire() comment */ member
|
A D | virtio_net.h | 170 if (skb->csum_offset != offsetof(struct udphdr, check)) in __virtio_net_hdr_to_skb() 180 skb->csum_offset != offsetof(struct tcphdr, check)) in __virtio_net_hdr_to_skb()
|
A D | memstick.h | 259 int (*check)(struct memstick_dev *card); member
|
A D | suspend.h | 138 void (*check)(void); member
|
A D | lockdep.h | 228 int trylock, int read, int check, 234 int read, int check, struct lockdep_map *nest_lock,
|
/include/uapi/linux/ |
A D | udp.h | 27 __sum16 check; member
|
A D | ip.h | 103 __sum16 check; member
|
A D | tcp.h | 58 __sum16 check; member
|
/include/net/netfilter/ |
A D | nf_reject.h | 23 if (!udp_hdr || udp_hdr->check) in nf_reject_verify_csum()
|
A D | nf_nat.h | 83 u8 nfproto, u8 proto, void *data, __sum16 *check,
|
/include/linux/mtd/ |
A D | ubi.h | 241 int len, int check); 243 int offset, int len, int check);
|
/include/trace/events/ |
A D | lock.h | 27 int trylock, int read, int check, 30 TP_ARGS(lock, subclass, trylock, read, check, next_lock, ip),
|
/include/drm/ |
A D | drm_simple_kms_helper.h | 91 int (*check)(struct drm_simple_display_pipe *pipe, member
|
/include/rdma/ |
A D | ib_pack.h | 225 __sum16 check; member
|