FD.io VPP  v17.10-9-gd594711
Vector Packet Processing
lisp_gpe_tunnel.h File Reference

Common utility functions for IPv4, IPv6 and L2 LISP-GPE tunnels. More...

+ Include dependency graph for lisp_gpe_tunnel.h:
+ This graph shows which files directly or indirectly include this file:

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_tlisp_gpe_tunnel_get (index_t lgti)
 
u8lisp_gpe_tunnel_build_rewrite (const lisp_gpe_tunnel_t *lgt, const struct lisp_gpe_adjacency_t_ *ladj, lisp_gpe_next_protocol_e payload_proto)
 
u8format_lisp_gpe_tunnel (u8 *s, va_list *args)
 Format LISP-GPE tunnel. More...
 

Detailed Description

Common utility functions for IPv4, IPv6 and L2 LISP-GPE tunnels.

Definition in file lisp_gpe_tunnel.h.

Typedef Documentation

A Key for a tunnel.

A LISP GPE Tunnel.

A tunnel represents an associatation between a local and remote RLOC. As such it represents a unique LISP rewrite.

Function Documentation

u8* format_lisp_gpe_tunnel ( u8 s,
va_list *  args 
)

Format LISP-GPE tunnel.

Definition at line 217 of file lisp_gpe_tunnel.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const lisp_gpe_tunnel_t* lisp_gpe_tunnel_get ( index_t  lgti)

Definition at line 210 of file lisp_gpe_tunnel.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void lisp_gpe_tunnel_unlock ( index_t  lgti)

Definition at line 194 of file lisp_gpe_tunnel.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: