FD.io VPP  v20.05-21-gb1500e9ff
Vector Packet Processing
inlines.h File Reference
+ Include dependency graph for inlines.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static_always_inline u8 nat44_maximum_sessions_exceeded (snat_main_t *sm, u32 thread_index)
 The NAT44 inline functions. More...
 
static_always_inline u8 nat44_ed_maximum_sessions_exceeded (snat_main_t *sm, u32 fib_index, u32 thread_index)
 
static_always_inline snat_session_t * nat44_session_reuse_old (snat_main_t *sm, snat_user_t *u, snat_session_t *s, u32 thread_index, f64 now)
 
static_always_inline void nat44_sessions_clear ()
 
static_always_inline void nat44_user_del_sessions (snat_user_t *u, u32 thread_index)
 
static_always_inline int nat44_user_del (ip4_address_t *addr, u32 fib_index)
 

Function Documentation

◆ nat44_ed_maximum_sessions_exceeded()

static_always_inline u8 nat44_ed_maximum_sessions_exceeded ( snat_main_t sm,
u32  fib_index,
u32  thread_index 
)

Definition at line 35 of file inlines.h.

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

◆ nat44_maximum_sessions_exceeded()

static_always_inline u8 nat44_maximum_sessions_exceeded ( snat_main_t sm,
u32  thread_index 
)

The NAT44 inline functions.

Definition at line 26 of file inlines.h.

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

◆ nat44_session_reuse_old()

static_always_inline snat_session_t* nat44_session_reuse_old ( snat_main_t sm,
snat_user_t u,
snat_session_t *  s,
u32  thread_index,
f64  now 
)

Definition at line 46 of file inlines.h.

+ Here is the call graph for this function:

◆ nat44_sessions_clear()

static_always_inline void nat44_sessions_clear ( )

Definition at line 68 of file inlines.h.

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

◆ nat44_user_del()

static_always_inline int nat44_user_del ( ip4_address_t addr,
u32  fib_index 
)

Definition at line 115 of file inlines.h.

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

◆ nat44_user_del_sessions()

static_always_inline void nat44_user_del_sessions ( snat_user_t u,
u32  thread_index 
)

Definition at line 90 of file inlines.h.

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