Lines Matching refs:ipl

100 				    unsigned int ihl, unsigned int ipl,  in tcf_csum_skb_nextlayer()  argument
106 if (!pskb_may_pull(skb, ipl + ntkoff) || (ipl < hl) || in tcf_csum_skb_nextlayer()
116 unsigned int ihl, unsigned int ipl) in tcf_csum_ipv4_icmp() argument
120 icmph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*icmph)); in tcf_csum_ipv4_icmp()
125 skb->csum = csum_partial(icmph, ipl - ihl, 0); in tcf_csum_ipv4_icmp()
134 unsigned int ihl, unsigned int ipl) in tcf_csum_ipv4_igmp() argument
138 igmph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*igmph)); in tcf_csum_ipv4_igmp()
143 skb->csum = csum_partial(igmph, ipl - ihl, 0); in tcf_csum_ipv4_igmp()
152 unsigned int ihl, unsigned int ipl) in tcf_csum_ipv6_icmp() argument
157 icmp6h = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*icmp6h)); in tcf_csum_ipv6_icmp()
163 skb->csum = csum_partial(icmp6h, ipl - ihl, 0); in tcf_csum_ipv6_icmp()
165 ipl - ihl, IPPROTO_ICMPV6, in tcf_csum_ipv6_icmp()
174 unsigned int ihl, unsigned int ipl) in tcf_csum_ipv4_tcp() argument
179 tcph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*tcph)); in tcf_csum_ipv4_tcp()
185 skb->csum = csum_partial(tcph, ipl - ihl, 0); in tcf_csum_ipv4_tcp()
186 tcph->check = tcp_v4_check(ipl - ihl, in tcf_csum_ipv4_tcp()
195 unsigned int ihl, unsigned int ipl) in tcf_csum_ipv6_tcp() argument
200 tcph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*tcph)); in tcf_csum_ipv6_tcp()
206 skb->csum = csum_partial(tcph, ipl - ihl, 0); in tcf_csum_ipv6_tcp()
208 ipl - ihl, IPPROTO_TCP, in tcf_csum_ipv6_tcp()
217 unsigned int ihl, unsigned int ipl, int udplite) in tcf_csum_ipv4_udp() argument
230 udph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*udph)); in tcf_csum_ipv4_udp()
243 skb->csum = csum_partial(udph, ipl - ihl, 0); in tcf_csum_ipv4_udp()
244 else if ((ul >= sizeof(*udph)) && (ul <= ipl - ihl)) in tcf_csum_ipv4_udp()
249 if (ul != ipl - ihl) in tcf_csum_ipv4_udp()
270 unsigned int ihl, unsigned int ipl, int udplite) in tcf_csum_ipv6_udp() argument
283 udph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*udph)); in tcf_csum_ipv6_udp()
294 skb->csum = csum_partial(udph, ipl - ihl, 0); in tcf_csum_ipv6_udp()
296 else if ((ul >= sizeof(*udph)) && (ul <= ipl - ihl)) in tcf_csum_ipv6_udp()
302 if (ul != ipl - ihl) in tcf_csum_ipv6_udp()