Lines Matching defs:ipl

127  * @ipl: complete packet length
134 unsigned int ihl, unsigned int ipl,
140 if (!pskb_may_pull(skb, ipl + ntkoff) || (ipl < hl) ||
148 unsigned int ipl)
152 icmph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*icmph));
157 skb->csum = csum_partial(icmph, ipl - ihl, 0);
166 unsigned int ihl, unsigned int ipl)
170 igmph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*igmph));
175 skb->csum = csum_partial(igmph, ipl - ihl, 0);
184 unsigned int ipl)
189 icmp6h = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*icmp6h));
195 skb->csum = csum_partial(icmp6h, ipl - ihl, 0);
197 ipl - ihl, IPPROTO_ICMPV6,
206 unsigned int ipl)
214 tcph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*tcph));
220 skb->csum = csum_partial(tcph, ipl - ihl, 0);
221 tcph->check = tcp_v4_check(ipl - ihl,
230 unsigned int ipl)
238 tcph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*tcph));
244 skb->csum = csum_partial(tcph, ipl - ihl, 0);
246 ipl - ihl, IPPROTO_TCP,
255 unsigned int ipl, int udplite)
268 * Use iph->tot_len, or just ipl.
271 udph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*udph));
284 skb->csum = csum_partial(udph, ipl - ihl, 0);
285 else if ((ul >= sizeof(*udph)) && (ul <= ipl - ihl))
290 if (ul != ipl - ihl)
311 unsigned int ipl, int udplite)
324 * Use ip6h->payload_len + sizeof(*ip6h) ... , or just ipl.
327 udph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*udph));
338 skb->csum = csum_partial(udph, ipl - ihl, 0);
340 else if ((ul >= sizeof(*udph)) && (ul <= ipl - ihl))
346 if (ul != ipl - ihl)
366 unsigned int ipl)
373 sctph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*sctph));