FD.io VPP  v17.01.1-3-gc6833f8
Vector Packet Processing
adj_rewrite.h File Reference
+ Include dependency graph for adj_rewrite.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

adj_index_t adj_rewrite_add_and_lock (fib_protocol_t nh_proto, vnet_link_t link_type, u32 sw_if_index, u8 *rewrite)
 A rewrite adjacency has no key, and thus cannot be 'found' from the FIB resolution code. More...
 

Function Documentation

adj_index_t adj_rewrite_add_and_lock ( fib_protocol_t  nh_proto,
vnet_link_t  link_type,
u32  sw_if_index,
u8 rewrite 
)

A rewrite adjacency has no key, and thus cannot be 'found' from the FIB resolution code.

the client therefore needs to maange these adjacencies

Add (and lock) a new or lock an existing neighbour adjacency

Parameters
nh_protoThe protocol for the next-hop address (v4 or v6)
link_typeA description of the protocol of the packets that will forward through this adj. On an ethernet interface this is the MAC header's ether-type
sw_if_indexThe interface on which the peer resides
rewriteThe rewrite to prepend to packets

A rewrite adjacency has no key, and thus cannot be 'found' from the FIB resolution code.

A rewrite sub-type has the rewrite string provided, but no key

Definition at line 25 of file adj_rewrite.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: