FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the source code of this file.
Functions | |
bool | fib_sas_get (u32 sw_if_index, ip_address_family_t af, const ip46_address_t *dst, ip46_address_t *src) |
FIB Source Address selection. More... | |
bool | fib_sas4_get (u32 sw_if_index, const ip4_address_t *dst, ip4_address_t *src) |
Get an IPv4 Source address to use in a packet being sent out an interface. More... | |
bool | fib_sas6_get (u32 sw_if_index, const ip6_address_t *dst, ip6_address_t *src) |
Get an IPv6 Source address to use in a packet being sent out an interface. More... | |
bool fib_sas4_get | ( | u32 | sw_if_index, |
const ip4_address_t * | dst, | ||
ip4_address_t * | src | ||
) |
Get an IPv4 Source address to use in a packet being sent out an interface.
sw_if_index | The interface on which the packet is to be sent |
dst | The destination of the packet (can be NULL in which case any of the available address will be returned) |
src | OUT the source address to use |
Definition at line 50 of file fib_sas.c.
Get an IPv6 Source address to use in a packet being sent out an interface.
sw_if_index | The interface on which the packet is to be sent |
dst | The destination of the packet (can be NULL in which case any of the available address will be returned) |
src | OUT the source address to use |
Definition at line 99 of file fib_sas.c.
bool fib_sas_get | ( | u32 | sw_if_index, |
ip_address_family_t | af, | ||
const ip46_address_t * | dst, | ||
ip46_address_t * | src | ||
) |
FIB Source Address selection.
Use the FIB for source address selection on an interface
Get a Source address to use in a packet being sent out an interface
sw_if_index | The interface on which the packet is to be sent |
af | The address family of the packet |
dst | The destination of the packet (can be NULL in which case any of the available address will be returned) |
src | OUT the source address to use |
Use the FIB for source address selection on an interface
Definition at line 28 of file fib_sas.c.