/include/net/ |
D | checksum.h | 60 static inline __wsum csum_add(__wsum csum, __wsum addend) in csum_add() argument 62 u32 res = (__force u32)csum; in csum_add() 67 static inline __wsum csum_sub(__wsum csum, __wsum addend) in csum_sub() argument 69 return csum_add(csum, ~addend); in csum_sub() 73 csum_block_add(__wsum csum, __wsum csum2, int offset) in csum_block_add() argument 78 return csum_add(csum, (__force __wsum)sum); in csum_block_add() 82 csum_block_sub(__wsum csum, __wsum csum2, int offset) in csum_block_sub() argument 87 return csum_sub(csum, (__force __wsum)sum); in csum_block_sub()
|
D | udp.h | 140 __wsum csum = csum_partial(skb_transport_header(skb), in udp_csum_outgoing() local 143 csum = csum_add(csum, skb->csum); in udp_csum_outgoing() 145 return csum; in udp_csum_outgoing() 150 __wsum csum = csum_partial(skb_transport_header(skb), in udp_csum() local 151 sizeof(struct udphdr), skb->csum); in udp_csum() 154 csum = csum_add(csum, skb->csum); in udp_csum() 156 return csum; in udp_csum()
|
D | udplite.h | 74 __wsum csum = 0; in udplite_csum_outgoing() local 104 csum = skb_checksum(skb, off, (cscov > len)? len : cscov, csum); in udplite_csum_outgoing() 109 return csum; in udplite_csum_outgoing()
|
D | ip6_checksum.h | 40 __wsum csum) in csum_ipv6_magic() argument 46 __u32 sum = (__force u32)csum; in csum_ipv6_magic()
|
D | sock.h | 1714 __wsum csum = csum_and_copy_from_user(from, to, copy, 0, &err); in skb_do_copy_data_nocache() local 1717 skb->csum = csum_block_add(skb->csum, csum, offset); in skb_do_copy_data_nocache() 1767 __wsum csum = csum_and_copy_from_user(from, in skb_copy_to_page() local 1772 skb->csum = csum_block_add(skb->csum, csum, skb->len); in skb_copy_to_page()
|
D | ip.h | 165 __wsum csum; member
|
/include/asm-generic/ |
D | checksum.h | 50 static inline __sum16 csum_fold(__wsum csum) in csum_fold() argument 52 u32 sum = (__force u32)csum; in csum_fold()
|
/include/linux/netfilter/ |
D | nf_conntrack_proto_gre.h | 35 csum:1, member 40 __u16 csum:1,
|
/include/linux/ |
D | pim.h | 21 __be16 csum; member
|
D | netfilter.h | 310 __sum16 csum = 0; in nf_checksum() local 315 csum = afinfo->checksum(skb, hook, dataoff, protocol); in nf_checksum() 317 return csum; in nf_checksum() 326 __sum16 csum = 0; in nf_checksum_partial() local 331 csum = afinfo->checksum_partial(skb, hook, dataoff, len, in nf_checksum_partial() 334 return csum; in nf_checksum_partial()
|
D | igmp.h | 33 __sum16 csum; member 56 __be16 csum; member 65 __be16 csum; member
|
D | sfi.h | 96 u8 csum; member
|
D | skbuff.h | 415 __wsum csum; member 1951 __wsum csum = csum_and_copy_from_user(from, skb_put(skb, copy), in skb_add_data() local 1954 skb->csum = csum_block_add(skb->csum, csum, off); in skb_add_data() 2021 skb->csum = csum_sub(skb->csum, csum_partial(start, len, 0)); in skb_postpull_rcsum() 2125 int len, __wsum csum); 2132 __wsum csum);
|
/include/video/ |
D | metronomefb.h | 19 u16 csum; member
|
/include/linux/sunrpc/ |
D | xdr.h | 168 __wsum csum; member
|