FD.io VPP  v21.01.1
Vector Packet Processing
vl_api_sw_interface_add_del_address_t Struct Reference

Set or delete one or all ip addresses on a specified interface. More...

Data Fields

u32 client_index
 
u32 context
 
vl_api_interface_index_t sw_if_index
 
bool is_add
 
bool del_all
 
vl_api_address_with_prefix_t prefix
 

Detailed Description

Set or delete one or all ip addresses on a specified interface.

Template Parameters
client_index- opaque cookie to identify the sender
context- sender context, to match reply w/ request
sw_if_index- index of the interface to add/del addresses
is_add- add address if non-zero, else delete
del_all- if non-zero delete all addresses on the interface
prefix- address + a prefix length for the implied connected route

Definition at line 220 of file interface.api.

Field Documentation

◆ client_index

u32 vl_api_sw_interface_add_del_address_t::client_index

Definition at line 222 of file interface.api.

◆ context

u32 vl_api_sw_interface_add_del_address_t::context

Definition at line 223 of file interface.api.

◆ del_all

bool vl_api_sw_interface_add_del_address_t::del_all

Definition at line 227 of file interface.api.

◆ is_add

bool vl_api_sw_interface_add_del_address_t::is_add

Definition at line 225 of file interface.api.

◆ prefix

vl_api_address_with_prefix_t vl_api_sw_interface_add_del_address_t::prefix

Definition at line 228 of file interface.api.

◆ sw_if_index

vl_api_interface_index_t vl_api_sw_interface_add_del_address_t::sw_if_index

Definition at line 224 of file interface.api.


The documentation for this struct was generated from the following file: