Lines Matching refs:hdr_len
167 int hdr_len; in xfrm6_transport_output() local
172 hdr_len = xfrm6_hdr_offset(x, skb, &prevhdr); in xfrm6_transport_output()
173 if (hdr_len < 0) in xfrm6_transport_output()
174 return hdr_len; in xfrm6_transport_output()
178 skb->transport_header = skb->network_header + hdr_len; in xfrm6_transport_output()
179 __skb_pull(skb, hdr_len); in xfrm6_transport_output()
180 memmove(ipv6_hdr(skb), iph, hdr_len); in xfrm6_transport_output()
198 int hdr_len; in xfrm6_ro_output() local
202 hdr_len = xfrm6_hdr_offset(x, skb, &prevhdr); in xfrm6_ro_output()
203 if (hdr_len < 0) in xfrm6_ro_output()
204 return hdr_len; in xfrm6_ro_output()
208 skb->transport_header = skb->network_header + hdr_len; in xfrm6_ro_output()
209 __skb_pull(skb, hdr_len); in xfrm6_ro_output()
210 memmove(ipv6_hdr(skb), iph, hdr_len); in xfrm6_ro_output()
359 int optlen, hdr_len; in xfrm6_beet_encap_add() local
361 hdr_len = 0; in xfrm6_beet_encap_add()
364 hdr_len += IPV4_BEET_PHMAXLEN - (optlen & 4); in xfrm6_beet_encap_add()
366 skb_set_network_header(skb, -x->props.header_len - hdr_len); in xfrm6_beet_encap_add()
372 ph = __skb_pull(skb, XFRM_MODE_SKB_CB(skb)->ihl - hdr_len); in xfrm6_beet_encap_add()