FD.io VPP
v17.01.1-3-gc6833f8
Vector Packet Processing
|
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... | |
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
nh_proto | The protocol for the next-hop address (v4 or v6) |
link_type | A 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_index | The interface on which the peer resides |
rewrite | The 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.