FD.io VPP  v21.06-1-gbb7418cf9
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 };
vl_api_ip_proto_t protocol
Definition: lb_types.api:72
lb_encap_type
Definition: lb_types.api:26
lb_nat_protocol
Definition: lb_types.api:57
option version
Definition: lb_types.api:16
lb_lkp_type_t
Lookup type.
Definition: lb.h:197
unsigned short u16
Definition: types.h:57
lb_vip_type
Definition: lb_types.api:45
typedef lb_vip
Define connection statistics structure.
Definition: lb_types.api:70
lb_srv_type
Definition: lb_types.api:19
u16 port
Definition: lb_types.api:73