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()
184 int phlen; in xfrm4_remove_beet_encap() local191 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()