23 #ifndef __included_det44_inlines_h__ 24 #define __included_det44_inlines_h__ 28 u32 sw_if_index0,
u32 ip4_addr)
91 if (sw_if_index == ~0)
101 if (sw_if_index != ~0)
107 if (sw_if_index != ~0)
fib_protocol_t fp_proto
protocol type
static_always_inline int det44_translate(vlib_node_runtime_t *node, u32 sw_if_index0, ip4_header_t *ip0, u32 proto0, u32 rx_fib_index0)
Check if packet should be translated.
u8 runtime_data[0]
Function dependent node-runtime data.
#define pool_foreach(VAR, POOL)
Iterate through pool.
ip4_address_t * ip4_interface_first_address(ip4_main_t *im, u32 sw_if_index, ip_interface_address_t **result_ia)
det44_fib_t * outside_fibs
#define static_always_inline
Aggregate type for a prefix.
fib_node_index_t fib_table_lookup(u32 fib_index, const fib_prefix_t *prefix)
Perfom a longest prefix match in the non-forwarding table.
u32 fib_entry_get_resolving_interface(fib_node_index_t entry_index)
sll srl srl sll sra u16x4 i
u32 fib_node_index_t
A typedef of a node index.
vlib_main_t vlib_node_runtime_t * node
det44_interface_t * interfaces
#define FIB_NODE_INDEX_INVALID
#define det44_interface_is_outside(i)
Check if Deterministic NAT interface is outside.
#define vec_foreach(var, vec)
Vector iterator.
static_always_inline int det44_is_interface_addr(vlib_node_runtime_t *node, u32 sw_if_index0, u32 ip4_addr)
vl_api_interface_index_t sw_if_index