Searched refs:phlen (Results 1 – 2 of 2) sorted by relevance
51 int phlen = 0; in __xfrm_mode_beet_prep() local58 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()
182 int phlen; in xfrm4_remove_beet_encap() local189 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()