FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
ip6_link.h File Reference
+ Include dependency graph for ip6_link.h:
+ This graph shows which files directly or indirectly include this file:

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)
 

Typedef Documentation

◆ ip6_link_address_change_fn_t

typedef void(* ip6_link_address_change_fn_t) (u32 ildi, const ip6_address_t *a, u8 address_oength)

Definition at line 46 of file ip6_link.h.

◆ ip6_link_delegate_id_t

Definition at line 60 of file ip6_link.h.

◆ ip6_link_delegate_vft_t

◆ ip6_link_disable_fn_t

typedef void(* ip6_link_disable_fn_t) (index_t ildi)

Definition at line 44 of file ip6_link.h.

◆ ip6_link_enable_fn_t

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.

◆ ip6_link_ll_change_fn_t

typedef void(* ip6_link_ll_change_fn_t) (u32 ildi, const ip6_address_t *a)

Definition at line 45 of file ip6_link.h.

Function Documentation

◆ ip6_get_link_local_address()

const ip6_address_t* ip6_get_link_local_address ( u32  sw_if_index)

Definition at line 318 of file ip6_link.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ip6_link_delegate_get()

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.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ip6_link_delegate_register()

ip6_link_delegate_id_t ip6_link_delegate_register ( const ip6_link_delegate_vft_t vft)

Definition at line 381 of file ip6_link.c.

+ Here is the caller graph for this function:

◆ ip6_link_delegate_remove()

void ip6_link_delegate_remove ( u32  sw_if_index,
ip6_link_delegate_id_t  id,
index_t  ii 
)

Definition at line 433 of file ip6_link.c.

+ Here is the call graph for this function:

◆ ip6_link_delegate_update()

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.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ip6_link_disable()

int ip6_link_disable ( u32  sw_if_index)

Definition at line 300 of file ip6_link.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ip6_link_enable()

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.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ip6_link_get_mcast_adj()

adj_index_t ip6_link_get_mcast_adj ( u32  sw_if_index)

Definition at line 331 of file ip6_link.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ip6_link_is_enabled()

bool ip6_link_is_enabled ( u32  sw_if_index)

Definition at line 142 of file ip6_link.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ip6_link_set_local_address()

int ip6_link_set_local_address ( u32  sw_if_index,
const ip6_address_t *  address 
)

Definition at line 344 of file ip6_link.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: