Home
last modified time | relevance | path

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

/openbmc/linux/net/mpls/
H A Dmpls_gso.c28 unsigned int mpls_hlen; in mpls_gso_segment() local
34 mpls_hlen = skb_inner_network_header(skb) - skb_network_header(skb); in mpls_gso_segment()
35 if (unlikely(!mpls_hlen || mpls_hlen % MPLS_HLEN)) in mpls_gso_segment()
37 if (unlikely(!pskb_may_pull(skb, mpls_hlen))) in mpls_gso_segment()
44 __skb_pull(skb, mpls_hlen); in mpls_gso_segment()
53 skb_gso_error_unwind(skb, mpls_protocol, mpls_hlen, mac_offset, in mpls_gso_segment()
59 mpls_hlen += mac_len; in mpls_gso_segment()
66 __skb_push(skb, mpls_hlen); in mpls_gso_segment()