Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
nf_conntrack_h323_main.c File Reference
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/ctype.h>
#include <linux/inet.h>
#include <linux/in.h>
#include <linux/ip.h>
#include <linux/slab.h>
#include <linux/udp.h>
#include <linux/tcp.h>
#include <linux/skbuff.h>
#include <net/route.h>
#include <net/ip6_route.h>
#include <net/netfilter/nf_conntrack.h>
#include <net/netfilter/nf_conntrack_core.h>
#include <net/netfilter/nf_conntrack_tuple.h>
#include <net/netfilter/nf_conntrack_expect.h>
#include <net/netfilter/nf_conntrack_ecache.h>
#include <net/netfilter/nf_conntrack_helper.h>
#include <net/netfilter/nf_conntrack_zones.h>
#include <linux/netfilter/nf_conntrack_h323.h>

Go to the source code of this file.

Functions

 module_param (default_rrq_ttl, uint, 0600)
 
 MODULE_PARM_DESC (default_rrq_ttl,"use this TTL if it's missing in RRQ")
 
 module_param (gkrouted_only, int, 0600)
 
 MODULE_PARM_DESC (gkrouted_only,"only accept calls from gatekeeper")
 
 module_param (callforward_filter, bool, 0600)
 
 MODULE_PARM_DESC (callforward_filter,"only create call forwarding expectations ""if both endpoints are on different sides ""(determined by routing information)")
 
int get_h225_addr (struct nf_conn *ct, unsigned char *data, TransportAddress *taddr, union nf_inet_addr *addr, __be16 *port)
 
 module_init (nf_conntrack_h323_init)
 
 module_exit (nf_conntrack_h323_fini)
 
 EXPORT_SYMBOL_GPL (get_h225_addr)
 
 EXPORT_SYMBOL_GPL (set_h245_addr_hook)
 
 EXPORT_SYMBOL_GPL (set_h225_addr_hook)
 
 EXPORT_SYMBOL_GPL (set_sig_addr_hook)
 
 EXPORT_SYMBOL_GPL (set_ras_addr_hook)
 
 EXPORT_SYMBOL_GPL (nat_rtp_rtcp_hook)
 
 EXPORT_SYMBOL_GPL (nat_t120_hook)
 
 EXPORT_SYMBOL_GPL (nat_h245_hook)
 
 EXPORT_SYMBOL_GPL (nat_callforwarding_hook)
 
 EXPORT_SYMBOL_GPL (nat_q931_hook)
 
 MODULE_AUTHOR ("Jing Min Zhao <[email protected]>")
 
 MODULE_DESCRIPTION ("H.323 connection tracking helper")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("ip_conntrack_h323")
 
 MODULE_ALIAS_NFCT_HELPER ("RAS")
 
 MODULE_ALIAS_NFCT_HELPER ("Q.931")
 
 MODULE_ALIAS_NFCT_HELPER ("H.245")
 

Variables

int(* set_h245_addr_hook )(struct sk_buff *skb, unsigned int protoff, unsigned char **data, int dataoff, H245_TransportAddress *taddr, union nf_inet_addr *addr, __be16 port) __read_mostly
 
int(* set_h225_addr_hook )(struct sk_buff *skb, unsigned int protoff, unsigned char **data, int dataoff, TransportAddress *taddr, union nf_inet_addr *addr, __be16 port) __read_mostly
 
int(* set_sig_addr_hook )(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned char **data, TransportAddress *taddr, int count) __read_mostly
 
int(* set_ras_addr_hook )(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned char **data, TransportAddress *taddr, int count) __read_mostly
 
int(* nat_rtp_rtcp_hook )(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned char **data, int dataoff, H245_TransportAddress *taddr, __be16 port, __be16 rtp_port, struct nf_conntrack_expect *rtp_exp, struct nf_conntrack_expect *rtcp_exp) __read_mostly
 
int(* nat_t120_hook )(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned char **data, int dataoff, H245_TransportAddress *taddr, __be16 port, struct nf_conntrack_expect *exp) __read_mostly
 
int(* nat_h245_hook )(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned char **data, int dataoff, TransportAddress *taddr, __be16 port, struct nf_conntrack_expect *exp) __read_mostly
 
int(* nat_callforwarding_hook )(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned char **data, int dataoff, TransportAddress *taddr, __be16 port, struct nf_conntrack_expect *exp) __read_mostly
 
int(* nat_q931_hook )(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned char **data, TransportAddress *taddr, int idx, __be16 port, struct nf_conntrack_expect *exp) __read_mostly
 

