FD.io VPP  v21.06-3-gbb25fbf28
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 
acl_rule_t::dst_port_or_code_first
u16 dst_port_or_code_first
Definition: types.h:32
acl_rule_t
Definition: types.h:21
acl_rule_t::dst_port_or_code_last
u16 dst_port_or_code_last
Definition: types.h:33
u16
unsigned short u16
Definition: types.h:57
acl_rule_t::tcp_flags_mask
u8 tcp_flags_mask
Definition: types.h:35
acl_rule_t::tcp_flags_value
u8 tcp_flags_value
Definition: types.h:34
acl_rule_t::src_port_or_type_last
u16 src_port_or_type_last
Definition: types.h:31
acl_rule_t::is_permit
u8 is_permit
Definition: types.h:23
acl_rule_t::dst
ip46_address_t dst
Definition: types.h:27
acl_rule_t::is_ipv6
u8 is_ipv6
Definition: types.h:24
acl_rule_t::src_prefixlen
u8 src_prefixlen
Definition: types.h:26
ip.h
acl_rule_t::dst_prefixlen
u8 dst_prefixlen
Definition: types.h:28
u8
unsigned char u8
Definition: types.h:56
vnet.h
acl_rule_t::src
ip46_address_t src
Definition: types.h:25
acl_rule_t::src_port_or_type_first
u16 src_port_or_type_first
Definition: types.h:30
acl_rule_t::proto
u8 proto
Definition: types.h:29