/arch/arm/include/asm/ |
D | checksum.h | 88 unsigned short proto, __wsum sum) in csum_tcpudp_nofold() argument 101 : "r" (sum), "r" (daddr), "r" (saddr), "r" (len), "Ir" (htons(proto)) in csum_tcpudp_nofold() 111 unsigned short proto, __wsum sum) in csum_tcpudp_magic() argument 113 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic() 130 __be32 proto, __wsum sum); 134 unsigned short proto, __wsum sum) in csum_ipv6_magic() argument 137 htonl(proto), sum)); in csum_ipv6_magic()
|
/arch/m32r/include/asm/ |
D | checksum.h | 118 unsigned short proto, in csum_tcpudp_nofold() argument 122 unsigned long len_proto = (proto + len) << 8; in csum_tcpudp_nofold() 124 unsigned long len_proto = proto + len; in csum_tcpudp_nofold() 149 unsigned short proto, in csum_tcpudp_magic() argument 152 return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); in csum_tcpudp_magic() 168 __u32 len, unsigned short proto, in csum_ipv6_magic() argument 196 "r" (htonl(len)), "r" (htonl(proto)), "0" (sum) in csum_ipv6_magic()
|
/arch/score/include/asm/ |
D | checksum.h | 131 unsigned short proto, __wsum sum) in csum_tcpudp_nofold() argument 133 unsigned long tmp = (ntohs(len) << 16) + proto * 256; in csum_tcpudp_nofold() 165 unsigned short proto, __wsum sum) in csum_tcpudp_magic() argument 167 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic() 183 __u32 len, unsigned short proto, in csum_ipv6_magic() argument 229 : "=r" (sum), "=r" (proto) in csum_ipv6_magic() 231 "0" (htonl(len)), "1" (htonl(proto)), "r" (sum)); in csum_ipv6_magic()
|
/arch/frv/include/asm/ |
D | checksum.h | 109 unsigned short proto, __wsum sum) in csum_tcpudp_nofold() argument 116 : "r" (daddr), "r" (saddr), "r" (len + proto), "0"(sum) in csum_tcpudp_nofold() 124 unsigned short proto, __wsum sum) in csum_tcpudp_magic() argument 126 return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); in csum_tcpudp_magic() 138 __u32 len, unsigned short proto, __wsum sum) in csum_ipv6_magic() argument 173 : "r" (saddr), "r" (daddr), "0" (sum), "2" (len + proto) in csum_ipv6_magic()
|
/arch/m68k/include/asm/ |
D | checksum.h | 82 unsigned short proto, __wsum sum) in csum_tcpudp_nofold() argument 90 : "g" (daddr), "1" (saddr), "d" (len + proto), in csum_tcpudp_nofold() 102 unsigned short proto, __wsum sum) in csum_tcpudp_magic() argument 104 return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); in csum_tcpudp_magic() 120 __u32 len, unsigned short proto, __wsum sum) in csum_ipv6_magic() argument 142 : "a" (saddr), "a" (daddr), "d" (len + proto), in csum_ipv6_magic()
|
/arch/sh/include/asm/ |
D | checksum_32.h | 119 unsigned short proto, in csum_tcpudp_nofold() argument 123 unsigned long len_proto = (proto + len) << 8; in csum_tcpudp_nofold() 125 unsigned long len_proto = proto + len; in csum_tcpudp_nofold() 146 unsigned short proto, in csum_tcpudp_magic() argument 149 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic() 164 __u32 len, unsigned short proto, in csum_ipv6_magic() argument 191 "r" (htonl(len)), "r" (htonl(proto)), "0" (sum) in csum_ipv6_magic()
|
/arch/parisc/include/asm/ |
D | checksum.h | 89 unsigned short proto, in csum_tcpudp_nofold() argument 98 : "r" (daddr), "r"(saddr), "r"(proto+len), "0"(sum)); in csum_tcpudp_nofold() 108 unsigned short proto, in csum_tcpudp_magic() argument 111 return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); in csum_tcpudp_magic() 127 __u32 len, unsigned short proto, in csum_ipv6_magic() argument 184 : "0" (sum), "1" (saddr), "2" (daddr), "3" (len), "r" (proto) in csum_ipv6_magic()
|
/arch/mips/include/asm/ |
D | checksum.h | 51 unsigned short proto, __wsum sum); 57 unsigned short proto, __wsum sum) in csum_tcpudp_magic() argument 59 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic() 249 __be32 daddr, unsigned short len, unsigned short proto, in csum_tcpudp_nofold() argument 281 "r" ((proto + len) << 8), in csum_tcpudp_nofold() 283 "r" (proto + len), in csum_tcpudp_nofold() 296 unsigned short proto, in csum_tcpudp_magic() argument 299 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic() 307 __u32 len, unsigned short proto, in csum_ipv6_magic() argument 362 : "=r" (sum), "=r" (proto) in csum_ipv6_magic() [all …]
|
/arch/xtensa/include/asm/ |
D | checksum.h | 127 unsigned short proto, in csum_tcpudp_nofold() argument 132 unsigned long len_proto = (len + proto) << 8; in csum_tcpudp_nofold() 134 unsigned long len_proto = len + proto; in csum_tcpudp_nofold() 161 unsigned short proto, in csum_tcpudp_magic() argument 164 return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); in csum_tcpudp_magic() 180 __u32 len, unsigned short proto, in csum_ipv6_magic() argument 234 "r" (htonl(len)), "r" (htonl(proto)), "0" (sum) in csum_ipv6_magic()
|
/arch/microblaze/include/asm/ |
D | checksum.h | 20 unsigned short proto, __wsum sum) in csum_tcpudp_nofold() argument 29 "d" ((len + proto) << 8) in csum_tcpudp_nofold() 31 "d" (len + proto) in csum_tcpudp_nofold()
|
/arch/sparc/include/asm/ |
D | checksum_64.h | 100 unsigned short proto, in csum_tcpudp_nofold() argument 109 : "r" (daddr), "r" (proto + len), "0" (sum), "1" (saddr) in csum_tcpudp_nofold() 120 unsigned short proto, in csum_tcpudp_magic() argument 123 return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); in csum_tcpudp_magic() 130 __u32 len, unsigned short proto, in csum_ipv6_magic() argument 155 "r"(htonl(proto)), "r"(sum) in csum_ipv6_magic()
|
D | checksum_32.h | 174 unsigned short proto, in csum_tcpudp_nofold() argument 182 : "r" (daddr), "r" (proto + len), "0" (sum), in csum_tcpudp_nofold() 194 unsigned short proto, in csum_tcpudp_magic() argument 197 return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); in csum_tcpudp_magic() 204 __u32 len, unsigned short proto, in csum_ipv6_magic() argument 229 "r"(htonl(len)), "r"(htonl(proto)), "r"(sum) in csum_ipv6_magic()
|
/arch/h8300/include/asm/ |
D | checksum.h | 69 unsigned short proto, __wsum sum) in csum_tcpudp_nofold() argument 83 : "0" (sum), "r" (daddr), "r" (saddr), "r" (len + proto) in csum_tcpudp_nofold() 90 unsigned short proto, __wsum sum) in csum_tcpudp_magic() argument 92 return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); in csum_tcpudp_magic()
|
/arch/x86/include/asm/ |
D | checksum_32.h | 110 unsigned short proto, in csum_tcpudp_nofold() argument 119 "g" ((len + proto) << 8), "0" (sum)); in csum_tcpudp_nofold() 129 unsigned short proto, in csum_tcpudp_magic() argument 132 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic() 148 __u32 len, unsigned short proto, in csum_ipv6_magic() argument 164 "r" (htonl(len)), "r" (htonl(proto)), "0" (sum) in csum_ipv6_magic()
|
D | checksum_64.h | 88 unsigned short proto, __wsum sum) in csum_tcpudp_nofold() argument 96 "g" ((len + proto)<<8), "0" (sum)); in csum_tcpudp_nofold() 114 unsigned short proto, __wsum sum) in csum_tcpudp_magic() argument 116 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic() 180 __u32 len, unsigned short proto, __wsum sum);
|
/arch/s390/include/asm/ |
D | checksum.h | 102 unsigned short len, unsigned short proto, in csum_tcpudp_nofold() argument 115 csum += len + proto; in csum_tcpudp_nofold() 116 if (csum < len + proto) in csum_tcpudp_nofold() 129 unsigned short len, unsigned short proto, in csum_tcpudp_magic() argument 132 return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); in csum_tcpudp_magic()
|
/arch/mn10300/include/asm/ |
D | checksum.h | 43 unsigned short proto, in csum_tcpudp_nofold() argument 49 tmp += (__wsum) proto << 8; in csum_tcpudp_nofold() 70 unsigned short proto, in csum_tcpudp_magic() argument 73 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic()
|
/arch/metag/include/asm/ |
D | checksum.h | 63 unsigned short proto, in csum_tcpudp_nofold() argument 66 unsigned long len_proto = (proto + len) << 8; in csum_tcpudp_nofold() 81 unsigned short proto, __wsum sum) in csum_tcpudp_magic() argument 83 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic()
|
/arch/x86/um/asm/ |
D | checksum.h | 90 unsigned short proto, __wsum sum) in csum_tcpudp_nofold() argument 97 : "g" (daddr), "g" (saddr), "g" ((len + proto) << 8), "0" (sum)); in csum_tcpudp_nofold() 107 unsigned short proto, in csum_tcpudp_magic() argument 110 return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); in csum_tcpudp_magic()
|
/arch/ia64/lib/ |
D | checksum.c | 38 unsigned short proto, __wsum sum) in csum_tcpudp_magic() argument 42 (__force u64)sum + ((len + proto) << 8)); in csum_tcpudp_magic() 49 unsigned short proto, __wsum sum) in csum_tcpudp_nofold() argument 54 (__force u64)sum + ((len + proto) << 8); in csum_tcpudp_nofold()
|
/arch/avr32/include/asm/ |
D | checksum.h | 115 unsigned short proto, in csum_tcpudp_nofold() argument 123 : "r"(daddr), "r"(saddr), "r"(len + proto), in csum_tcpudp_nofold() 136 unsigned short proto, in csum_tcpudp_magic() argument 139 return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); in csum_tcpudp_magic()
|
/arch/powerpc/xmon/ |
D | ansidecl.h | 109 #define EXFUN(name, proto) name proto argument 133 #define EXFUN(name, proto) name() argument
|
/arch/powerpc/include/asm/ |
D | checksum.h | 25 unsigned short proto, 103 unsigned short proto, in csum_tcpudp_nofold() argument 111 s += proto + len; in csum_tcpudp_nofold() 122 : "r" (daddr), "r"(saddr), "r"(proto + len), "0"(sum)); in csum_tcpudp_nofold()
|
/arch/ia64/include/asm/ |
D | checksum.h | 21 unsigned short proto, 26 unsigned short proto, 76 const struct in6_addr *daddr, __u32 len, unsigned short proto,
|
/arch/alpha/include/asm/ |
D | checksum.h | 18 unsigned short proto, 22 unsigned short len, unsigned short proto, 73 __u32 len, unsigned short proto,
|