Lines Matching refs:ipl

134 				    unsigned int ihl, unsigned int ipl,  in tcf_csum_skb_nextlayer()  argument
140 if (!pskb_may_pull(skb, ipl + ntkoff) || (ipl < hl) || in tcf_csum_skb_nextlayer()
148 unsigned int ipl) in tcf_csum_ipv4_icmp() argument
152 icmph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*icmph)); in tcf_csum_ipv4_icmp()
157 skb->csum = csum_partial(icmph, ipl - ihl, 0); in tcf_csum_ipv4_icmp()
166 unsigned int ihl, unsigned int ipl) in tcf_csum_ipv4_igmp() argument
170 igmph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*igmph)); in tcf_csum_ipv4_igmp()
175 skb->csum = csum_partial(igmph, ipl - ihl, 0); in tcf_csum_ipv4_igmp()
184 unsigned int ipl) in tcf_csum_ipv6_icmp() argument
189 icmp6h = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*icmp6h)); in tcf_csum_ipv6_icmp()
195 skb->csum = csum_partial(icmp6h, ipl - ihl, 0); in tcf_csum_ipv6_icmp()
197 ipl - ihl, IPPROTO_ICMPV6, in tcf_csum_ipv6_icmp()
206 unsigned int ipl) in tcf_csum_ipv4_tcp() argument
214 tcph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*tcph)); in tcf_csum_ipv4_tcp()
220 skb->csum = csum_partial(tcph, ipl - ihl, 0); in tcf_csum_ipv4_tcp()
221 tcph->check = tcp_v4_check(ipl - ihl, in tcf_csum_ipv4_tcp()
230 unsigned int ipl) in tcf_csum_ipv6_tcp() argument
238 tcph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*tcph)); in tcf_csum_ipv6_tcp()
244 skb->csum = csum_partial(tcph, ipl - ihl, 0); in tcf_csum_ipv6_tcp()
246 ipl - ihl, IPPROTO_TCP, in tcf_csum_ipv6_tcp()
255 unsigned int ipl, int udplite) in tcf_csum_ipv4_udp() argument
271 udph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*udph)); in tcf_csum_ipv4_udp()
284 skb->csum = csum_partial(udph, ipl - ihl, 0); in tcf_csum_ipv4_udp()
285 else if ((ul >= sizeof(*udph)) && (ul <= ipl - ihl)) in tcf_csum_ipv4_udp()
290 if (ul != ipl - ihl) in tcf_csum_ipv4_udp()
311 unsigned int ipl, int udplite) in tcf_csum_ipv6_udp() argument
327 udph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*udph)); in tcf_csum_ipv6_udp()
338 skb->csum = csum_partial(udph, ipl - ihl, 0); in tcf_csum_ipv6_udp()
340 else if ((ul >= sizeof(*udph)) && (ul <= ipl - ihl)) in tcf_csum_ipv6_udp()
346 if (ul != ipl - ihl) in tcf_csum_ipv6_udp()
366 unsigned int ipl) in tcf_csum_sctp() argument
373 sctph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*sctph)); in tcf_csum_sctp()