FD.io VPP  v19.08.3-2-gbabecb413
Vector Packet Processing
types.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2018 Cisco and/or its affiliates.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at:
6  *
7  * http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 #ifndef included_acl_types_h
16 #define included_acl_types_h
17 
18 #include <vnet/vnet.h>
19 #include <vnet/ip/ip.h>
20 
21 typedef struct
22 {
25  ip46_address_t src;
27  ip46_address_t dst;
36 } acl_rule_t;
37 
38 
39 #endif // included_acl_types_h
40 
u8 is_ipv6
Definition: types.h:24
u8 dst_prefixlen
Definition: types.h:28
unsigned char u8
Definition: types.h:56
u16 dst_port_or_code_last
Definition: types.h:33
u8 src_prefixlen
Definition: types.h:26
ip46_address_t src
Definition: types.h:25
u8 is_permit
Definition: types.h:23
ip46_address_t dst
Definition: types.h:27
u16 dst_port_or_code_first
Definition: types.h:32
unsigned short u16
Definition: types.h:57
u8 proto
Definition: types.h:29
u16 src_port_or_type_first
Definition: types.h:30
u16 src_port_or_type_last
Definition: types.h:31
u8 tcp_flags_mask
Definition: types.h:35
u8 tcp_flags_value
Definition: types.h:34