FD.io VPP  v17.01-9-ge7dcee4
Vector Packet Processing
cnat_config_api.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 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 __CNAT_CONFIG_API_H__
16 #define __CNAT_CONFIG_API_H__
17 
18 typedef struct _spp_api_cnat_v4_add_vrf_map {
19  u16 _spp_msg_id;
20  u8 rc;
21  u8 pad;
22  u32 i_vrf_id;
23  u32 o_vrf_id;
24  u16 i_vrf;
25  u16 o_vrf;
26  u32 start_addr[8];
27  u32 end_addr[8];
29 
30 typedef struct _spp_api_cnat_v4_config_nfv9_logging {
31  u16 _spp_msg_id;
32  u8 rc;
33  u8 enable;
34  u32 ipv4_address;
35  u32 i_vrf_id;
36  u16 i_vrf;
37  u16 port;
38  u16 refresh_rate;
39  u16 timeout_rate;
40  u16 path_mtu;
41  u8 nfv9_global_collector;
42  u8 session_logging;
44 
45 
46 #endif
u8 pad[3]
log2 (size of the packing page block)
Definition: bihash_doc.h:61
struct _spp_api_cnat_v4_config_nfv9_logging spp_api_cnat_v4_config_nfv9_logging_t
struct _spp_api_cnat_v4_add_vrf_map spp_api_cnat_v4_add_vrf_map_t
unsigned int u32
Definition: types.h:88
unsigned short u16
Definition: types.h:57
unsigned char u8
Definition: types.h:56