Home
last modified time | relevance | path

Searched refs:nhlen (Results 1 – 2 of 2) sorted by relevance

/linux/include/net/
H A Dip_tunnels.h445 int nhlen; in pskb_inet_may_pull_reason() local
450 nhlen = sizeof(struct ipv6hdr); in pskb_inet_may_pull_reason()
454 nhlen = sizeof(struct iphdr); in pskb_inet_may_pull_reason()
457 nhlen = 0; in pskb_inet_may_pull_reason()
460 return pskb_network_may_pull_reason(skb, nhlen); in pskb_inet_may_pull_reason()
473 int nhlen = 0, maclen = inner_proto_inherit ? 0 : ETH_HLEN; in skb_vlan_inet_prepare() local
486 nhlen = sizeof(struct ipv6hdr); in skb_vlan_inet_prepare()
490 nhlen = sizeof(struct iphdr); in skb_vlan_inet_prepare()
496 reason = pskb_may_pull_reason(skb, maclen + nhlen); in skb_vlan_inet_prepare()
/linux/net/ipv6/
H A Dxfrm6_input.c46 int nhlen = -skb_network_offset(skb); in xfrm6_transport_finish() local
56 __skb_push(skb, nhlen); in xfrm6_transport_finish()
58 skb_postpush_rcsum(skb, skb_network_header(skb), nhlen); in xfrm6_transport_finish()