Home
last modified time | relevance | path

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

/linux-6.1.9/net/xfrm/
Dxfrm_device.c51 int phlen = 0; in __xfrm_mode_beet_prep() local
58 phlen = IPV4_BEET_PHMAXLEN; in __xfrm_mode_beet_prep()
60 phlen += sizeof(struct ipv6hdr) - sizeof(struct iphdr); in __xfrm_mode_beet_prep()
63 pskb_pull(skb, skb->mac_len + hsize + (x->props.header_len - phlen)); in __xfrm_mode_beet_prep()
Dxfrm_input.c184 int phlen; in xfrm4_remove_beet_encap() local
191 phlen = sizeof(*ph) + ph->padlen; in xfrm4_remove_beet_encap()
192 optlen = ph->hdrlen * 8 + (IPV4_BEET_PHMAXLEN - phlen); in xfrm4_remove_beet_encap()
198 if (!pskb_may_pull(skb, phlen)) in xfrm4_remove_beet_encap()
200 __skb_pull(skb, phlen); in xfrm4_remove_beet_encap()