28 unsigned char auth_data[0];
36 }) ip4_and_ah_header_t;
43 }) ip6_and_ah_header_t;
49 ASSERT (0 == is_ipv6 || 1 == is_ipv6);
52 return (req_multiple - total_size % req_multiple) % req_multiple;
static u8 ah_calc_icv_padding_len(u8 icv_size, int is_ipv6)
typedef CLIB_PACKED(struct { ip4_header_t ip4;ah_header_t ah;}) ip4_and_ah_header_t