Lines Matching refs:ipl

133 				    unsigned int ihl, unsigned int ipl,  in tcf_csum_skb_nextlayer()  argument
139 if (!pskb_may_pull(skb, ipl + ntkoff) || (ipl < hl) || in tcf_csum_skb_nextlayer()
147 unsigned int ipl) in tcf_csum_ipv4_icmp() argument
151 icmph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*icmph)); in tcf_csum_ipv4_icmp()
156 skb->csum = csum_partial(icmph, ipl - ihl, 0); in tcf_csum_ipv4_icmp()
165 unsigned int ihl, unsigned int ipl) in tcf_csum_ipv4_igmp() argument
169 igmph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*igmph)); in tcf_csum_ipv4_igmp()
174 skb->csum = csum_partial(igmph, ipl - ihl, 0); in tcf_csum_ipv4_igmp()
183 unsigned int ipl) in tcf_csum_ipv6_icmp() argument
188 icmp6h = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*icmp6h)); in tcf_csum_ipv6_icmp()
194 skb->csum = csum_partial(icmp6h, ipl - ihl, 0); in tcf_csum_ipv6_icmp()
196 ipl - ihl, IPPROTO_ICMPV6, in tcf_csum_ipv6_icmp()
205 unsigned int ipl) in tcf_csum_ipv4_tcp() argument
213 tcph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*tcph)); in tcf_csum_ipv4_tcp()
219 skb->csum = csum_partial(tcph, ipl - ihl, 0); in tcf_csum_ipv4_tcp()
220 tcph->check = tcp_v4_check(ipl - ihl, in tcf_csum_ipv4_tcp()
229 unsigned int ipl) in tcf_csum_ipv6_tcp() argument
237 tcph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*tcph)); in tcf_csum_ipv6_tcp()
243 skb->csum = csum_partial(tcph, ipl - ihl, 0); in tcf_csum_ipv6_tcp()
245 ipl - ihl, IPPROTO_TCP, in tcf_csum_ipv6_tcp()
254 unsigned int ipl, int udplite) in tcf_csum_ipv4_udp() argument
270 udph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*udph)); in tcf_csum_ipv4_udp()
283 skb->csum = csum_partial(udph, ipl - ihl, 0); in tcf_csum_ipv4_udp()
284 else if ((ul >= sizeof(*udph)) && (ul <= ipl - ihl)) in tcf_csum_ipv4_udp()
289 if (ul != ipl - ihl) in tcf_csum_ipv4_udp()
310 unsigned int ipl, int udplite) in tcf_csum_ipv6_udp() argument
326 udph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*udph)); in tcf_csum_ipv6_udp()
337 skb->csum = csum_partial(udph, ipl - ihl, 0); in tcf_csum_ipv6_udp()
339 else if ((ul >= sizeof(*udph)) && (ul <= ipl - ihl)) in tcf_csum_ipv6_udp()
345 if (ul != ipl - ihl) in tcf_csum_ipv6_udp()
365 unsigned int ipl) in tcf_csum_sctp() argument
372 sctph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*sctph)); in tcf_csum_sctp()