FD.io VPP  v20.01-48-g3e0dafb74
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

◆ foreach_sixrd_error

#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.

◆ SIXRD_DEFAULT_MTU

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

Definition at line 23 of file sixrd.h.

Enumeration Type Documentation

◆ sixrd_error_t

Enumerator
SIXRD_N_ERROR 

Definition at line 33 of file sixrd.h.

Function Documentation

◆ find_tunnel_by_ip4_address()

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:

◆ ip4_sixrd_get_tunnel()

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

sixrd_main_t sixrd_main