FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | ip6_link_delegate_vft_t_ |
Typedefs | |
typedef void(* | ip6_link_enable_fn_t) (u32 sw_if_index) |
Delegates for the interfaces. More... | |
typedef void(* | ip6_link_disable_fn_t) (index_t ildi) |
typedef void(* | ip6_link_ll_change_fn_t) (u32 ildi, const ip6_address_t *a) |
typedef void(* | ip6_link_address_change_fn_t) (u32 ildi, const ip6_address_t *a, u8 address_oength) |
typedef struct ip6_link_delegate_vft_t_ | ip6_link_delegate_vft_t |
typedef u32 | ip6_link_delegate_id_t |
Functions | |
int | ip6_link_enable (u32 sw_if_index, const ip6_address_t *link_local_addr) |
IPv6 Configuration on an interface. More... | |
bool | ip6_link_is_enabled (u32 sw_if_index) |
int | ip6_link_disable (u32 sw_if_index) |
const ip6_address_t * | ip6_get_link_local_address (u32 sw_if_index) |
int | ip6_link_set_local_address (u32 sw_if_index, const ip6_address_t *address) |
adj_index_t | ip6_link_get_mcast_adj (u32 sw_if_index) |
ip6_link_delegate_id_t | ip6_link_delegate_register (const ip6_link_delegate_vft_t *vft) |
index_t | ip6_link_delegate_get (u32 sw_if_index, ip6_link_delegate_id_t id) |
bool | ip6_link_delegate_update (u32 sw_if_index, ip6_link_delegate_id_t id, index_t ii) |
void | ip6_link_delegate_remove (u32 sw_if_index, ip6_link_delegate_id_t id, index_t ii) |
Definition at line 46 of file ip6_link.h.
typedef u32 ip6_link_delegate_id_t |
Definition at line 60 of file ip6_link.h.
typedef struct ip6_link_delegate_vft_t_ ip6_link_delegate_vft_t |
typedef void(* ip6_link_disable_fn_t) (index_t ildi) |
Definition at line 44 of file ip6_link.h.
typedef void(* ip6_link_enable_fn_t) (u32 sw_if_index) |
Delegates for the interfaces.
delegates are a means for a external component to 'extend' the config object by adding their own objects (aka delegates). Callback functions for handling actions on the link
Definition at line 43 of file ip6_link.h.
Definition at line 45 of file ip6_link.h.
const ip6_address_t* ip6_get_link_local_address | ( | u32 | sw_if_index | ) |
Definition at line 318 of file ip6_link.c.
index_t ip6_link_delegate_get | ( | u32 | sw_if_index, |
ip6_link_delegate_id_t | id | ||
) |
Definition at line 395 of file ip6_link.c.
ip6_link_delegate_id_t ip6_link_delegate_register | ( | const ip6_link_delegate_vft_t * | vft | ) |
void ip6_link_delegate_remove | ( | u32 | sw_if_index, |
ip6_link_delegate_id_t | id, | ||
index_t | ii | ||
) |
bool ip6_link_delegate_update | ( | u32 | sw_if_index, |
ip6_link_delegate_id_t | id, | ||
index_t | ii | ||
) |
Definition at line 413 of file ip6_link.c.
int ip6_link_disable | ( | u32 | sw_if_index | ) |
Definition at line 300 of file ip6_link.c.
int ip6_link_enable | ( | u32 | sw_if_index, |
const ip6_address_t * | link_local_addr | ||
) |
IPv6 Configuration on an interface.
Definition at line 149 of file ip6_link.c.
adj_index_t ip6_link_get_mcast_adj | ( | u32 | sw_if_index | ) |
Definition at line 331 of file ip6_link.c.
Definition at line 142 of file ip6_link.c.
int ip6_link_set_local_address | ( | u32 | sw_if_index, |
const ip6_address_t * | address | ||
) |
Definition at line 344 of file ip6_link.c.