FD.io VPP  v17.04-9-g99c0734
Vector Packet Processing
l2sess.h File Reference
+ Include dependency graph for l2sess.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  l2s_session_side_t
 
struct  l2s_session_t
 
struct  l2sess_main_t
 

Macros

#define foreach_l2sess_node
 
#define TCP_FLAG_FIN   0x01
 
#define TCP_FLAG_SYN   0x02
 
#define TCP_FLAG_RST   0x04
 
#define TCP_FLAG_PUSH   0x08
 
#define TCP_FLAG_ACK   0x10
 
#define TCP_FLAG_URG   0x20
 
#define TCP_FLAG_ECE   0x40
 
#define TCP_FLAG_CWR   0x80
 
#define TCP_FLAGS_RSTFINACKSYN   (TCP_FLAG_RST + TCP_FLAG_FIN + TCP_FLAG_SYN + TCP_FLAG_ACK)
 
#define TCP_FLAGS_ACKSYN   (TCP_FLAG_SYN + TCP_FLAG_ACK)
 
#define PROD
 
#define UDP_SESSION_IDLE_TIMEOUT_SEC   600
 
#define TCP_SESSION_IDLE_TIMEOUT_SEC   (3600*24)
 
#define TCP_SESSION_TRANSIENT_TIMEOUT_SEC   120
 

Enumerations

enum  { L2S_SESSION_SIDE_IN = 0, L2S_SESSION_SIDE_OUT, L2S_N_SESSION_SIDES }
 

Functions

void l2sess_vlib_plugin_register (vlib_main_t *vm, void *hh, int from_early_init)
 

Variables

l2sess_main_t l2sess_main
 

Macro Definition Documentation

#define foreach_l2sess_node
Value:
_("aclp-l2s-input-ip4-add", l2sess_in_ip4_add, 0, 0, 0) \
_("aclp-l2s-input-ip6-add", l2sess_in_ip6_add, 0, 1, 0) \
_("aclp-l2s-output-ip4-add", l2sess_out_ip4_add, 1, 0, 0) \
_("aclp-l2s-output-ip6-add", l2sess_out_ip6_add, 1, 1, 0) \
_("aclp-l2s-input-ip4-track", l2sess_in_ip4_track, 0, 0, 1) \
_("aclp-l2s-input-ip6-track", l2sess_in_ip6_track, 0, 1, 1) \
_("aclp-l2s-output-ip4-track",l2sess_out_ip4_track, 1, 0, 1) \
_("aclp-l2s-output-ip6-track", l2sess_out_ip6_track, 1, 1, 1)

Definition at line 32 of file l2sess.h.

#define PROD

Definition at line 80 of file l2sess.h.

#define TCP_FLAG_ACK   0x10

Definition at line 51 of file l2sess.h.

#define TCP_FLAG_CWR   0x80

Definition at line 54 of file l2sess.h.

#define TCP_FLAG_ECE   0x40

Definition at line 53 of file l2sess.h.

#define TCP_FLAG_FIN   0x01

Definition at line 47 of file l2sess.h.

#define TCP_FLAG_PUSH   0x08

Definition at line 50 of file l2sess.h.

#define TCP_FLAG_RST   0x04

Definition at line 49 of file l2sess.h.

#define TCP_FLAG_SYN   0x02

Definition at line 48 of file l2sess.h.

#define TCP_FLAG_URG   0x20

Definition at line 52 of file l2sess.h.

#define TCP_FLAGS_ACKSYN   (TCP_FLAG_SYN + TCP_FLAG_ACK)

Definition at line 56 of file l2sess.h.

#define TCP_FLAGS_RSTFINACKSYN   (TCP_FLAG_RST + TCP_FLAG_FIN + TCP_FLAG_SYN + TCP_FLAG_ACK)

Definition at line 55 of file l2sess.h.

#define TCP_SESSION_IDLE_TIMEOUT_SEC   (3600*24)

Definition at line 83 of file l2sess.h.

#define TCP_SESSION_TRANSIENT_TIMEOUT_SEC   120

Definition at line 84 of file l2sess.h.

#define UDP_SESSION_IDLE_TIMEOUT_SEC   600

Definition at line 82 of file l2sess.h.

Enumeration Type Documentation

anonymous enum
Enumerator
L2S_SESSION_SIDE_IN 
L2S_SESSION_SIDE_OUT 
L2S_N_SESSION_SIDES 

Definition at line 66 of file l2sess.h.

Function Documentation

void l2sess_vlib_plugin_register ( vlib_main_t vm,
void *  hh,
int  from_early_init 
)

Variable Documentation

l2sess_main_t l2sess_main

Definition at line 139 of file l2sess.h.