FD.io VPP  v17.01-9-ge7dcee4
Vector Packet Processing
vcgn_db.h File Reference
+ Include dependency graph for vcgn_db.h:

Go to the source code of this file.

Data Structures

struct  cnat_db_key_t
 
union  cnat_key_t
 
struct  cnat_main_db_entry_t
 

Macros

#define CNAT_INVALID_PROTO   0x0000
 
#define CNAT_UDP   0x4000
 
#define CNAT_TCP   0x8000
 
#define CNAT_ICMP   0xc000
 
#define CNAT_VRF_MASK   0x3fff
 
#define CNAT_PRO_MASK   0xc000
 
#define CNAT_PRO_SHIFT   14
 
#define CNAT_MAX_VRFMAP_ENTRIES   (CNAT_VRF_MASK + 1)
 
#define CNAT_DB_FLAG_PORT_PAIR   (1<<0)
 
#define CNAT_DB_FLAG_TCP_ACTIVE   (1<<1)
 
#define CNAT_DB_FLAG_ENTRY_FREE   (1<<2)
 
#define CNAT_DB_FLAG_UDP_ACTIVE   (1<<3)
 
#define CNAT_DB_FLAG_STATIC_PORT   (1<<4)
 
#define CNAT_DB_FLAG_ALG_ENTRY   (1<<5)
 

Macro Definition Documentation

#define CNAT_DB_FLAG_ALG_ENTRY   (1<<5)

Definition at line 88 of file vcgn_db.h.

#define CNAT_DB_FLAG_ENTRY_FREE   (1<<2)

Definition at line 85 of file vcgn_db.h.

#define CNAT_DB_FLAG_PORT_PAIR   (1<<0)

Definition at line 83 of file vcgn_db.h.

#define CNAT_DB_FLAG_STATIC_PORT   (1<<4)

Definition at line 87 of file vcgn_db.h.

#define CNAT_DB_FLAG_TCP_ACTIVE   (1<<1)

Definition at line 84 of file vcgn_db.h.

#define CNAT_DB_FLAG_UDP_ACTIVE   (1<<3)

Definition at line 86 of file vcgn_db.h.

#define CNAT_ICMP   0xc000

Definition at line 38 of file vcgn_db.h.

#define CNAT_INVALID_PROTO   0x0000

Definition at line 35 of file vcgn_db.h.

#define CNAT_MAX_VRFMAP_ENTRIES   (CNAT_VRF_MASK + 1)

Definition at line 46 of file vcgn_db.h.

#define CNAT_PRO_MASK   0xc000

Definition at line 40 of file vcgn_db.h.

#define CNAT_PRO_SHIFT   14

Definition at line 41 of file vcgn_db.h.

#define CNAT_TCP   0x8000

Definition at line 37 of file vcgn_db.h.

#define CNAT_UDP   0x4000

Definition at line 36 of file vcgn_db.h.

#define CNAT_VRF_MASK   0x3fff

Definition at line 39 of file vcgn_db.h.