blob: 3803c1263428aa0452e55e9e8936f12b58ed8c43 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#ifndef _IP_CONNTRACK_H323_H
#define _IP_CONNTRACK_H323_H
/* H.323 connection tracking. */
#ifdef __KERNEL__
/* Protects H.323 related data */
#include <linux/netfilter_ipv4/lockhelp.h>
DECLARE_LOCK_EXTERN(ip_h323_lock);
#endif
/* Default H.225 port */
#define H225_PORT 1720
/* This structure is per expected connection */
struct ip_ct_h225_expect {
u_int16_t port; /* Port of the H.225 helper/RTCP/RTP channel */
enum ip_conntrack_dir dir; /* Direction of the original connection */
unsigned int offset; /* offset of the address in the payload */
};
/* This structure exists only once per master */
struct ip_ct_h225_master {
int is_h225; /* H.225 or H.245 connection */
#ifdef CONFIG_IP_NF_NAT_NEEDED
enum ip_conntrack_dir dir; /* Direction of the original connection */
u_int32_t seq[IP_CT_DIR_MAX]; /* Exceptional packet mangling for signal addressess... */
unsigned int offset[IP_CT_DIR_MAX]; /* ...and the offset of the addresses in the payload */
#endif
};
#endif /* _IP_CONNTRACK_H323_H */
|