Lines Matching refs:len
26 __wsum csum_partial(const void *buff, int len, __wsum sum);
37 csum_partial_copy_nocheck(const void *src, void *dst, int len, __wsum sum);
40 csum_partial_copy_from_user(const void __user *src, void *dst, int len, __wsum sum, int *err_ptr);
87 csum_tcpudp_nofold(__be32 saddr, __be32 daddr, unsigned short len, in csum_tcpudp_nofold() argument
90 u32 lenprot = len | proto << 16; in csum_tcpudp_nofold()
124 csum_tcpudp_magic(__be32 saddr, __be32 daddr, unsigned short len, in csum_tcpudp_magic() argument
127 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic()
136 ip_compute_csum(const void *buff, int len) in ip_compute_csum() argument
138 return csum_fold(csum_partial(buff, len, 0)); in ip_compute_csum()
143 __csum_ipv6_magic(const struct in6_addr *saddr, const struct in6_addr *daddr, __be32 len,
147 csum_ipv6_magic(const struct in6_addr *saddr, const struct in6_addr *daddr, __u32 len, in csum_ipv6_magic() argument
150 return csum_fold(__csum_ipv6_magic(saddr, daddr, htonl(len), in csum_ipv6_magic()