Function Documentation

EXPORT_SYMBOL_GPL ( get_h225_addr  )
EXPORT_SYMBOL_GPL ( set_h245_addr_hook  )
EXPORT_SYMBOL_GPL ( set_h225_addr_hook  )
EXPORT_SYMBOL_GPL ( set_sig_addr_hook  )
EXPORT_SYMBOL_GPL ( set_ras_addr_hook  )
EXPORT_SYMBOL_GPL ( nat_rtp_rtcp_hook  )
EXPORT_SYMBOL_GPL ( nat_t120_hook  )
EXPORT_SYMBOL_GPL ( nat_h245_hook  )
EXPORT_SYMBOL_GPL ( nat_callforwarding_hook  )
EXPORT_SYMBOL_GPL ( nat_q931_hook  )
int get_h225_addr ( struct nf_conn ct,
unsigned char data,
TransportAddress taddr,
union nf_inet_addr addr,
__be16 port 
)

Definition at line 647 of file nf_conntrack_h323_main.c.

MODULE_ALIAS ( "ip_conntrack_h323"  )
MODULE_ALIAS_NFCT_HELPER ( "RAS"  )
MODULE_ALIAS_NFCT_HELPER ( "Q.931"  )
MODULE_ALIAS_NFCT_HELPER ( "H.245"  )
MODULE_AUTHOR ( "Jing Min Zhao <[email protected]>"  )
MODULE_DESCRIPTION ( "H.323 connection tracking helper"  )
module_exit ( nf_conntrack_h323_fini  )
module_init ( nf_conntrack_h323_init  )
MODULE_LICENSE ( "GPL"  )
module_param ( default_rrq_ttl  ,
uint  ,
0600   
)
module_param ( gkrouted_only  ,
int  ,
0600   
)
module_param ( callforward_filter  ,
bool  ,
0600   
)
MODULE_PARM_DESC ( default_rrq_ttl  ,
"use this TTL if it's missing in RRQ  
)
MODULE_PARM_DESC ( gkrouted_only  ,
"only accept calls from gatekeeper"   
)
MODULE_PARM_DESC ( callforward_filter  ,
"only create call forwarding expectations ""if both endpoints are on different sides ""(determined by routing information)"   
)

Variable Documentation

int(* nat_callforwarding_hook)(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned char **data, int dataoff, TransportAddress *taddr, __be16 port, struct nf_conntrack_expect *exp) __read_mostly

Definition at line 95 of file nf_conntrack_h323_main.c.

int(* nat_h245_hook)(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned char **data, int dataoff, TransportAddress *taddr, __be16 port, struct nf_conntrack_expect *exp) __read_mostly

Definition at line 88 of file nf_conntrack_h323_main.c.

int(* nat_q931_hook)(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned char **data, TransportAddress *taddr, int idx, __be16 port, struct nf_conntrack_expect *exp) __read_mostly

Definition at line 102 of file nf_conntrack_h323_main.c.

int(* nat_rtp_rtcp_hook)(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned char **data, int dataoff, H245_TransportAddress *taddr, __be16 port, __be16 rtp_port, struct nf_conntrack_expect *rtp_exp, struct nf_conntrack_expect *rtcp_exp) __read_mostly

Definition at line 72 of file nf_conntrack_h323_main.c.

int(* nat_t120_hook)(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned char **data, int dataoff, H245_TransportAddress *taddr, __be16 port, struct nf_conntrack_expect *exp) __read_mostly

Definition at line 81 of file nf_conntrack_h323_main.c.

int(* set_h225_addr_hook)(struct sk_buff *skb, unsigned int protoff, unsigned char **data, int dataoff, TransportAddress *taddr, union nf_inet_addr *addr, __be16 port) __read_mostly

Definition at line 57 of file nf_conntrack_h323_main.c.

int(* set_h245_addr_hook)(struct sk_buff *skb, unsigned int protoff, unsigned char **data, int dataoff, H245_TransportAddress *taddr, union nf_inet_addr *addr, __be16 port) __read_mostly

Definition at line 52 of file nf_conntrack_h323_main.c.

int(* set_ras_addr_hook)(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned char **data, TransportAddress *taddr, int count) __read_mostly

Definition at line 67 of file nf_conntrack_h323_main.c.

int(* set_sig_addr_hook)(struct sk_buff *skb, struct nf_conn *ct, enum ip_conntrack_info ctinfo, unsigned int protoff, unsigned char **data, TransportAddress *taddr, int count) __read_mostly

Definition at line 62 of file nf_conntrack_h323_main.c.