FD.io VPP  v19.08.1-401-g8e4ed521a
Vector Packet Processing
ipsec_if.h File Reference
+ Include dependency graph for ipsec_if.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ipsec_tunnel_if_t
 
struct  ipsec_add_del_tunnel_args_t
 

Functions

typedef CLIB_PACKED (struct { union { struct { ip4_address_t remote_ip;u32 spi;};u64 as_u64;};}) ipsec4_tunnel_key_t
 
typedef CLIB_PACKED (struct { ip6_address_t remote_ip;u32 spi;}) ipsec6_tunnel_key_t
 
u8format_ipsec4_tunnel_key (u8 *s, va_list *args)
 
u8format_ipsec6_tunnel_key (u8 *s, va_list *args)
 
int ipsec_add_del_tunnel_if_internal (vnet_main_t *vnm, ipsec_add_del_tunnel_args_t *args, u32 *sw_if_index)
 
int ipsec_add_del_tunnel_if (ipsec_add_del_tunnel_args_t *args)
 
int ipsec_set_interface_sa (vnet_main_t *vnm, u32 hw_if_index, u32 sa_id, u8 is_outbound)
 
u8format_ipsec_tunnel (u8 *s, va_list *args)
 

Function Documentation

◆ CLIB_PACKED() [1/2]

typedef CLIB_PACKED ( struct { union { struct { ip4_address_t remote_ip;u32 spi;};u64 as_u64;};}  )

◆ CLIB_PACKED() [2/2]

typedef CLIB_PACKED ( struct { ip6_address_t remote_ip;u32 spi;}  )

◆ format_ipsec4_tunnel_key()

u8* format_ipsec4_tunnel_key ( u8 s,
va_list *  args 
)

Definition at line 406 of file ipsec_format.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ format_ipsec6_tunnel_key()

u8* format_ipsec6_tunnel_key ( u8 s,
va_list *  args 
)

Definition at line 419 of file ipsec_format.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ format_ipsec_tunnel()

u8* format_ipsec_tunnel ( u8 s,
va_list *  args 
)

Definition at line 338 of file ipsec_format.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ipsec_add_del_tunnel_if()

int ipsec_add_del_tunnel_if ( ipsec_add_del_tunnel_args_t args)

Definition at line 214 of file ipsec_if.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ipsec_add_del_tunnel_if_internal()

int ipsec_add_del_tunnel_if_internal ( vnet_main_t vnm,
ipsec_add_del_tunnel_args_t args,
u32 sw_if_index 
)

Definition at line 269 of file ipsec_if.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ipsec_set_interface_sa()

int ipsec_set_interface_sa ( vnet_main_t vnm,
u32  hw_if_index,
u32  sa_id,
u8  is_outbound 
)

Definition at line 454 of file ipsec_if.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: