![]() |
FD.io VPP
v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
|
Include dependency graph for gbp_vxlan.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Data Structures | |
| struct | gbp_vxlan_tunnel_t_ |
| GBP VXLAN (template) tunnel. More... | |
Macros | |
| #define | forecah_gbp_vxlan_tunnel_layer |
Typedefs | |
| typedef enum gbp_vxlan_tunnel_layer_t_ | gbp_vxlan_tunnel_layer_t |
| typedef struct gbp_vxlan_tunnel_t_ | gbp_vxlan_tunnel_t |
| GBP VXLAN (template) tunnel. More... | |
| typedef enum gbp_vxlan_tunnel_type_t_ | gbp_vxlan_tunnel_type_t |
| The different types of interfaces that endpoints are learned on. More... | |
| typedef walk_rc_t(* | gbp_vxlan_cb_t) (gbp_vxlan_tunnel_t *gt, void *ctx) |
Enumerations | |
| enum | gbp_vxlan_tunnel_layer_t_ { forecah_gbp_vxlan_tunnel_layer } |
| enum | gbp_vxlan_tunnel_type_t_ { GBP_VXLAN_TEMPLATE_TUNNEL, VXLAN_GBP_TUNNEL } |
| The different types of interfaces that endpoints are learned on. More... | |
Functions | |
| int | gbp_vxlan_tunnel_add (u32 vni, gbp_vxlan_tunnel_layer_t layer, u32 bd_rd_id, const ip4_address_t *src, u32 *sw_if_indexp) |
| int | gbp_vxlan_tunnel_del (u32 vni) |
| gbp_vxlan_tunnel_type_t | gbp_vxlan_tunnel_get_type (u32 sw_if_index) |
| u32 | gbp_vxlan_tunnel_clone_and_lock (u32 parent_tunnel, const ip46_address_t *src, const ip46_address_t *dst) |
| void | vxlan_gbp_tunnel_lock (u32 sw_if_index) |
| void | vxlan_gbp_tunnel_unlock (u32 sw_if_index) |
| u32 | vxlan_gbp_tunnel_get_parent (u32 sw_if_index) |
| void | gbp_vxlan_walk (gbp_vxlan_cb_t cb, void *ctx) |
| u8 * | format_gbp_vxlan_tunnel (u8 *s, va_list *args) |
| u8 * | format_gbp_vxlan_tunnel_layer (u8 *s, va_list *args) |
| gbp_vxlan_tunnel_t * | gbp_vxlan_tunnel_get (index_t gti) |
| #define forecah_gbp_vxlan_tunnel_layer |
Definition at line 21 of file gbp_vxlan.h.
| typedef walk_rc_t(* gbp_vxlan_cb_t) (gbp_vxlan_tunnel_t *gt, void *ctx) |
Definition at line 126 of file gbp_vxlan.h.
| typedef enum gbp_vxlan_tunnel_layer_t_ gbp_vxlan_tunnel_layer_t |
| typedef struct gbp_vxlan_tunnel_t_ gbp_vxlan_tunnel_t |
GBP VXLAN (template) tunnel.
A template tunnel has only a VNI, it does not have src,dst address. As such it cannot be used to send traffic. It is used in the RX path to RX vxlan-gbp packets that do not match an existing tunnel;
| typedef enum gbp_vxlan_tunnel_type_t_ gbp_vxlan_tunnel_type_t |
The different types of interfaces that endpoints are learned on.
| Enumerator | |
|---|---|
| forecah_gbp_vxlan_tunnel_layer | |
Definition at line 25 of file gbp_vxlan.h.
The different types of interfaces that endpoints are learned on.
Definition at line 95 of file gbp_vxlan.h.
Definition at line 370 of file gbp_vxlan.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 361 of file gbp_vxlan.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int gbp_vxlan_tunnel_add | ( | u32 | vni, |
| gbp_vxlan_tunnel_layer_t | layer, | ||
| u32 | bd_rd_id, | ||
| const ip4_address_t * | src, | ||
| u32 * | sw_if_indexp | ||
| ) |
Definition at line 468 of file gbp_vxlan.c.
Here is the call graph for this function:
Here is the caller graph for this function:| u32 gbp_vxlan_tunnel_clone_and_lock | ( | u32 | parent_tunnel, |
| const ip46_address_t * | src, | ||
| const ip46_address_t * | dst | ||
| ) |
Definition at line 239 of file gbp_vxlan.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int gbp_vxlan_tunnel_del | ( | u32 | vni | ) |
Definition at line 596 of file gbp_vxlan.c.
Here is the call graph for this function:
Here is the caller graph for this function:| gbp_vxlan_tunnel_t* gbp_vxlan_tunnel_get | ( | index_t | gti | ) |
| gbp_vxlan_tunnel_type_t gbp_vxlan_tunnel_get_type | ( | u32 | sw_if_index | ) |
| void gbp_vxlan_walk | ( | gbp_vxlan_cb_t | cb, |
| void * | ctx | ||
| ) |
Definition at line 206 of file gbp_vxlan.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void vxlan_gbp_tunnel_lock | ( | u32 | sw_if_index | ) |
Definition at line 316 of file gbp_vxlan.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void vxlan_gbp_tunnel_unlock | ( | u32 | sw_if_index | ) |
Definition at line 297 of file gbp_vxlan.c.
Here is the call graph for this function:
Here is the caller graph for this function: