FD.io VPP  v20.05.1-5-g09f167997
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, 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,
  MTU_PROTO_API_L3, MTU_PROTO_API_IP4, MTU_PROTO_API_IP6, MTU_PROTO_API_MPLS,
  MTU_PROTO_API_N
}
 
enum  link_duplex {
  LINK_DUPLEX_API_UNKNOWN = 0, LINK_DUPLEX_API_HALF = 1, LINK_DUPLEX_API_FULL = 2, 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, 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, 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,
  IF_API_TYPE_HARDWARE, IF_API_TYPE_SUB, IF_API_TYPE_P2P, IF_API_TYPE_PIPE
}
 

Typedef Documentation

◆ interface_index

Definition at line 17 of file interface_types.api.

Enumeration Type Documentation

◆ if_status_flags

Enumerator
IF_STATUS_API_FLAG_ADMIN_UP 
IF_STATUS_API_FLAG_LINK_UP 
IF_STATUS_API_FLAG_ADMIN_UP 
IF_STATUS_API_FLAG_LINK_UP 

Definition at line 19 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 
IF_API_TYPE_HARDWARE 
IF_API_TYPE_SUB 
IF_API_TYPE_P2P 
IF_API_TYPE_PIPE 

Definition at line 64 of file interface_types.api.

◆ link_duplex

Enumerator
LINK_DUPLEX_API_UNKNOWN 
LINK_DUPLEX_API_HALF 
LINK_DUPLEX_API_FULL 
LINK_DUPLEX_API_UNKNOWN 
LINK_DUPLEX_API_HALF 
LINK_DUPLEX_API_FULL 

Definition at line 34 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 
MTU_PROTO_API_L3 
MTU_PROTO_API_IP4 
MTU_PROTO_API_IP6 
MTU_PROTO_API_MPLS 
MTU_PROTO_API_N 

Definition at line 26 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 
RX_MODE_API_UNKNOWN 
RX_MODE_API_POLLING 
RX_MODE_API_INTERRUPT 
RX_MODE_API_ADAPTIVE 
RX_MODE_API_DEFAULT 

Definition at line 55 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 
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 41 of file interface_types.api.