FD.io VPP  v20.05.1-6-gf53edbc3b
Vector Packet Processing
ed_inlines.h File Reference
+ Include dependency graph for ed_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 int nat_ed_lru_insert (snat_main_per_thread_data_t *tsm, snat_session_t *s, f64 now, u8 proto)
 
static void nat_ed_session_delete (snat_main_t *sm, snat_session_t *ses, u32 thread_index, int lru_delete)
 
static_always_inline int nat_lru_free_one_with_head (snat_main_t *sm, int thread_index, f64 now, u32 head_index)
 
static_always_inline int nat_lru_free_one (snat_main_t *sm, int thread_index, f64 now)
 
static_always_inline snat_session_t * nat_ed_session_alloc (snat_main_t *sm, u32 thread_index, f64 now, u8 proto)
 

Function Documentation

◆ nat_ed_lru_insert()

static_always_inline int nat_ed_lru_insert ( snat_main_per_thread_data_t tsm,
snat_session_t *  s,
f64  now,
u8  proto 
)

Definition at line 27 of file ed_inlines.h.

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

◆ nat_ed_session_alloc()

static_always_inline snat_session_t* nat_ed_session_alloc ( snat_main_t sm,
u32  thread_index,
f64  now,
u8  proto 
)

Definition at line 126 of file ed_inlines.h.

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

◆ nat_ed_session_delete()

static void nat_ed_session_delete ( snat_main_t sm,
snat_session_t *  ses,
u32  thread_index,
int  lru_delete 
)
inlinestatic

Definition at line 55 of file ed_inlines.h.

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

◆ nat_lru_free_one()

static_always_inline int nat_lru_free_one ( snat_main_t sm,
int  thread_index,
f64  now 
)

Definition at line 106 of file ed_inlines.h.

+ Here is the caller graph for this function:

◆ nat_lru_free_one_with_head()

static_always_inline int nat_lru_free_one_with_head ( snat_main_t sm,
int  thread_index,
f64  now,
u32  head_index 
)

Definition at line 74 of file ed_inlines.h.

+ Here is the call graph for this function: