Lines Matching refs:protocol
11 unsigned int dataoff, u8 protocol) in nf_ip_checksum() argument
20 if ((protocol != IPPROTO_TCP && protocol != IPPROTO_UDP && in nf_ip_checksum()
23 skb->len - dataoff, protocol, in nf_ip_checksum()
30 if (protocol != IPPROTO_TCP && protocol != IPPROTO_UDP) in nf_ip_checksum()
35 protocol, 0); in nf_ip_checksum()
45 u8 protocol) in nf_ip_checksum_partial() argument
53 return nf_ip_checksum(skb, hook, dataoff, protocol); in nf_ip_checksum_partial()
56 skb->csum = csum_tcpudp_nofold(iph->saddr, iph->daddr, protocol, in nf_ip_checksum_partial()
65 unsigned int dataoff, u8 protocol) in nf_ip6_checksum() argument
75 skb->len - dataoff, protocol, in nf_ip6_checksum()
87 protocol, in nf_ip6_checksum()
99 u8 protocol) in nf_ip6_checksum_partial() argument
108 return nf_ip6_checksum(skb, hook, dataoff, protocol); in nf_ip6_checksum_partial()
115 protocol, in nf_ip6_checksum_partial()
124 unsigned int dataoff, u8 protocol, in nf_checksum() argument
131 csum = nf_ip_checksum(skb, hook, dataoff, protocol); in nf_checksum()
134 csum = nf_ip6_checksum(skb, hook, dataoff, protocol); in nf_checksum()
144 u8 protocol, unsigned short family) in nf_checksum_partial() argument
151 protocol); in nf_checksum_partial()
155 protocol); in nf_checksum_partial()