FD.io VPP  v21.01.1
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)
 
static_always_inline void per_vrf_sessions_cleanup (u32 thread_index)
 
static_always_inline void per_vrf_sessions_register_session (snat_session_t *s, u32 thread_index)
 
static_always_inline void per_vrf_sessions_unregister_session (snat_session_t *s, u32 thread_index)
 
static_always_inline u8 per_vrf_sessions_is_expired (snat_session_t *s, u32 thread_index)
 

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:

◆ per_vrf_sessions_cleanup()

static_always_inline void per_vrf_sessions_cleanup ( u32  thread_index)

Definition at line 146 of file ed_inlines.h.

+ Here is the caller graph for this function:

◆ per_vrf_sessions_is_expired()

static_always_inline u8 per_vrf_sessions_is_expired ( snat_session_t *  s,
u32  thread_index 
)

Definition at line 241 of file ed_inlines.h.

+ Here is the caller graph for this function:

◆ per_vrf_sessions_register_session()

static_always_inline void per_vrf_sessions_register_session ( snat_session_t *  s,
u32  thread_index 
)

Definition at line 178 of file ed_inlines.h.

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

◆ per_vrf_sessions_unregister_session()

static_always_inline void per_vrf_sessions_unregister_session ( snat_session_t *  s,
u32  thread_index 
)

Definition at line 221 of file ed_inlines.h.

+ Here is the caller graph for this function: