FD.io VPP
v17.10-9-gd594711
Vector Packet Processing
|
Common utility functions for IPv4, IPv6 and L2 LISP-GPE tunnels. More...
Go to the source code of this file.
Data Structures | |
struct | lisp_gpe_tunnel_key_t_ |
A Key for a tunnel. More... | |
struct | lisp_gpe_tunnel_t_ |
A LISP GPE Tunnel. More... | |
Typedefs | |
typedef struct lisp_gpe_tunnel_key_t_ | lisp_gpe_tunnel_key_t |
A Key for a tunnel. More... | |
typedef struct lisp_gpe_tunnel_t_ | lisp_gpe_tunnel_t |
A LISP GPE Tunnel. More... | |
Functions | |
index_t | lisp_gpe_tunnel_find_or_create_and_lock (const locator_pair_t *pair, u32 rloc_fib_index) |
void | lisp_gpe_tunnel_unlock (index_t lgti) |
const lisp_gpe_tunnel_t * | lisp_gpe_tunnel_get (index_t lgti) |
u8 * | lisp_gpe_tunnel_build_rewrite (const lisp_gpe_tunnel_t *lgt, const struct lisp_gpe_adjacency_t_ *ladj, lisp_gpe_next_protocol_e payload_proto) |
u8 * | format_lisp_gpe_tunnel (u8 *s, va_list *args) |
Format LISP-GPE tunnel. More... | |
Common utility functions for IPv4, IPv6 and L2 LISP-GPE tunnels.
Definition in file lisp_gpe_tunnel.h.
typedef struct lisp_gpe_tunnel_key_t_ lisp_gpe_tunnel_key_t |
A Key for a tunnel.
typedef struct lisp_gpe_tunnel_t_ lisp_gpe_tunnel_t |
A LISP GPE Tunnel.
A tunnel represents an associatation between a local and remote RLOC. As such it represents a unique LISP rewrite.
Format LISP-GPE tunnel.
Definition at line 217 of file lisp_gpe_tunnel.c.
u8* lisp_gpe_tunnel_build_rewrite | ( | const lisp_gpe_tunnel_t * | lgt, |
const struct lisp_gpe_adjacency_t_ * | ladj, | ||
lisp_gpe_next_protocol_e | payload_proto | ||
) |
index_t lisp_gpe_tunnel_find_or_create_and_lock | ( | const locator_pair_t * | pair, |
u32 | rloc_fib_index | ||
) |
Definition at line 148 of file lisp_gpe_tunnel.c.
const lisp_gpe_tunnel_t* lisp_gpe_tunnel_get | ( | index_t | lgti | ) |
Definition at line 210 of file lisp_gpe_tunnel.c.
void lisp_gpe_tunnel_unlock | ( | index_t | lgti | ) |
Definition at line 194 of file lisp_gpe_tunnel.c.