FD.io VPP  v18.07-rc0-415-g6c78436
Vector Packet Processing
sixrd.h File Reference
+ Include dependency graph for sixrd.h:

Go to the source code of this file.

Macros

#define SIXRD_DEFAULT_MTU   1480 /* 1500 - IPv4 header */
 
#define foreach_sixrd_error
 

Enumerations

enum  sixrd_error_t { SIXRD_N_ERROR }
 

Functions

static_always_inline sixrd_tunnel_t * find_tunnel_by_ip4_address (ip4_address_t *ip)
 
static_always_inline sixrd_tunnel_t * ip4_sixrd_get_tunnel (u32 sdi, ip4_address_t *addr, u8 *error)
 

Variables

sixrd_main_t sixrd_main
 

Macro Definition Documentation

#define foreach_sixrd_error
Value:
/* Must be first. */ \
_(NONE, "valid SIXRD packets") \
_(BAD_PROTOCOL, "bad protocol") \
_(SEC_CHECK, "security check failed") \
_(NO_TUNNEL, "no tunnel")

Definition at line 25 of file sixrd.h.

#define SIXRD_DEFAULT_MTU   1480 /* 1500 - IPv4 header */

Definition at line 23 of file sixrd.h.

Enumeration Type Documentation

Enumerator
SIXRD_N_ERROR 

Definition at line 33 of file sixrd.h.

Function Documentation

static_always_inline sixrd_tunnel_t* find_tunnel_by_ip4_address ( ip4_address_t ip)

Definition at line 44 of file sixrd.h.

+ Here is the caller graph for this function:

static_always_inline sixrd_tunnel_t* ip4_sixrd_get_tunnel ( u32  sdi,
ip4_address_t addr,
u8 error 
)

Definition at line 55 of file sixrd.h.

+ Here is the call graph for this function:

Variable Documentation

sixrd_main_t sixrd_main