[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>
This commit is contained in:
committed by
David S. Miller
parent
1695890057
commit
f587de0e2f
@@ -41,11 +41,13 @@ union nf_conntrack_expect_proto {
|
||||
|
||||
/* Add protocol helper include file here */
|
||||
#include <linux/netfilter/nf_conntrack_ftp.h>
|
||||
#include <linux/netfilter/nf_conntrack_h323.h>
|
||||
|
||||
/* per conntrack: application helper private data */
|
||||
union nf_conntrack_help {
|
||||
/* insert conntrack helper private data (master) here */
|
||||
struct nf_ct_ftp_master ct_ftp_info;
|
||||
struct nf_ct_h323_master ct_h323_info;
|
||||
};
|
||||
|
||||
#include <linux/types.h>
|
||||
|
||||
@@ -41,6 +41,7 @@ struct nf_conntrack_expect
|
||||
unsigned int flags;
|
||||
|
||||
#ifdef CONFIG_NF_NAT_NEEDED
|
||||
__be32 saved_ip;
|
||||
/* This is the original per-proto part, used to map the
|
||||
* expected connection the way the recipient expects. */
|
||||
union nf_conntrack_man_proto saved_proto;
|
||||
|
||||
Reference in New Issue
Block a user