FD.io VPP  v20.05.1-6-gf53edbc3b
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)
 
int ip6_src_address_for_packet (u32 sw_if_index, const ip6_address_t *dst, ip6_address_t *src)
 
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 50 of file ip6_link.h.

◆ ip6_link_delegate_id_t

Definition at line 64 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 48 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 47 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 49 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 315 of file ip6_link.c.

+ 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 423 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 409 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 461 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 441 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 297 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 327 of file ip6_link.c.

+ 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 372 of file ip6_link.c.

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

◆ ip6_src_address_for_packet()

int ip6_src_address_for_packet ( u32  sw_if_index,
const ip6_address_t *  dst,
ip6_address_t *  src 
)

Definition at line 337 of file ip6_link.c.

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