FD.io VPP  v20.01-rc1
Vector Packet Processing
lb_types.api File Reference

Go to the source code of this file.

Enumerations

enum  lb_srv_type { LB_API_SRV_TYPE_CLUSTERIP = 0, LB_API_SRV_TYPE_NODEPORT = 1, LB_API_SRV_N_TYPES = 2 }
 
enum  lb_encap_type {
  LB_API_ENCAP_TYPE_GRE4 = 0, LB_API_ENCAP_TYPE_GRE6 = 1, LB_API_ENCAP_TYPE_L3DSR = 2, LB_API_ENCAP_TYPE_NAT4 = 3,
  LB_API_ENCAP_TYPE_NAT6 =4, LB_API_ENCAP_N_TYPES =5
}
 
enum  lb_lkp_type_t {
  LB_LKP_SAME_IP_PORT, LB_LKP_DIFF_IP_PORT, LB_LKP_ALL_PORT_IP, LB_LKP_N_TYPES,
  LB_API_LKP_SAME_IP_PORT = 0, LB_API_LKP_DIFF_IP_PORT = 1, LB_API_LKP_ALL_PORT_IP =2, LB_API_LKP_N_TYPES =3
}
 
enum  lb_vip_type {
  LB_API_VIP_TYPE_IP6_GRE6 = 0, LB_API_VIP_TYPE_IP6_GRE4 = 1, LB_API_VIP_TYPE_IP4_GRE6 = 2, LB_API_VIP_TYPE_IP4_GRE4 = 3,
  LB_API_VIP_TYPE_IP4_L3DSR = 4, LB_API_VIP_TYPE_IP4_NAT4 = 5, LB_API_VIP_TYPE_IP6_NAT6 = 6, LB_API_VIP_N_TYPES = 7
}
 
enum  lb_nat_protocol { LB_API_NAT_PROTOCOL_UDP = 0x06, LB_API_NAT_PROTOCOL_TCP = 0x17, LB_API_NAT_PROTOCOL_ANY = 0xffffffff }
 

Variables

import vnet ip ip_types api
 
typedef lb_vip
 Define connection statistics structure. More...
 
vl_api_ip_proto_t protocol
 
u16 port
 

Enumeration Type Documentation

◆ lb_encap_type

Enumerator
LB_API_ENCAP_TYPE_GRE4 
LB_API_ENCAP_TYPE_GRE6 
LB_API_ENCAP_TYPE_L3DSR 
LB_API_ENCAP_TYPE_NAT4 
LB_API_ENCAP_TYPE_NAT6 
LB_API_ENCAP_N_TYPES 

Definition at line 25 of file lb_types.api.

◆ lb_lkp_type_t

Enumerator
LB_LKP_SAME_IP_PORT 
LB_LKP_DIFF_IP_PORT 
LB_LKP_ALL_PORT_IP 
LB_LKP_N_TYPES 
LB_API_LKP_SAME_IP_PORT 
LB_API_LKP_DIFF_IP_PORT 
LB_API_LKP_ALL_PORT_IP 
LB_API_LKP_N_TYPES 

Definition at line 36 of file lb_types.api.

◆ lb_nat_protocol

Enumerator
LB_API_NAT_PROTOCOL_UDP 
LB_API_NAT_PROTOCOL_TCP 
LB_API_NAT_PROTOCOL_ANY 

Definition at line 56 of file lb_types.api.

◆ lb_srv_type

Enumerator
LB_API_SRV_TYPE_CLUSTERIP 
LB_API_SRV_TYPE_NODEPORT 
LB_API_SRV_N_TYPES 

Definition at line 18 of file lb_types.api.

◆ lb_vip_type

Enumerator
LB_API_VIP_TYPE_IP6_GRE6 
LB_API_VIP_TYPE_IP6_GRE4 
LB_API_VIP_TYPE_IP4_GRE6 
LB_API_VIP_TYPE_IP4_GRE4 
LB_API_VIP_TYPE_IP4_L3DSR 
LB_API_VIP_TYPE_IP4_NAT4 
LB_API_VIP_TYPE_IP6_NAT6 
LB_API_VIP_N_TYPES 

Definition at line 44 of file lb_types.api.

Variable Documentation

◆ api

import vnet ip ip_types api

Definition at line 16 of file lb_types.api.

◆ lb_vip

typedef lb_vip
Initial value:
{
vl_api_address_with_prefix_t pfx

Define connection statistics structure.

Template Parameters
pfx- ip prefix and length
protocol- tcp or udp.
port- destination port.

Definition at line 69 of file lb_types.api.

◆ port

u16 port

Definition at line 72 of file lb_types.api.

◆ protocol

vl_api_ip_proto_t protocol

Definition at line 71 of file lb_types.api.