FD.io VPP
v17.01.1-3-gc6833f8
Vector Packet Processing
Main Page
Related Pages
Data Structures
Source
Files
Symbols
cnat_ipv4_udp.h
Go to the documentation of this file.
1
/*
2
*-----------------------------------------------------------------------------
3
*
4
* Filename: cnat_ipv4_udp.h
5
*
6
* Description: common functions for udp node
7
*
8
* Assumptions and Constraints:
9
*
10
* Copyright (c) 2000-2009 Cisco and/or its affiliates.
11
* Licensed under the Apache License, Version 2.0 (the "License");
12
* you may not use this file except in compliance with the License.
13
* You may obtain a copy of the License at:
14
*
15
* http://www.apache.org/licenses/LICENSE-2.0
16
*
17
* Unless required by applicable law or agreed to in writing, software
18
* distributed under the License is distributed on an "AS IS" BASIS,
19
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20
* See the License for the specific language governing permissions and
21
* limitations under the License.
22
*-----------------------------------------------------------------------------
23
*/
24
25
#ifndef __CNAT_IPV4_UDP_H__
26
#define __CNAT_IPV4_UDP_H__
27
28
#include "
tcp_header_definitions.h
"
29
#include "
cnat_db.h
"
30
#include "
cnat_v4_functions.h
"
31
#include "
cnat_global.h
"
32
#include "
cnat_config.h
"
33
34
extern
void
swap_ip_src_udp_port
(
ipv4_header
*ip,
35
udp_hdr_type_t
*udp,
36
cnat_main_db_entry_t
*db);
37
extern
void
swap_ip_dst_udp_port
(
ipv4_header
*ip,
38
udp_hdr_type_t
*udp,
39
cnat_main_db_entry_t
*db,
40
u16
vrf);
41
#endif
/* __CNAT_IPV4_UDP_H__ */
tcp_header_definitions.h
ipv4_header
Definition:
tcp_header_definitions.h:1009
cnat_db.h
cnat_main_db_entry_t
Definition:
cnat_db.h:153
swap_ip_dst_udp_port
void swap_ip_dst_udp_port(ipv4_header *ip, udp_hdr_type_t *udp, cnat_main_db_entry_t *db, u16 vrf)
Definition:
cnat_ipv4_udp_outside_input.c:180
cnat_v4_functions.h
udp_hdr_type
Definition:
tcp_header_definitions.h:1282
cnat_config.h
cnat_global.h
u16
unsigned short u16
Definition:
types.h:57
swap_ip_src_udp_port
void swap_ip_src_udp_port(ipv4_header *ip, udp_hdr_type_t *udp, cnat_main_db_entry_t *db)
Definition:
cnat_ipv4_udp_inside_input.c:114
plugins
vcgn-plugin
vcgn
cnat_ipv4_udp.h
Generated on Mon May 15 2017 22:01:38 for FD.io VPP by
1.8.11