23 #define SIXRD_DEFAULT_MTU 1480 25 #define foreach_sixrd_error \ 27 _(NONE, "valid SIXRD packets") \ 28 _(BAD_PROTOCOL, "bad protocol") \ 29 _(SEC_CHECK, "security check failed") \ 30 _(NO_TUNNEL, "no tunnel") 35 #define _(sym, str) SIXRD_ERROR_##sym, 60 *error = SIXRD_ERROR_NO_TUNNEL;
static_always_inline sixrd_tunnel_t * find_tunnel_by_ip4_address(ip4_address_t *ip)
#define static_always_inline
#define pool_elt_at_index(p, i)
Returns pointer to element at given index.
#define foreach_sixrd_error
static_always_inline sixrd_tunnel_t * ip4_sixrd_get_tunnel(u32 sdi, ip4_address_t *addr, u8 *error)