|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
30 const ip46_address_t *
dst,
54 ip46_address_t d_tmp, *d_tmpp = NULL;
55 const ip46_address_t *s_tmp;
79 src->as_u32 = s_tmp->ip4.as_u32;
88 const ip6_address_t *
dst,
91 ip46_address_t d_tmp, *d_tmpp = NULL;
92 const ip46_address_t *s_tmp;
static uword ip6_address_is_link_local_unicast(const ip6_address_t *a)
const ip46_address_t * adj_glean_get_src(fib_protocol_t proto, u32 sw_if_index, const ip46_address_t *nh)
Return the source address from the glean.
static vnet_sw_interface_t * vnet_get_sw_interface(vnet_main_t *vnm, u32 sw_if_index)
const ip6_address_t * ip6_get_link_local_address(u32 sw_if_index)
vnet_main_t * vnet_get_main(void)
@ VNET_SW_INTERFACE_FLAG_UNNUMBERED
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.
static void ip6_address_copy(ip6_address_t *dst, const ip6_address_t *src)
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.
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.
vl_api_interface_index_t sw_if_index
enum ip_address_family_t_ ip_address_family_t