|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
23 #ifndef __included_det44_inlines_h__
24 #define __included_det44_inlines_h__
28 u32 sw_if_index0,
u32 ip4_addr)
38 rt->cached_sw_if_index = sw_if_index0;
40 rt->cached_ip4_address = first_int_addr->as_u32;
42 rt->cached_ip4_address = 0;
vlib_main_t vlib_node_runtime_t * node
#define FIB_NODE_INDEX_INVALID
det44_interface_t * interfaces
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.
static_always_inline int det44_is_interface_addr(vlib_node_runtime_t *node, u32 sw_if_index0, u32 ip4_addr)
#define pool_foreach(VAR, POOL)
Iterate through pool.
det44_fib_t * outside_fibs
#define static_always_inline
u32 fib_node_index_t
A typedef of a node index.
if(node->flags &VLIB_NODE_FLAG_TRACE) vnet_interface_output_trace(vm
sll srl srl sll sra u16x4 i
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.
u32 fib_entry_get_resolving_interface(fib_node_index_t entry_index)
#define vec_foreach(var, vec)
Vector iterator.
fib_protocol_t fp_proto
protocol type
vnet_interface_output_runtime_t * rt
#define det44_interface_is_outside(i)
Check if Deterministic NAT interface is outside.
ip4_address_t * ip4_interface_first_address(ip4_main_t *im, u32 sw_if_index, ip_interface_address_t **result_ia)
vl_api_interface_index_t sw_if_index
Aggregate type for a prefix.