FD.io VPP  v21.10.1-2-g0a485f517
Vector Packet Processing
lb_types.api
Go to the documentation of this file.
1 /* Hey Emacs use -*- mode: C -*- */
2 /*
3  * Copyright (c) 2019 Vinci Consulting Corp. All Rights Reserved.
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at:
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 option version = "1.0.0";
17 import "vnet/ip/ip_types.api";
18 
20 {
24 };
25 
27 {
34 };
35 
36 /* Lookup types */
38 {
43 };
44 
46 {
55 };
56 
58 {
62 };
63 
64 /** \brief Define connection statistics structure
65  @param pfx - ip prefix and length
66  @param protocol - tcp or udp.
67  @param port - destination port.
68 */
69 typedef lb_vip
70 {
71  vl_api_address_with_prefix_t pfx;
72  vl_api_ip_proto_t protocol;
74 };
LB_API_VIP_N_TYPES
@ LB_API_VIP_N_TYPES
Definition: lb_types.api:54
LB_API_NAT_PROTOCOL_UDP
@ LB_API_NAT_PROTOCOL_UDP
Definition: lb_types.api:59
version
option version
Definition: lb_types.api:16
u16
unsigned short u16
Definition: types.h:57
port
u16 port
Definition: lb_types.api:73
lb_encap_type
lb_encap_type
Definition: lb_types.api:26
LB_API_ENCAP_N_TYPES
@ LB_API_ENCAP_N_TYPES
Definition: lb_types.api:33
LB_API_LKP_DIFF_IP_PORT
@ LB_API_LKP_DIFF_IP_PORT
Definition: lb_types.api:40
LB_API_ENCAP_TYPE_GRE6
@ LB_API_ENCAP_TYPE_GRE6
Definition: lb_types.api:29
LB_API_VIP_TYPE_IP6_NAT6
@ LB_API_VIP_TYPE_IP6_NAT6
Definition: lb_types.api:53
LB_API_SRV_TYPE_NODEPORT
@ LB_API_SRV_TYPE_NODEPORT
Definition: lb_types.api:22
LB_API_SRV_TYPE_CLUSTERIP
@ LB_API_SRV_TYPE_CLUSTERIP
Definition: lb_types.api:21
LB_API_VIP_TYPE_IP6_GRE6
@ LB_API_VIP_TYPE_IP6_GRE6
Definition: lb_types.api:47
LB_API_ENCAP_TYPE_GRE4
@ LB_API_ENCAP_TYPE_GRE4
Definition: lb_types.api:28
LB_API_VIP_TYPE_IP6_GRE4
@ LB_API_VIP_TYPE_IP6_GRE4
Definition: lb_types.api:48
lb_srv_type
lb_srv_type
Definition: lb_types.api:19
lb_lkp_type_t
lb_lkp_type_t
Lookup type.
Definition: lb.h:197
LB_API_LKP_N_TYPES
@ LB_API_LKP_N_TYPES
Definition: lb_types.api:42
LB_API_LKP_SAME_IP_PORT
@ LB_API_LKP_SAME_IP_PORT
Definition: lb_types.api:39
lb_vip
typedef lb_vip
Define connection statistics structure.
Definition: lb_types.api:70
LB_API_VIP_TYPE_IP4_L3DSR
@ LB_API_VIP_TYPE_IP4_L3DSR
Definition: lb_types.api:51
LB_API_NAT_PROTOCOL_TCP
@ LB_API_NAT_PROTOCOL_TCP
Definition: lb_types.api:60
LB_API_NAT_PROTOCOL_ANY
@ LB_API_NAT_PROTOCOL_ANY
Definition: lb_types.api:61
lb_nat_protocol
lb_nat_protocol
Definition: lb_types.api:57
protocol
vl_api_ip_proto_t protocol
Definition: lb_types.api:72
LB_API_ENCAP_TYPE_L3DSR
@ LB_API_ENCAP_TYPE_L3DSR
Definition: lb_types.api:30
LB_API_VIP_TYPE_IP4_GRE6
@ LB_API_VIP_TYPE_IP4_GRE6
Definition: lb_types.api:49
LB_API_LKP_ALL_PORT_IP
@ LB_API_LKP_ALL_PORT_IP
Definition: lb_types.api:41
LB_API_SRV_N_TYPES
@ LB_API_SRV_N_TYPES
Definition: lb_types.api:23
lb_vip_type
lb_vip_type
Definition: lb_types.api:45
LB_API_ENCAP_TYPE_NAT6
@ LB_API_ENCAP_TYPE_NAT6
Definition: lb_types.api:32
LB_API_VIP_TYPE_IP4_NAT4
@ LB_API_VIP_TYPE_IP4_NAT4
Definition: lb_types.api:52
LB_API_VIP_TYPE_IP4_GRE4
@ LB_API_VIP_TYPE_IP4_GRE4
Definition: lb_types.api:50
LB_API_ENCAP_TYPE_NAT4
@ LB_API_ENCAP_TYPE_NAT4
Definition: lb_types.api:31