~ubuntu-branches/debian/wheezy/linux-2.6/wheezy

« back to all changes in this revision

Viewing changes to include/net/netfilter/nf_nat.h

  • Committer: Bazaar Package Importer
  • Author(s): Ben Hutchings, Ben Hutchings, Aurelien Jarno, Martin Michlmayr
  • Date: 2011-04-06 13:53:30 UTC
  • mfrom: (43.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20110406135330-wjufxhd0tvn3zx4z
Tags: 2.6.38-3
[ Ben Hutchings ]
* [ppc64] Add to linux-tools package architectures (Closes: #620124)
* [amd64] Save cr4 to mmu_cr4_features at boot time (Closes: #620284)
* appletalk: Fix bugs introduced when removing use of BKL
* ALSA: Fix yet another race in disconnection
* cciss: Fix lost command issue
* ath9k: Fix kernel panic in AR2427
* ses: Avoid kernel panic when lun 0 is not mapped
* PCI/ACPI: Report ASPM support to BIOS if not disabled from command line

[ Aurelien Jarno ]
* rtlwifi: fix build when PCI is not enabled.

[ Martin Michlmayr ]
* rtlwifi: Eliminate udelay calls with too large values (Closes: #620204)

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
 
6
6
#define NF_NAT_MAPPING_TYPE_MAX_NAMELEN 16
7
7
 
8
 
enum nf_nat_manip_type
9
 
{
 
8
enum nf_nat_manip_type {
10
9
        IP_NAT_MANIP_SRC,
11
10
        IP_NAT_MANIP_DST
12
11
};
30
29
};
31
30
 
32
31
/* Single range specification. */
33
 
struct nf_nat_range
34
 
{
 
32
struct nf_nat_range {
35
33
        /* Set to OR of flags above. */
36
34
        unsigned int flags;
37
35
 
43
41
};
44
42
 
45
43
/* For backwards compat: don't use in modern code. */
46
 
struct nf_nat_multi_range_compat
47
 
{
 
44
struct nf_nat_multi_range_compat {
48
45
        unsigned int rangesize; /* Must be 1. */
49
46
 
50
47
        /* hangs off end. */
57
54
#include <net/netfilter/nf_conntrack_extend.h>
58
55
 
59
56
/* per conntrack: nat application helper private data */
60
 
union nf_conntrack_nat_help
61
 
{
 
57
union nf_conntrack_nat_help {
62
58
        /* insert nat helper private data here */
63
59
        struct nf_nat_pptp nat_pptp_info;
64
60
};
66
62
struct nf_conn;
67
63
 
68
64
/* The structure embedded in the conntrack structure. */
69
 
struct nf_conn_nat
70
 
{
 
65
struct nf_conn_nat {
71
66
        struct hlist_node bysource;
72
67
        struct nf_nat_seq seq[IP_CT_DIR_MAX];
73
68
        struct nf_conn *ct;