FD.io VPP  v18.07.1-13-g909ba93
Vector Packet Processing
vl_api_sw_interface_details_t Struct Reference

Interface details structure (fix this) More...

Data Fields

u32 context
 
u32 sw_if_index
 
u32 sup_sw_if_index
 
u32 l2_address_length
 
u8 l2_address [8]
 
u8 interface_name [64]
 
u8 admin_up_down
 
u8 link_up_down
 
u8 link_duplex
 
u8 link_speed
 
u16 link_mtu
 
u32 mtu [4]
 
u32 sub_id
 
u8 sub_dot1ad
 
u8 sub_dot1ah
 
u8 sub_number_of_tags
 
u16 sub_outer_vlan_id
 
u16 sub_inner_vlan_id
 
u8 sub_exact_match
 
u8 sub_default
 
u8 sub_outer_vlan_id_any
 
u8 sub_inner_vlan_id_any
 
u32 vtr_op
 
u32 vtr_push_dot1q
 
u32 vtr_tag1
 
u32 vtr_tag2
 
u8 tag [64]
 
u16 outer_tag
 
u8 b_dmac [6]
 
u8 b_smac [6]
 
u16 b_vlanid
 
u32 i_sid
 

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_length- length of the interface's l2 address
pid- the interface's l2 address
interface_name- name of the interface
link_duplex- 1 if half duplex, 2 if full duplex
link_speed- 1 = 10M, 2 = 100M, 4 = 1G, 8 = 10G, 16 = 40G, 32 = 100G
link_MTU- max. transmittion unit
sub_if_id- A number 0-N to uniquely identify this subif on super if
sub_dot1ad- 0 = dot1q, 1 = dot1ad
sub_dot1ah- 1 = dot1ah, 0 = otherwise
sub_number_of_tags- Number of tags (0 - 2)
sub_outer_vlan_id
sub_inner_vlan_id
sub_exact_match
sub_default
sub_outer_vlan_id_any
sub_inner_vlan_id_any
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

Definition at line 110 of file interface.api.

Field Documentation

u8 vl_api_sw_interface_details_t::admin_up_down

Definition at line 127 of file interface.api.

u8 vl_api_sw_interface_details_t::b_dmac[6]

Definition at line 168 of file interface.api.

u8 vl_api_sw_interface_details_t::b_smac[6]

Definition at line 169 of file interface.api.

u16 vl_api_sw_interface_details_t::b_vlanid

Definition at line 170 of file interface.api.

u32 vl_api_sw_interface_details_t::context

Definition at line 112 of file interface.api.

u32 vl_api_sw_interface_details_t::i_sid

Definition at line 171 of file interface.api.

u8 vl_api_sw_interface_details_t::interface_name[64]

Definition at line 124 of file interface.api.

u8 vl_api_sw_interface_details_t::l2_address[8]

Definition at line 121 of file interface.api.

u32 vl_api_sw_interface_details_t::l2_address_length

Definition at line 120 of file interface.api.

u8 vl_api_sw_interface_details_t::link_duplex

Definition at line 131 of file interface.api.

u16 vl_api_sw_interface_details_t::link_mtu

Definition at line 137 of file interface.api.

u8 vl_api_sw_interface_details_t::link_speed

Definition at line 134 of file interface.api.

u8 vl_api_sw_interface_details_t::link_up_down

Definition at line 128 of file interface.api.

u32 vl_api_sw_interface_details_t::mtu[4]

Definition at line 140 of file interface.api.

u16 vl_api_sw_interface_details_t::outer_tag

Definition at line 167 of file interface.api.

u8 vl_api_sw_interface_details_t::sub_default

Definition at line 155 of file interface.api.

u8 vl_api_sw_interface_details_t::sub_dot1ad

Definition at line 146 of file interface.api.

u8 vl_api_sw_interface_details_t::sub_dot1ah

Definition at line 148 of file interface.api.

u8 vl_api_sw_interface_details_t::sub_exact_match

Definition at line 154 of file interface.api.

u32 vl_api_sw_interface_details_t::sub_id

Definition at line 143 of file interface.api.

u16 vl_api_sw_interface_details_t::sub_inner_vlan_id

Definition at line 153 of file interface.api.

u8 vl_api_sw_interface_details_t::sub_inner_vlan_id_any

Definition at line 157 of file interface.api.

u8 vl_api_sw_interface_details_t::sub_number_of_tags

Definition at line 151 of file interface.api.

u16 vl_api_sw_interface_details_t::sub_outer_vlan_id

Definition at line 152 of file interface.api.

u8 vl_api_sw_interface_details_t::sub_outer_vlan_id_any

Definition at line 156 of file interface.api.

u32 vl_api_sw_interface_details_t::sup_sw_if_index

Definition at line 117 of file interface.api.

u32 vl_api_sw_interface_details_t::sw_if_index

Definition at line 113 of file interface.api.

u8 vl_api_sw_interface_details_t::tag[64]

Definition at line 164 of file interface.api.

u32 vl_api_sw_interface_details_t::vtr_op

Definition at line 160 of file interface.api.

u32 vl_api_sw_interface_details_t::vtr_push_dot1q

Definition at line 161 of file interface.api.

u32 vl_api_sw_interface_details_t::vtr_tag1

Definition at line 162 of file interface.api.

u32 vl_api_sw_interface_details_t::vtr_tag2

Definition at line 163 of file interface.api.


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