Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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.c182 int phlen; in xfrm4_remove_beet_encap() local
189 phlen = sizeof(*ph) + ph->padlen; in xfrm4_remove_beet_encap()
190 optlen = ph->hdrlen * 8 + (IPV4_BEET_PHMAXLEN - phlen); in xfrm4_remove_beet_encap()
196 if (!pskb_may_pull(skb, phlen)) in xfrm4_remove_beet_encap()
198 __skb_pull(skb, phlen); in xfrm4_remove_beet_encap()