FD.io VPP  v19.01.3-6-g70449b9b9
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
 
u32 sw_if_index
 
u8 is_add
 
u8 is_ipv6
 
u8 del_all
 
u8 address_length
 
u8 address [16]
 

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
is_ipv6- if non-zero the address is ipv6, else ipv4
del_all- if non-zero delete all addresses on the interface
address_length- address length in bytes, 4 for ip4, 16 for ip6
address- array of address bytes

Definition at line 225 of file interface.api.

Field Documentation

◆ address

u8 vl_api_sw_interface_add_del_address_t::address[16]

Definition at line 234 of file interface.api.

◆ address_length

u8 vl_api_sw_interface_add_del_address_t::address_length

Definition at line 233 of file interface.api.

◆ client_index

u32 vl_api_sw_interface_add_del_address_t::client_index

Definition at line 227 of file interface.api.

◆ context

u32 vl_api_sw_interface_add_del_address_t::context

Definition at line 228 of file interface.api.

◆ del_all

u8 vl_api_sw_interface_add_del_address_t::del_all

Definition at line 232 of file interface.api.

◆ is_add

u8 vl_api_sw_interface_add_del_address_t::is_add

Definition at line 230 of file interface.api.

◆ is_ipv6

u8 vl_api_sw_interface_add_del_address_t::is_ipv6

Definition at line 231 of file interface.api.

◆ sw_if_index

u32 vl_api_sw_interface_add_del_address_t::sw_if_index

Definition at line 229 of file interface.api.


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