Home
last modified time | relevance | path

Searched refs:XFRM_ALIGN8 (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/net/ipv4/
Dah4.c218 ah->hdrlen = (XFRM_ALIGN8(sizeof(*ah) + ahp->icv_trunc_len) >> 2) - 2; in ah_output()
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()
523 x->props.header_len = XFRM_ALIGN8(sizeof(struct ip_auth_hdr) + in ah_init_state()
/Linux-v5.4/net/ipv6/
Dah6.c409 ah->hdrlen = (XFRM_ALIGN8(sizeof(*ah) + ahp->icv_trunc_len) >> 2) - 2; in ah6_output()
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()
716 x->props.header_len = XFRM_ALIGN8(sizeof(struct ip_auth_hdr) + in ah6_init_state()
/Linux-v5.4/include/net/
Dxfrm.h43 #define XFRM_ALIGN8(len) (((len) + 7) & ~7) macro