vl_api_wireguard_peer_flags_t flags
static_always_inline void adj_midchain_fixup(vlib_main_t *vm, const ip_adjacency_t *adj, vlib_buffer_t *b)
static uword vlib_buffer_length_in_chain(vlib_main_t *vm, vlib_buffer_t *b)
Get length in bytes of the buffer chain.
#define static_always_inline
this adj performs IP4 over IP4 fixup
struct ip_adjacency_t_::@149::@151 midchain
IP_LOOKUP_NEXT_MIDCHAIN.
union ip_adjacency_t_::@149 sub_type
static void * vlib_buffer_get_current(vlib_buffer_t *b)
Get pointer to current data to process.
enum tunnel_encap_decap_flags_t_ tunnel_encap_decap_flags_t
static_always_inline void tunnel_encap_fixup_4o4(tunnel_encap_decap_flags_t flags, const ip4_header_t *inner, ip4_header_t *outer)
static uword pointer_to_uword(const void *p)
static_always_inline void adj_midchain_ipip44_fixup(vlib_main_t *vm, const ip_adjacency_t *adj, vlib_buffer_t *b)
VLIB buffer representation.
#define ip_csum_update(sum, old, new, type, field)
static u16 ip4_header_checksum(ip4_header_t *i)
static u16 ip_csum_fold(ip_csum_t c)