FD.io VPP  v20.01-48-g3e0dafb74
Vector Packet Processing
vl_api_sw_interface_details_t Struct Reference

Interface details structure (fix this) More...

Data Fields

u32 context
 
vl_api_interface_index_t sw_if_index
 
u32 sup_sw_if_index
 
vl_api_mac_address_t l2_address
 
vl_api_if_status_flags_t flags
 
vl_api_if_type_t type
 
vl_api_link_duplex_t link_duplex
 
u32 link_speed
 
u16 link_mtu
 
u32 mtu [4]
 
u32 sub_id
 
u8 sub_number_of_tags
 
u16 sub_outer_vlan_id
 
u16 sub_inner_vlan_id
 
vl_api_sub_if_flags_t sub_if_flags
 
u32 vtr_op
 
u32 vtr_push_dot1q
 
u32 vtr_tag1
 
u32 vtr_tag2
 
u16 outer_tag
 
vl_api_mac_address_t b_dmac
 
vl_api_mac_address_t b_smac
 
u16 b_vlanid
 
u32 i_sid
 
string interface_name [64]
 
string interface_dev_type [64]
 
string tag [64]
 

Detailed Description

Interface details structure (fix this)

Template Parameters
sw_if_index- index of the interface
sup_sw_if_index- index of parent interface if any, else same as sw_if_index
l2_address- the interface's l2 address
flags- interface_status flags
type- interface type
link_duplex- 1 if half duplex, 2 if full duplex
link_speed- value in kbps
link_MTU- max. transmission unit
sub_id- A number 0-N to uniquely identify this subif on super if
sub_number_of_tags- Number of tags (0 - 2)
sub_outer_vlan_id
sub_inner_vlan_id
sub_if_flags- sub interface flags
vtr_op- vlan tag rewrite operation
vtr_push_dot1q
vtr_tag1
vtr_tag2
pbb_outer_tag- translate pbb s-tag
pbb_b_dmac[6]- B-tag remote mac address
pbb_b_smac[6]- B-tag local mac address
pbb_b_vlanid- B-tag vlanid
pbb_i_sid- I-tag service id
interface_name- name of the interface
interface_dev_type- device type of the interface
tag- an ascii tag

Definition at line 137 of file interface.api.

Field Documentation

◆ b_dmac

vl_api_mac_address_t vl_api_sw_interface_details_t::b_dmac

Definition at line 183 of file interface.api.

◆ b_smac

vl_api_mac_address_t vl_api_sw_interface_details_t::b_smac

Definition at line 184 of file interface.api.

◆ b_vlanid

u16 vl_api_sw_interface_details_t::b_vlanid

Definition at line 185 of file interface.api.

◆ context

u32 vl_api_sw_interface_details_t::context

Definition at line 139 of file interface.api.

◆ flags

vl_api_if_status_flags_t vl_api_sw_interface_details_t::flags

Definition at line 149 of file interface.api.

◆ i_sid

u32 vl_api_sw_interface_details_t::i_sid

Definition at line 186 of file interface.api.

◆ interface_dev_type

string vl_api_sw_interface_details_t::interface_dev_type[64]

Definition at line 190 of file interface.api.

◆ interface_name

string vl_api_sw_interface_details_t::interface_name[64]

Definition at line 189 of file interface.api.

◆ l2_address

vl_api_mac_address_t vl_api_sw_interface_details_t::l2_address

Definition at line 147 of file interface.api.

◆ link_duplex

vl_api_link_duplex_t vl_api_sw_interface_details_t::link_duplex

Definition at line 154 of file interface.api.

◆ link_mtu

u16 vl_api_sw_interface_details_t::link_mtu

Definition at line 160 of file interface.api.

◆ link_speed

u32 vl_api_sw_interface_details_t::link_speed

Definition at line 157 of file interface.api.

◆ mtu

u32 vl_api_sw_interface_details_t::mtu[4]

Definition at line 163 of file interface.api.

◆ outer_tag

u16 vl_api_sw_interface_details_t::outer_tag

Definition at line 182 of file interface.api.

◆ sub_id

u32 vl_api_sw_interface_details_t::sub_id

Definition at line 166 of file interface.api.

◆ sub_if_flags

vl_api_sub_if_flags_t vl_api_sw_interface_details_t::sub_if_flags

Definition at line 173 of file interface.api.

◆ sub_inner_vlan_id

u16 vl_api_sw_interface_details_t::sub_inner_vlan_id

Definition at line 171 of file interface.api.

◆ sub_number_of_tags

u8 vl_api_sw_interface_details_t::sub_number_of_tags

Definition at line 169 of file interface.api.

◆ sub_outer_vlan_id

u16 vl_api_sw_interface_details_t::sub_outer_vlan_id

Definition at line 170 of file interface.api.

◆ sup_sw_if_index

u32 vl_api_sw_interface_details_t::sup_sw_if_index

Definition at line 144 of file interface.api.

◆ sw_if_index

vl_api_interface_index_t vl_api_sw_interface_details_t::sw_if_index

Definition at line 140 of file interface.api.

◆ tag

string vl_api_sw_interface_details_t::tag[64]

Definition at line 191 of file interface.api.

◆ type

vl_api_if_type_t vl_api_sw_interface_details_t::type

Definition at line 151 of file interface.api.

◆ vtr_op

u32 vl_api_sw_interface_details_t::vtr_op

Definition at line 176 of file interface.api.

◆ vtr_push_dot1q

u32 vl_api_sw_interface_details_t::vtr_push_dot1q

Definition at line 177 of file interface.api.

◆ vtr_tag1

u32 vl_api_sw_interface_details_t::vtr_tag1

Definition at line 178 of file interface.api.

◆ vtr_tag2

u32 vl_api_sw_interface_details_t::vtr_tag2

Definition at line 179 of file interface.api.


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