Initial commit of vpp code.
[vpp.git] / vnet / vnet / vcgn / cnat_show_api.h
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_SHOW_API_H__
16 #define __CNAT_SHOW_API_H__
17
18 typedef struct _spp_api_cnat_v4_show_inside_entry_req {
19     u16 _spp_msg_id;
20     u16 vrf_id;
21     u32 ipv4_addr;
22     u16 start_port;
23     u16 end_port;
24     u8 flags;
25     u8 all_entries;
26     u8 protocol;
27 } spp_api_cnat_v4_show_inside_entry_req_t;
28
29 typedef struct _spp_api_cnat_v4_show_outside_entry_req {
30     u16 _spp_msg_id;
31     u16 vrf_id;
32     u32 ipv4_addr;
33     u16 start_port;
34     u16 end_port;
35     u8 flags;
36     u8 protocol;
37 } spp_api_cnat_v4_show_outside_entry_req_t;
38
39
40 #endif