Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
include
net
tc_act
tc_nat.h
Go to the documentation of this file.
1
#ifndef __NET_TC_NAT_H
2
#define __NET_TC_NAT_H
3
4
#include <linux/types.h>
5
#include <
net/act_api.h
>
6
7
struct
tcf_nat
{
8
struct
tcf_common
common
;
9
10
__be32
old_addr
;
11
__be32
new_addr
;
12
__be32
mask
;
13
u32
flags
;
14
};
15
16
static
inline
struct
tcf_nat
*to_tcf_nat(
struct
tcf_common
*
pc
)
17
{
18
return
container_of
(pc,
struct
tcf_nat
,
common
);
19
}
20
21
#endif
/* __NET_TC_NAT_H */
Generated on Thu Jan 10 2013 14:53:18 for Linux Kernel by
1.8.2