FD.io VPP  v20.01-48-g3e0dafb74
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  import "vnet/ip/ip_types.api";
17 
19 {
23 };
24 
26 {
33 };
34 
35 /* Lookup types */
37 {
42 };
43 
45 {
54 };
55 
57 {
61 };
62 
63 /** \brief Define connection statistics structure
64  @param pfx - ip prefix and length
65  @param protocol - tcp or udp.
66  @param port - destination port.
67 */
68 typedef lb_vip
69 {
70  vl_api_address_with_prefix_t pfx;
71  vl_api_ip_proto_t protocol;
73 };
lb_encap_type
Definition: lb_types.api:25
lb_nat_protocol
Definition: lb_types.api:56
vl_api_ip_proto_t protocol
Definition: lb_types.api:71
lb_lkp_type_t
Lookup type.
Definition: lb.h:197
unsigned short u16
Definition: types.h:57
lb_vip_type
Definition: lb_types.api:44
typedef lb_vip
Define connection statistics structure.
Definition: lb_types.api:69
lb_srv_type
Definition: lb_types.api:18
u16 port
Definition: lb_types.api:72