FD.io VPP
v20.09-64-g4f7b92f0a
Vector Packet Processing
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
b
d
e
f
g
i
l
m
n
o
p
r
s
t
v
w
+
Functions
d
f
g
l
m
n
o
p
t
v
Variables
Typedefs
Enumerations
Enumerator
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
~
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
c
e
g
h
k
m
n
o
r
s
+
Related Functions
c
d
e
h
i
m
o
p
r
s
v
+
Source
Files
+
Symbols
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Enumerations
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Macros
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
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
{
23
u8
is_permit
;
24
u8
is_ipv6
;
25
ip46_address_t
src
;
26
u8
src_prefixlen
;
27
ip46_address_t
dst
;
28
u8
dst_prefixlen
;
29
u8
proto
;
30
u16
src_port_or_type_first
;
31
u16
src_port_or_type_last
;
32
u16
dst_port_or_code_first
;
33
u16
dst_port_or_code_last
;
34
u8
tcp_flags_value
;
35
u8
tcp_flags_mask
;
36
}
acl_rule_t
;
37
38
39
#endif // included_acl_types_h
40
acl_rule_t::is_ipv6
u8 is_ipv6
Definition:
types.h:24
acl_rule_t::dst_prefixlen
u8 dst_prefixlen
Definition:
types.h:28
ip.h
u8
unsigned char u8
Definition:
types.h:56
acl_rule_t::dst_port_or_code_last
u16 dst_port_or_code_last
Definition:
types.h:33
acl_rule_t::src_prefixlen
u8 src_prefixlen
Definition:
types.h:26
acl_rule_t::src
ip46_address_t src
Definition:
types.h:25
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::dst_port_or_code_first
u16 dst_port_or_code_first
Definition:
types.h:32
u16
unsigned short u16
Definition:
types.h:57
acl_rule_t::proto
u8 proto
Definition:
types.h:29
vnet.h
acl_rule_t::src_port_or_type_first
u16 src_port_or_type_first
Definition:
types.h:30
acl_rule_t
Definition:
types.h:21
acl_rule_t::src_port_or_type_last
u16 src_port_or_type_last
Definition:
types.h:31
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
src
plugins
acl
types.h
Generated on Thu Jun 3 2021 16:04:01 for FD.io VPP by
1.8.13