|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
17 #ifndef __CNAT_INLINE_H__
18 #define __CNAT_INLINE_H__
#define pool_elt_at_index(p, i)
Returns pointer to element at given index.
static f64 cnat_timestamp_exp(u32 index)
cnat_timestamp_t * cnat_timestamps
#define pool_put(P, E)
Free an object E in pool P.
static void clib_rwlock_reader_lock(clib_rwlock_t *p)
static void clib_rwlock_reader_unlock(clib_rwlock_t *p)
static void clib_rwlock_writer_unlock(clib_rwlock_t *p)
static void clib_rwlock_writer_lock(clib_rwlock_t *p)
static void cnat_timestamp_update(u32 index, f64 t)
#define pool_get(P, E)
Allocate an object E from a pool P (unspecified alignment).
static void cnat_timestamp_set_lifetime(u32 index, u16 lifetime)
static void cnat_timestamp_free(u32 index)
#define CNAT_TIMESTAMP_INIT_REFCNT
static u32 cnat_timestamp_new(f64 t)
static void cnat_timestamp_inc_refcnt(u32 index)
#define INDEX_INVALID
Invalid index - used when no index is known blazoned capitals INVALID speak volumes where ~0 does not...