Home
last modified time | relevance | path

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

/Linux-v5.10/net/ipv4/
Dah4.c275 int ah_hlen = (ah->hdrlen + 2) << 2; in ah_input_done() local
290 skb->network_header += ah_hlen; in ah_input_done()
292 __skb_pull(skb, ah_hlen + ihl); in ah_input_done()
305 int ah_hlen; in ah_input() local
332 ah_hlen = (ah->hdrlen + 2) << 2; in ah_input()
335 if (ah_hlen != XFRM_ALIGN4(sizeof(*ah) + ahp->icv_full_len) && in ah_input()
336 ah_hlen != XFRM_ALIGN4(sizeof(*ah) + ahp->icv_trunc_len)) in ah_input()
339 if (ah_hlen != XFRM_ALIGN8(sizeof(*ah) + ahp->icv_full_len) && in ah_input()
340 ah_hlen != XFRM_ALIGN8(sizeof(*ah) + ahp->icv_trunc_len)) in ah_input()
344 if (!pskb_may_pull(skb, ah_hlen)) in ah_input()
[all …]
/Linux-v5.10/net/ipv6/
Dah6.c467 int ah_hlen = ipv6_authlen(ah); in ah6_input_done() local
482 skb->network_header += ah_hlen; in ah6_input_done()
484 __skb_pull(skb, ah_hlen + hdr_len); in ah6_input_done()
524 u16 ah_hlen; in ah6_input() local
549 ah_hlen = ipv6_authlen(ah); in ah6_input()
551 if (ah_hlen != XFRM_ALIGN8(sizeof(*ah) + ahp->icv_full_len) && in ah6_input()
552 ah_hlen != XFRM_ALIGN8(sizeof(*ah) + ahp->icv_trunc_len)) in ah6_input()
555 if (!pskb_may_pull(skb, ah_hlen)) in ah6_input()
629 skb->network_header += ah_hlen; in ah6_input()
631 __skb_pull(skb, ah_hlen + hdr_len); in ah6_input()