/include/net/ |
D | checksum.h | 30 __wsum csum_and_copy_from_user (const void __user *src, void *dst, in csum_and_copy_from_user() 31 int len, __wsum sum, int *err_ptr) in csum_and_copy_from_user() 44 static __inline__ __wsum csum_and_copy_to_user in csum_and_copy_to_user() 45 (const void *src, void __user *dst, int len, __wsum sum, int *err_ptr) in csum_and_copy_to_user() 56 return (__force __wsum)-1; /* invalid checksum */ in csum_and_copy_to_user() 61 static inline __wsum csum_add(__wsum csum, __wsum addend) in csum_add() 65 return (__force __wsum)(res + (res < (__force u32)addend)); in csum_add() 69 static inline __wsum csum_sub(__wsum csum, __wsum addend) in csum_sub() 87 static inline __wsum 88 csum_block_add(__wsum csum, __wsum csum2, int offset) in csum_block_add() [all …]
|
D | ip6_checksum.h | 41 __wsum csum); 44 static inline __wsum ip6_compute_pseudo(struct sk_buff *skb, int proto) in ip6_compute_pseudo() 51 static inline __wsum ip6_gro_compute_pseudo(struct sk_buff *skb, int proto) in ip6_gro_compute_pseudo() 62 __wsum base) in tcp_v6_check() 96 __wsum base) in udp_v6_check()
|
D | udplite.h | 70 static inline __wsum udplite_csum_outgoing(struct sock *sk, struct sk_buff *skb) in udplite_csum_outgoing() 74 __wsum csum = 0; in udplite_csum_outgoing() 113 static inline __wsum udplite_csum(struct sk_buff *skb) in udplite_csum()
|
D | udp.h | 131 static inline __wsum udp_csum_outgoing(struct sock *sk, struct sk_buff *skb) in udp_csum_outgoing() 133 __wsum csum = csum_partial(skb_transport_header(skb), in udp_csum_outgoing() 141 static inline __wsum udp_csum(struct sk_buff *skb) in udp_csum() 143 __wsum csum = csum_partial(skb_transport_header(skb), in udp_csum() 153 __be32 daddr, __wsum base) in udp_v4_check()
|
D | ping.h | 64 __wsum wcheck;
|
D | ip.h | 173 __wsum csum; 355 static inline __wsum inet_compute_pseudo(struct sk_buff *skb, int proto) in inet_compute_pseudo() 374 static inline __wsum inet_gro_compute_pseudo(struct sk_buff *skb, int proto) in inet_gro_compute_pseudo()
|
D | ip_vs.h | 1476 static inline __wsum ip_vs_check_diff4(__be32 old, __be32 new, __wsum oldsum) in ip_vs_check_diff4() 1484 static inline __wsum ip_vs_check_diff16(const __be32 *old, const __be32 *new, in ip_vs_check_diff16() 1485 __wsum oldsum) in ip_vs_check_diff16() 1494 static inline __wsum ip_vs_check_diff2(__be16 old, __be16 new, __wsum oldsum) in ip_vs_check_diff2()
|
D | sock.h | 1850 __wsum csum = csum_and_copy_from_user(from, to, copy, 0, &err); in skb_do_copy_data_nocache() 1903 __wsum csum = csum_and_copy_from_user(from, in skb_copy_to_page()
|
D | tcp.h | 1047 __be32 daddr, __wsum base) in tcp_v4_check()
|
/include/asm-generic/ |
D | checksum.h | 16 extern __wsum csum_partial(const void *buff, int len, __wsum sum); 25 extern __wsum csum_partial_copy(const void *src, void *dst, int len, __wsum sum); 33 extern __wsum csum_partial_copy_from_user(const void __user *src, void *dst, 34 int len, __wsum sum, int *csum_err); 53 static inline __sum16 csum_fold(__wsum csum) in csum_fold() 67 extern __wsum 69 unsigned short proto, __wsum sum); 75 unsigned short proto, __wsum sum) in csum_tcpudp_magic()
|
/include/net/sctp/ |
D | checksum.h | 46 static inline __wsum sctp_csum_update(const void *buff, int len, __wsum sum) in sctp_csum_update() 54 static inline __wsum sctp_csum_combine(__wsum csum, __wsum csum2, in sctp_csum_combine()
|
/include/uapi/linux/ |
D | types.h | 40 typedef __u32 __bitwise __wsum; typedef
|
/include/linux/ |
D | inet_lro.h | 53 __wsum data_csum;
|
D | skbuff.h | 611 __wsum csum; 2469 __wsum csum = csum_and_copy_from_user(from, skb_put(skb, copy), in skb_add_data() 2654 __wsum skb_copy_and_csum_bits(const struct sk_buff *skb, int offset, u8 *to, 2655 int len, __wsum csum); 2671 __wsum (*update)(const void *mem, int len, __wsum wsum); 2672 __wsum (*combine)(__wsum csum, __wsum csum2, int offset, int len); 2675 __wsum __skb_checksum(const struct sk_buff *skb, int offset, int len, 2676 __wsum csum, const struct skb_checksum_ops *ops); 2677 __wsum skb_checksum(const struct sk_buff *skb, int offset, int len, 2678 __wsum csum); [all …]
|
D | socket.h | 311 unsigned int len, __wsum *csump);
|
D | netdevice.h | 1920 __wsum csum; 2216 __wsum psum) in __skb_gro_checksum_validate_complete() 2272 __sum16 check, __wsum pseudo) in __skb_gro_checksum_convert()
|
/include/linux/sunrpc/ |
D | xdr.h | 167 __wsum csum;
|