FD.io VPP
v16.06
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | lisp_gpe_tunnel_key_t |
struct | lisp_gpe_tunnel_t |
struct | ip6_src_fib |
struct | lisp_gpe_main |
struct | vnet_lisp_gpe_add_del_iface_args_t |
struct | vnet_lisp_gpe_enable_disable_args_t |
struct | vnet_lisp_gpe_add_del_fwd_entry_args_t |
Macros | |
#define | foreach_lisp_gpe_ip_input_next |
#define | lisp_gpe_error(n, s) LISP_GPE_ERROR_##n, |
#define | foreach_lgpe_ip4_lookup_next |
#define | foreach_lgpe_ip6_lookup_next |
Typedefs | |
typedef ip4_fib_t | ip4_src_fib_t |
typedef struct ip6_src_fib | ip6_src_fib_t |
typedef struct lisp_gpe_main | lisp_gpe_main_t |
typedef enum lgpe_ip4_lookup_next | lgpe_ip4_lookup_next_t |
typedef enum lgpe_ip6_lookup_next | lgpe_ip6_lookup_next_t |
Enumerations | |
enum | lisp_gpe_input_next_t { LISP_GPE_INPUT_N_NEXT } |
enum | lisp_gpe_error_t { LISP_GPE_N_ERROR } |
enum | negative_fwd_actions_e { NO_ACTION, FORWARD_NATIVE, SEND_MAP_REQUEST, DROP } |
enum | lgpe_ip4_lookup_next { LGPE_IP4_LOOKUP_N_NEXT } |
enum | lgpe_ip6_lookup_next { LGPE_IP6_LOOKUP_N_NEXT } |
Functions | |
typedef | CLIB_PACKED (struct{ip4_header_t ip4;udp_header_t udp;lisp_gpe_header_t lisp;}) ip4_udp_lisp_gpe_header_t |
typedef | CLIB_PACKED (struct{ip6_header_t ip6;udp_header_t udp;lisp_gpe_header_t lisp;}) ip6_udp_lisp_gpe_header_t |
u8 * | format_lisp_gpe_header_with_length (u8 *s, va_list *args) |
u8 | vnet_lisp_gpe_enable_disable_status (void) |
void | vnet_lisp_gpe_add_del_iface (vnet_lisp_gpe_add_del_iface_args_t *a, u32 *hw_if_indexp) |
clib_error_t * | vnet_lisp_gpe_enable_disable (vnet_lisp_gpe_enable_disable_args_t *a) |
int | vnet_lisp_gpe_add_del_fwd_entry (vnet_lisp_gpe_add_del_fwd_entry_args_t *a, u32 *hw_if_indexp) |
int | ip_sd_fib_add_del_route (lisp_gpe_main_t *lgm, ip_prefix_t *dst_prefix, ip_prefix_t *src_prefix, u32 table_id, ip_adjacency_t *add_adj, u8 is_add) |
u32 | ip_sd_fib_get_route (lisp_gpe_main_t *lgm, ip_prefix_t *dst_prefix, ip_prefix_t *src_prefix, u32 table_id) |
u8 * | format_vnet_lisp_gpe_status (u8 *s, va_list *args) |
Variables | |
lisp_gpe_main_t | lisp_gpe_main |
vlib_node_registration_t | lgpe_ip4_lookup_node |
(constructor) VLIB_REGISTER_NODE (lgpe_ip4_lookup_node) More... | |
vlib_node_registration_t | lgpe_ip6_lookup_node |
(constructor) VLIB_REGISTER_NODE (lgpe_ip6_lookup_node) More... | |
vlib_node_registration_t | lisp_gpe_ip4_input_node |
(constructor) VLIB_REGISTER_NODE (lisp_gpe_ip4_input_node) More... | |
vlib_node_registration_t | lisp_gpe_ip6_input_node |
(constructor) VLIB_REGISTER_NODE (lisp_gpe_ip6_input_node) More... | |
#define foreach_lgpe_ip4_lookup_next |
Definition at line 244 of file lisp_gpe.h.
#define foreach_lgpe_ip6_lookup_next |
Definition at line 256 of file lisp_gpe.h.
#define foreach_lisp_gpe_ip_input_next |
Definition at line 84 of file lisp_gpe.h.
#define lisp_gpe_error | ( | n, | |
s | |||
) | LISP_GPE_ERROR_##n, |
Definition at line 98 of file lisp_gpe.h.
typedef ip4_fib_t ip4_src_fib_t |
Definition at line 107 of file lisp_gpe.h.
typedef struct ip6_src_fib ip6_src_fib_t |
typedef enum lgpe_ip4_lookup_next lgpe_ip4_lookup_next_t |
typedef enum lgpe_ip6_lookup_next lgpe_ip6_lookup_next_t |
typedef struct lisp_gpe_main lisp_gpe_main_t |
enum lgpe_ip4_lookup_next |
Enumerator | |
---|---|
LGPE_IP4_LOOKUP_N_NEXT |
Definition at line 248 of file lisp_gpe.h.
enum lgpe_ip6_lookup_next |
Enumerator | |
---|---|
LGPE_IP6_LOOKUP_N_NEXT |
Definition at line 260 of file lisp_gpe.h.
enum lisp_gpe_error_t |
Enumerator | |
---|---|
LISP_GPE_N_ERROR |
Definition at line 97 of file lisp_gpe.h.
Enumerator | |
---|---|
LISP_GPE_INPUT_N_NEXT |
Definition at line 90 of file lisp_gpe.h.
Enumerator | |
---|---|
NO_ACTION | |
FORWARD_NATIVE | |
SEND_MAP_REQUEST | |
DROP |
Definition at line 195 of file lisp_gpe.h.
typedef CLIB_PACKED | ( | struct{ip4_header_t ip4;udp_header_t udp;lisp_gpe_header_t lisp;} | ) |
typedef CLIB_PACKED | ( | struct{ip6_header_t ip6;udp_header_t udp;lisp_gpe_header_t lisp;} | ) |
Definition at line 326 of file interface.c.
Definition at line 581 of file lisp_gpe.c.
int ip_sd_fib_add_del_route | ( | lisp_gpe_main_t * | lgm, |
ip_prefix_t * | dst_prefix, | ||
ip_prefix_t * | src_prefix, | ||
u32 | table_id, | ||
ip_adjacency_t * | add_adj, | ||
u8 | is_add | ||
) |
Definition at line 666 of file ip_forward.c.
u32 ip_sd_fib_get_route | ( | lisp_gpe_main_t * | lgm, |
ip_prefix_t * | dst_prefix, | ||
ip_prefix_t * | src_prefix, | ||
u32 | table_id | ||
) |
Definition at line 679 of file ip_forward.c.
int vnet_lisp_gpe_add_del_fwd_entry | ( | vnet_lisp_gpe_add_del_fwd_entry_args_t * | a, |
u32 * | hw_if_indexp | ||
) |
Definition at line 214 of file lisp_gpe.c.
void vnet_lisp_gpe_add_del_iface | ( | vnet_lisp_gpe_add_del_iface_args_t * | a, |
u32 * | hw_if_indexp | ||
) |
Definition at line 484 of file interface.c.
clib_error_t* vnet_lisp_gpe_enable_disable | ( | vnet_lisp_gpe_enable_disable_args_t * | a | ) |
Definition at line 444 of file lisp_gpe.c.
vlib_node_registration_t lgpe_ip4_lookup_node |
(constructor) VLIB_REGISTER_NODE (lgpe_ip4_lookup_node)
Definition at line 912 of file ip_forward.c.
vlib_node_registration_t lgpe_ip6_lookup_node |
(constructor) VLIB_REGISTER_NODE (lgpe_ip6_lookup_node)
Definition at line 1129 of file ip_forward.c.
vlib_node_registration_t lisp_gpe_ip4_input_node |
vlib_node_registration_t lisp_gpe_ip6_input_node |
Definition at line 164 of file lisp_gpe.h.