diff options
author | Patrick McHardy <kaber@trash.net> | 2006-12-03 01:08:46 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-12-03 01:08:46 -0500 |
commit | f587de0e2feb9eb9b94f98d0a7b7437e4d6617b4 (patch) | |
tree | 64d29dcacf895c37c4b7520bc8b07f0845baf914 /include/net | |
parent | 16958900578b94585c2ab9a2d20d837b4d5e3ba6 (diff) |
[NETFILTER]: nf_conntrack/nf_nat: add H.323 helper port
Add IPv4 and IPv6 capable nf_conntrack port of the H.323 conntrack/NAT helper.
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/netfilter/nf_conntrack.h | 2 | ||||
-rw-r--r-- | include/net/netfilter/nf_conntrack_expect.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/net/netfilter/nf_conntrack.h b/include/net/netfilter/nf_conntrack.h index 83694cfdfa8f..1646076933b1 100644 --- a/include/net/netfilter/nf_conntrack.h +++ b/include/net/netfilter/nf_conntrack.h | |||
@@ -41,11 +41,13 @@ union nf_conntrack_expect_proto { | |||
41 | 41 | ||
42 | /* Add protocol helper include file here */ | 42 | /* Add protocol helper include file here */ |
43 | #include <linux/netfilter/nf_conntrack_ftp.h> | 43 | #include <linux/netfilter/nf_conntrack_ftp.h> |
44 | #include <linux/netfilter/nf_conntrack_h323.h> | ||
44 | 45 | ||
45 | /* per conntrack: application helper private data */ | 46 | /* per conntrack: application helper private data */ |
46 | union nf_conntrack_help { | 47 | union nf_conntrack_help { |
47 | /* insert conntrack helper private data (master) here */ | 48 | /* insert conntrack helper private data (master) here */ |
48 | struct nf_ct_ftp_master ct_ftp_info; | 49 | struct nf_ct_ftp_master ct_ftp_info; |
50 | struct nf_ct_h323_master ct_h323_info; | ||
49 | }; | 51 | }; |
50 | 52 | ||
51 | #include <linux/types.h> | 53 | #include <linux/types.h> |
diff --git a/include/net/netfilter/nf_conntrack_expect.h b/include/net/netfilter/nf_conntrack_expect.h index 54a3d038beaa..cef3136e22a3 100644 --- a/include/net/netfilter/nf_conntrack_expect.h +++ b/include/net/netfilter/nf_conntrack_expect.h | |||
@@ -41,6 +41,7 @@ struct nf_conntrack_expect | |||
41 | unsigned int flags; | 41 | unsigned int flags; |
42 | 42 | ||
43 | #ifdef CONFIG_NF_NAT_NEEDED | 43 | #ifdef CONFIG_NF_NAT_NEEDED |
44 | __be32 saved_ip; | ||
44 | /* This is the original per-proto part, used to map the | 45 | /* This is the original per-proto part, used to map the |
45 | * expected connection the way the recipient expects. */ | 46 | * expected connection the way the recipient expects. */ |
46 | union nf_conntrack_man_proto saved_proto; | 47 | union nf_conntrack_man_proto saved_proto; |