FD.io VPP  v20.09-64-g4f7b92f0a
Vector Packet Processing
netlink.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

clib_error_tvnet_netlink_set_link_name (int ifindex, char *new_ifname)
 
clib_error_tvnet_netlink_set_link_netns (int ifindex, int netns_fd, char *new_ifname)
 
clib_error_tvnet_netlink_set_link_master (int ifindex, char *master_ifname)
 
clib_error_tvnet_netlink_set_link_addr (int ifindex, u8 *addr)
 
clib_error_tvnet_netlink_set_link_state (int ifindex, int up)
 
clib_error_tvnet_netlink_set_link_mtu (int ifindex, int mtu)
 
clib_error_tvnet_netlink_add_ip4_addr (int ifindex, void *addr, int pfx_len)
 
clib_error_tvnet_netlink_add_ip6_addr (int ifindex, void *addr, int pfx_len)
 
clib_error_tvnet_netlink_add_ip4_route (void *dst, u8 dst_len, void *gw)
 
clib_error_tvnet_netlink_add_ip6_route (void *dst, u8 dst_len, void *gw)
 

Function Documentation

◆ vnet_netlink_add_ip4_addr()

clib_error_t* vnet_netlink_add_ip4_addr ( int  ifindex,
void *  addr,
int  pfx_len 
)

Definition at line 235 of file netlink.c.

+ Here is the call graph for this function:

◆ vnet_netlink_add_ip4_route()

clib_error_t* vnet_netlink_add_ip4_route ( void *  dst,
u8  dst_len,
void *  gw 
)

Definition at line 281 of file netlink.c.

+ Here is the call graph for this function:

◆ vnet_netlink_add_ip6_addr()

clib_error_t* vnet_netlink_add_ip6_addr ( int  ifindex,
void *  addr,
int  pfx_len 
)

Definition at line 258 of file netlink.c.

+ Here is the call graph for this function:

◆ vnet_netlink_add_ip6_route()

clib_error_t* vnet_netlink_add_ip6_route ( void *  dst,
u8  dst_len,
void *  gw 
)

Definition at line 306 of file netlink.c.

+ Here is the call graph for this function:

◆ vnet_netlink_set_link_addr()

clib_error_t* vnet_netlink_set_link_addr ( int  ifindex,
u8 addr 
)

Definition at line 180 of file netlink.c.

+ Here is the call graph for this function:

◆ vnet_netlink_set_link_master()

clib_error_t* vnet_netlink_set_link_master ( int  ifindex,
char *  master_ifname 
)

Definition at line 157 of file netlink.c.

+ Here is the call graph for this function:

◆ vnet_netlink_set_link_mtu()

clib_error_t* vnet_netlink_set_link_mtu ( int  ifindex,
int  mtu 
)

Definition at line 217 of file netlink.c.

+ Here is the call graph for this function:

◆ vnet_netlink_set_link_name()

clib_error_t* vnet_netlink_set_link_name ( int  ifindex,
char *  new_ifname 
)

Definition at line 115 of file netlink.c.

+ Here is the call graph for this function:

◆ vnet_netlink_set_link_netns()

clib_error_t* vnet_netlink_set_link_netns ( int  ifindex,
int  netns_fd,
char *  new_ifname 
)

Definition at line 135 of file netlink.c.

+ Here is the call graph for this function:

◆ vnet_netlink_set_link_state()

clib_error_t* vnet_netlink_set_link_state ( int  ifindex,
int  up 
)

Definition at line 198 of file netlink.c.

+ Here is the call graph for this function: