Lines Matching defs:ipl

126  * @ipl: complete packet length
133 unsigned int ihl, unsigned int ipl,
139 if (!pskb_may_pull(skb, ipl + ntkoff) || (ipl < hl) ||
147 unsigned int ipl)
151 icmph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*icmph));
156 skb->csum = csum_partial(icmph, ipl - ihl, 0);
165 unsigned int ihl, unsigned int ipl)
169 igmph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*igmph));
174 skb->csum = csum_partial(igmph, ipl - ihl, 0);
183 unsigned int ipl)
188 icmp6h = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*icmp6h));
194 skb->csum = csum_partial(icmp6h, ipl - ihl, 0);
196 ipl - ihl, IPPROTO_ICMPV6,
205 unsigned int ipl)
213 tcph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*tcph));
219 skb->csum = csum_partial(tcph, ipl - ihl, 0);
220 tcph->check = tcp_v4_check(ipl - ihl,
229 unsigned int ipl)
237 tcph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*tcph));
243 skb->csum = csum_partial(tcph, ipl - ihl, 0);
245 ipl - ihl, IPPROTO_TCP,
254 unsigned int ipl, int udplite)
267 * Use iph->tot_len, or just ipl.
270 udph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*udph));
283 skb->csum = csum_partial(udph, ipl - ihl, 0);
284 else if ((ul >= sizeof(*udph)) && (ul <= ipl - ihl))
289 if (ul != ipl - ihl)
310 unsigned int ipl, int udplite)
323 * Use ip6h->payload_len + sizeof(*ip6h) ... , or just ipl.
326 udph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*udph));
337 skb->csum = csum_partial(udph, ipl - ihl, 0);
339 else if ((ul >= sizeof(*udph)) && (ul <= ipl - ihl))
345 if (ul != ipl - ihl)
365 unsigned int ipl)
372 sctph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*sctph));