/include/net/ |
D | checksum.h | 26 __wsum csum_and_copy_from_user (const void __user *src, void *dst, in csum_and_copy_from_user() 36 static __always_inline __wsum csum_and_copy_to_user in csum_and_copy_to_user() 39 __wsum sum = csum_partial(src, len, ~0U); in csum_and_copy_to_user() 48 static __always_inline __wsum 57 static __always_inline __wsum csum_add(__wsum csum, __wsum addend) in csum_add() 61 return (__force __wsum)(res + (res < (__force u32)addend)); in csum_add() 65 static __always_inline __wsum csum_sub(__wsum csum, __wsum addend) in csum_sub() 83 static __always_inline __wsum 84 csum_block_add(__wsum csum, __wsum csum2, int offset) in csum_block_add() 92 return csum_add(csum, (__force __wsum)sum); in csum_block_add() [all …]
|
D | ip6_checksum.h | 36 __u32 len, __u8 proto, __wsum csum); 39 static inline __wsum ip6_compute_pseudo(struct sk_buff *skb, int proto) in ip6_compute_pseudo() 46 static inline __wsum ip6_gro_compute_pseudo(struct sk_buff *skb, int proto) in ip6_gro_compute_pseudo() 57 __wsum base) in tcp_v6_check() 91 __wsum base) in udp_v6_check()
|
D | udplite.h | 66 static inline __wsum udplite_csum_outgoing(struct sock *sk, struct sk_buff *skb) in udplite_csum_outgoing() 70 __wsum csum = 0; in udplite_csum_outgoing() 109 static inline __wsum udplite_csum(struct sk_buff *skb) in udplite_csum()
|
D | inet_ecn.h | 147 skb->csum = csum_add(csum_sub(skb->csum, (__force __wsum)from), in IP6_ECN_set_ce() 148 (__force __wsum)to); in IP6_ECN_set_ce() 163 skb->csum = csum_add(csum_sub(skb->csum, (__force __wsum)from), in IP6_ECN_set_ect1() 164 (__force __wsum)to); in IP6_ECN_set_ect1()
|
D | udp.h | 128 static inline __wsum udp_csum_outgoing(struct sock *sk, struct sk_buff *skb) in udp_csum_outgoing() 130 __wsum csum = csum_partial(skb_transport_header(skb), in udp_csum_outgoing() 138 static inline __wsum udp_csum(struct sk_buff *skb) in udp_csum() 140 __wsum csum = csum_partial(skb_transport_header(skb), in udp_csum() 150 __be32 daddr, __wsum base) in udp_v4_check()
|
D | ping.h | 60 __wsum wcheck;
|
D | gre.h | 111 __wsum csum; in gre_checksum()
|
D | ip_vs.h | 1575 static inline __wsum ip_vs_check_diff4(__be32 old, __be32 new, __wsum oldsum) in ip_vs_check_diff4() 1583 static inline __wsum ip_vs_check_diff16(const __be32 *old, const __be32 *new, in ip_vs_check_diff16() 1584 __wsum oldsum) in ip_vs_check_diff16() 1593 static inline __wsum ip_vs_check_diff2(__be16 old, __be16 new, __wsum oldsum) in ip_vs_check_diff2()
|
D | ip.h | 267 __wsum csum; 548 static inline __wsum inet_compute_pseudo(struct sk_buff *skb, int proto) in inet_compute_pseudo() 568 static inline __wsum inet_gro_compute_pseudo(struct sk_buff *skb, int proto) in inet_gro_compute_pseudo()
|
D | tcp.h | 1365 __be32 daddr, __wsum base) in tcp_v4_check()
|
D | sock.h | 2122 __wsum csum = 0; in skb_do_copy_data_nocache()
|
/include/net/sctp/ |
D | checksum.h | 31 static inline __wsum sctp_csum_update(const void *buff, int len, __wsum sum) in sctp_csum_update() 36 return (__force __wsum)crc32c((__force __u32)sum, buff, len); in sctp_csum_update() 39 static inline __wsum sctp_csum_combine(__wsum csum, __wsum csum2, in sctp_csum_combine() 42 return (__force __wsum)__crc32c_le_combine((__force __u32)csum, in sctp_csum_combine() 56 __wsum new; in sctp_compute_cksum() 59 new = ~__skb_checksum(skb, offset, skb->len - offset, ~(__wsum)0, in sctp_compute_cksum()
|
/include/asm-generic/ |
D | checksum.h | 17 extern __wsum csum_partial(const void *buff, int len, __wsum sum); 31 static inline __sum16 csum_fold(__wsum csum) in csum_fold() 45 extern __wsum 47 __u8 proto, __wsum sum); 53 __u8 proto, __wsum sum) in csum_tcpudp_magic()
|
/include/uapi/linux/ |
D | types.h | 37 typedef __u32 __bitwise __wsum; typedef
|
/include/linux/ |
D | uio.h | 280 __wsum csum; 285 size_t csum_and_copy_from_iter(void *addr, size_t bytes, __wsum *csum, struct iov_iter *i); 286 bool csum_and_copy_from_iter_full(void *addr, size_t bytes, __wsum *csum, struct iov_iter *i);
|
D | skbuff.h | 874 __wsum csum; 3329 __wsum csum = 0; in skb_add_data() 3614 __wsum skb_copy_and_csum_bits(const struct sk_buff *skb, int offset, u8 *to, 3661 __wsum (*update)(const void *mem, int len, __wsum wsum); 3662 __wsum (*combine)(__wsum csum, __wsum csum2, int offset, int len); 3667 __wsum __skb_checksum(const struct sk_buff *skb, int offset, int len, 3668 __wsum csum, const struct skb_checksum_ops *ops); 3669 __wsum skb_checksum(const struct sk_buff *skb, int offset, int len, 3670 __wsum csum); 4062 __wsum psum) in __skb_checksum_validate_complete() [all …]
|
D | netdevice.h | 2548 __wsum csum; 3032 __wsum psum) in __skb_gro_checksum_validate_complete() 3086 __wsum pseudo) in __skb_gro_checksum_convert() 3101 __wsum delta; 3116 __wsum delta; in skb_gro_remcsum_process()
|