FD.io VPP
v20.09-64-g4f7b92f0a
Vector Packet Processing
nat_types.api
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2020 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
16
option
version
=
"0.0.1"
;
17
18
enum
nat_config_flags
:
u8
19
{
20
NAT_IS_NONE
= 0x00,
21
NAT_IS_TWICE_NAT
= 0x01,
22
NAT_IS_SELF_TWICE_NAT
= 0x02,
23
NAT_IS_OUT2IN_ONLY
= 0x04,
24
NAT_IS_ADDR_ONLY
= 0x08,
25
NAT_IS_OUTSIDE
= 0x10,
26
NAT_IS_INSIDE
= 0x20,
27
NAT_IS_STATIC
= 0x40,
28
NAT_IS_EXT_HOST_VALID
= 0x80,
29
};
NAT_IS_SELF_TWICE_NAT
Definition:
nat_types.api:22
NAT_IS_OUT2IN_ONLY
Definition:
nat_types.api:23
u8
unsigned char u8
Definition:
types.h:56
nat_config_flags
nat_config_flags
Definition:
nat_types.api:18
NAT_IS_INSIDE
Definition:
nat_types.api:26
NAT_IS_OUTSIDE
Definition:
nat_types.api:25
version
option version
Definition:
nat_types.api:16
NAT_IS_NONE
Definition:
nat_types.api:20
NAT_IS_STATIC
Definition:
nat_types.api:27
NAT_IS_TWICE_NAT
Definition:
nat_types.api:21
NAT_IS_ADDR_ONLY
Definition:
nat_types.api:24
NAT_IS_EXT_HOST_VALID
Definition:
nat_types.api:28
src
plugins
nat
nat_types.api
Generated on Thu Jun 3 2021 16:04:53 for FD.io VPP by
1.8.13