FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
interface_types.api File Reference

Go to the source code of this file.

Typedefs

typedef u32 interface_index
 

Enumerations

enum  if_status_flags { IF_STATUS_API_FLAG_ADMIN_UP = 1, IF_STATUS_API_FLAG_LINK_UP = 2 }
 
enum  mtu_proto { MTU_PROTO_API_L3 = 0, MTU_PROTO_API_IP4 = 1, MTU_PROTO_API_IP6 = 2, MTU_PROTO_API_MPLS = 3 }
 
enum  link_duplex { LINK_DUPLEX_API_UNKNOWN = 0, LINK_DUPLEX_API_HALF = 1, LINK_DUPLEX_API_FULL = 2 }
 
enum  sub_if_flags {
  SUB_IF_API_FLAG_NO_TAGS = 1, SUB_IF_API_FLAG_ONE_TAG = 2, SUB_IF_API_FLAG_TWO_TAGS = 4, SUB_IF_API_FLAG_DOT1AD = 8,
  SUB_IF_API_FLAG_EXACT_MATCH = 16, SUB_IF_API_FLAG_DEFAULT = 32, SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY = 64, SUB_IF_API_FLAG_INNER_VLAN_ID_ANY = 128,
  SUB_IF_API_FLAG_MASK_VNET = 254, SUB_IF_API_FLAG_DOT1AH = 256
}
 
enum  rx_mode {
  RX_MODE_API_UNKNOWN = 0, RX_MODE_API_POLLING, RX_MODE_API_INTERRUPT, RX_MODE_API_ADAPTIVE,
  RX_MODE_API_DEFAULT
}
 
enum  if_type { IF_API_TYPE_HARDWARE = 0, IF_API_TYPE_SUB = 1, IF_API_TYPE_P2P = 2, IF_API_TYPE_PIPE = 3 }
 
enum  direction : u8 { RX = 0, TX }
 

Variables

option version = "1.0.0"
 

Typedef Documentation

◆ interface_index

Definition at line 18 of file interface_types.api.

Enumeration Type Documentation

◆ direction

enum direction : u8
Enumerator
RX 
TX 

Definition at line 76 of file interface_types.api.

◆ if_status_flags

Enumerator
IF_STATUS_API_FLAG_ADMIN_UP 
IF_STATUS_API_FLAG_LINK_UP 

Definition at line 20 of file interface_types.api.

◆ if_type

enum if_type
Enumerator
IF_API_TYPE_HARDWARE 
IF_API_TYPE_SUB 
IF_API_TYPE_P2P 
IF_API_TYPE_PIPE 

Definition at line 65 of file interface_types.api.

◆ link_duplex

Enumerator
LINK_DUPLEX_API_UNKNOWN 
LINK_DUPLEX_API_HALF 
LINK_DUPLEX_API_FULL 

Definition at line 35 of file interface_types.api.

◆ mtu_proto

enum mtu_proto
Enumerator
MTU_PROTO_API_L3 
MTU_PROTO_API_IP4 
MTU_PROTO_API_IP6 
MTU_PROTO_API_MPLS 

Definition at line 27 of file interface_types.api.

◆ rx_mode

enum rx_mode
Enumerator
RX_MODE_API_UNKNOWN 
RX_MODE_API_POLLING 
RX_MODE_API_INTERRUPT 
RX_MODE_API_ADAPTIVE 
RX_MODE_API_DEFAULT 

Definition at line 56 of file interface_types.api.

◆ sub_if_flags

Enumerator
SUB_IF_API_FLAG_NO_TAGS 
SUB_IF_API_FLAG_ONE_TAG 
SUB_IF_API_FLAG_TWO_TAGS 
SUB_IF_API_FLAG_DOT1AD 
SUB_IF_API_FLAG_EXACT_MATCH 
SUB_IF_API_FLAG_DEFAULT 
SUB_IF_API_FLAG_OUTER_VLAN_ID_ANY 
SUB_IF_API_FLAG_INNER_VLAN_ID_ANY 
SUB_IF_API_FLAG_MASK_VNET 
SUB_IF_API_FLAG_DOT1AH 

Definition at line 42 of file interface_types.api.

Variable Documentation

◆ version

option version = "1.0.0"

Definition at line 16 of file interface_types.api.