Home
last modified time | relevance | path

Searched refs:proto (Results 1 – 25 of 35) sorted by relevance

12

/arch/arm/include/asm/
Dchecksum.h89 __u8 proto, __wsum sum) in csum_tcpudp_nofold() argument
91 u32 lenprot = len + proto; in csum_tcpudp_nofold()
126 __u8 proto, __wsum sum) in csum_tcpudp_magic() argument
128 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic()
145 __be32 proto, __wsum sum);
149 __u32 len, __u8 proto, __wsum sum) in csum_ipv6_magic() argument
152 htonl(proto), sum)); in csum_ipv6_magic()
/arch/m68k/include/asm/
Dchecksum.h83 unsigned short proto, __wsum sum) in csum_tcpudp_nofold() argument
91 : "g" (daddr), "1" (saddr), "d" (len + proto), in csum_tcpudp_nofold()
103 unsigned short proto, __wsum sum) in csum_tcpudp_magic() argument
105 return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); in csum_tcpudp_magic()
121 __u32 len, __u8 proto, __wsum sum) in csum_ipv6_magic() argument
143 : "a" (saddr), "a" (daddr), "d" (len + proto), in csum_ipv6_magic()
/arch/sh/include/asm/
Dchecksum_32.h115 __u32 len, __u8 proto, in csum_tcpudp_nofold() argument
119 unsigned long len_proto = (proto + len) << 8; in csum_tcpudp_nofold()
121 unsigned long len_proto = proto + len; in csum_tcpudp_nofold()
141 __u32 len, __u8 proto, in csum_tcpudp_magic() argument
144 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic()
159 __u32 len, __u8 proto, __wsum sum) in csum_ipv6_magic() argument
185 "r" (htonl(len)), "r" (htonl(proto)), "0" (sum) in csum_ipv6_magic()
/arch/parisc/include/asm/
Dchecksum.h89 __u32 len, __u8 proto, in csum_tcpudp_nofold() argument
98 : "r" (daddr), "r"(saddr), "r"(proto+len), "0"(sum)); in csum_tcpudp_nofold()
107 __u32 len, __u8 proto, in csum_tcpudp_magic() argument
110 return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); in csum_tcpudp_magic()
126 __u32 len, __u8 proto, in csum_ipv6_magic() argument
183 : "0" (sum), "1" (saddr), "2" (daddr), "3" (len), "r" (proto) in csum_ipv6_magic()
/arch/xtensa/include/asm/
Dchecksum.h126 __u32 len, __u8 proto, in csum_tcpudp_nofold() argument
131 unsigned long len_proto = (len + proto) << 8; in csum_tcpudp_nofold()
133 unsigned long len_proto = len + proto; in csum_tcpudp_nofold()
159 __u32 len, __u8 proto, in csum_tcpudp_magic() argument
162 return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); in csum_tcpudp_magic()
178 __u32 len, __u8 proto, in csum_ipv6_magic() argument
232 "r" (htonl(len)), "r" (htonl(proto)), "0" (sum) in csum_ipv6_magic()
/arch/sparc/include/asm/
Dchecksum_64.h100 __u32 len, __u8 proto, in csum_tcpudp_nofold() argument
109 : "r" (daddr), "r" (proto + len), "0" (sum), "1" (saddr) in csum_tcpudp_nofold()
119 __u32 len, __u8 proto, in csum_tcpudp_magic() argument
122 return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); in csum_tcpudp_magic()
129 __u32 len, __u8 proto, __wsum sum) in csum_ipv6_magic() argument
153 "r"(htonl(proto)), "r"(sum) in csum_ipv6_magic()
Dchecksum_32.h174 __u32 len, __u8 proto, in csum_tcpudp_nofold() argument
182 : "r" (daddr), "r" (proto + len), "0" (sum), in csum_tcpudp_nofold()
193 __u32 len, __u8 proto, in csum_tcpudp_magic() argument
196 return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); in csum_tcpudp_magic()
203 __u32 len, __u8 proto, __wsum sum) in csum_ipv6_magic() argument
227 "r"(htonl(len)), "r"(htonl(proto)), "r"(sum) in csum_ipv6_magic()
/arch/microblaze/include/asm/
Dchecksum.h20 __u8 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/x86/include/asm/
Dchecksum_32.h115 __u32 len, __u8 proto, in csum_tcpudp_nofold() argument
124 "g" ((len + proto) << 8), "0" (sum)); in csum_tcpudp_nofold()
133 __u32 len, __u8 proto, in csum_tcpudp_magic() argument
136 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic()
152 __u32 len, __u8 proto, __wsum sum) in csum_ipv6_magic() argument
167 "r" (htonl(len)), "r" (htonl(proto)), "0" (sum) in csum_ipv6_magic()
Dchecksum_64.h89 __u8 proto, __wsum sum) in csum_tcpudp_nofold() argument
97 "g" ((len + proto)<<8), "0" (sum)); in csum_tcpudp_nofold()
114 __u32 len, __u8 proto, in csum_tcpudp_magic() argument
117 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic()
181 __u32 len, __u8 proto, __wsum sum);
/arch/s390/include/asm/
Dchecksum.h95 csum_tcpudp_nofold(__be32 saddr, __be32 daddr, __u32 len, __u8 proto, in csum_tcpudp_nofold() argument
108 csum += len + proto; in csum_tcpudp_nofold()
109 if (csum < len + proto) in csum_tcpudp_nofold()
121 csum_tcpudp_magic(__be32 saddr, __be32 daddr, __u32 len, __u8 proto, in csum_tcpudp_magic() argument
124 return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); in csum_tcpudp_magic()
/arch/csky/include/asm/
Dchecksum.h27 unsigned short len, unsigned short proto, __wsum sum) in csum_tcpudp_nofold() argument
38 "r"(proto + len), in csum_tcpudp_nofold()
40 "r"((proto + len) << 8), in csum_tcpudp_nofold()
/arch/nios2/include/asm/
Dchecksum.h48 __u32 len, __u8 proto, in csum_tcpudp_nofold() argument
62 : "r" (daddr), "r" ((len + proto) << 8), in csum_tcpudp_nofold()
71 __u32 len, __u8 proto, in csum_tcpudp_magic() argument
74 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic()
/arch/x86/um/asm/
Dchecksum.h92 __u8 proto, __wsum sum) in csum_tcpudp_nofold() argument
99 : "g" (daddr), "g" (saddr), "g" ((len + proto) << 8), "0" (sum)); in csum_tcpudp_nofold()
108 __u32 len, __u8 proto, in csum_tcpudp_magic() argument
111 return csum_fold(csum_tcpudp_nofold(saddr,daddr,len,proto,sum)); in csum_tcpudp_magic()
/arch/ia64/lib/
Dchecksum.c39 __u8 proto, __wsum sum) in csum_tcpudp_magic() argument
43 (__force u64)sum + ((len + proto) << 8)); in csum_tcpudp_magic()
50 __u8 proto, __wsum sum) in csum_tcpudp_nofold() argument
55 (__force u64)sum + ((len + proto) << 8); in csum_tcpudp_nofold()
/arch/powerpc/include/asm/
Dchecksum.h58 __u8 proto, __wsum sum) in csum_tcpudp_nofold() argument
66 s += proto + len; in csum_tcpudp_nofold()
68 s += (proto + len) << 8; in csum_tcpudp_nofold()
79 : "r" (daddr), "r"(saddr), "r"(proto + len), "0"(sum)); in csum_tcpudp_nofold()
89 __u8 proto, __wsum sum) in csum_tcpudp_magic() argument
91 return csum_fold(csum_tcpudp_nofold(saddr, daddr, len, proto, sum)); in csum_tcpudp_magic()
212 __u32 len, __u8 proto, __wsum sum);
/arch/powerpc/xmon/
Dansidecl.h98 #define EXFUN(name, proto) name proto argument
122 #define EXFUN(name, proto) name() argument
/arch/alpha/include/asm/
Dchecksum.h18 __u32 len, __u8 proto, __wsum sum);
21 __u32 len, __u8 proto, __wsum sum);
71 __u32 len, __u8 proto, __wsum sum);
/arch/ia64/include/asm/
Dchecksum.h21 __u32 len, __u8 proto, __wsum sum);
24 __u32 len, __u8 proto, __wsum sum);
74 __u32 len, __u8 proto, __wsum csum);
/arch/unicore32/include/asm/
Dchecksum.h21 __u8 proto, __wsum sum) in csum_tcpudp_nofold() argument
30 : "r" (sum), "r" (daddr), "r" (saddr), "r" (len), "Ir" (htons(proto)) in csum_tcpudp_nofold()
/arch/c6x/include/asm/
Dchecksum.h11 __u8 proto, __wsum sum) in csum_tcpudp_nofold() argument
24 : "a" (saddr), "a" (daddr), "a" (proto)); in csum_tcpudp_nofold()
/arch/mips/include/asm/
Dchecksum.h164 __u32 len, __u8 proto, in csum_tcpudp_nofold() argument
198 "r" ((proto + len) << 8), in csum_tcpudp_nofold()
200 "r" (proto + len), in csum_tcpudp_nofold()
220 __u32 len, __u8 proto, in csum_ipv6_magic() argument
279 "0" (htonl(len)), "r" (htonl(proto)), "r" (sum)); in csum_ipv6_magic()
/arch/alpha/lib/
Dchecksum.c46 __u32 len, __u8 proto, __wsum sum) in csum_tcpudp_magic() argument
50 (__force u64)sum + ((len + proto) << 8)); in csum_tcpudp_magic()
55 __u32 len, __u8 proto, __wsum sum) in csum_tcpudp_nofold() argument
60 (__force u64)sum + ((len + proto) << 8); in csum_tcpudp_nofold()
/arch/hexagon/include/asm/
Dchecksum.h29 __u32 len, __u8 proto, __wsum sum);
33 __u32 len, __u8 proto, __wsum sum);
/arch/arc/include/asm/
Dchecksum.h71 __u8 proto, __wsum sum) in csum_tcpudp_nofold() argument
86 "r"(htons(proto)) in csum_tcpudp_nofold()

12