Home
last modified time | relevance | path

Searched refs:__wsum (Results 1 – 17 of 17) sorted by relevance

/include/net/
Dchecksum.h30 __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 …]
Dip6_checksum.h41 __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()
Dudplite.h70 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()
Dudp.h131 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()
Dping.h64 __wsum wcheck;
Dip.h173 __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()
Dip_vs.h1476 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()
Dsock.h1850 __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()
Dtcp.h1047 __be32 daddr, __wsum base) in tcp_v4_check()
/include/asm-generic/
Dchecksum.h16 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/
Dchecksum.h46 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/
Dtypes.h40 typedef __u32 __bitwise __wsum; typedef
/include/linux/
Dinet_lro.h53 __wsum data_csum;
Dskbuff.h611 __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 …]
Dsocket.h311 unsigned int len, __wsum *csump);
Dnetdevice.h1920 __wsum csum;
2216 __wsum psum) in __skb_gro_checksum_validate_complete()
2272 __sum16 check, __wsum pseudo) in __skb_gro_checksum_convert()
/include/linux/sunrpc/
Dxdr.h167 __wsum csum;