summaryrefslogtreecommitdiff
path: root/release/src/linux/linux/include/linux/netfilter_ipv4/ip_conntrack_mms.h
blob: c83922c1e9348636c2253550e7c15992b15ba0c4 (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_MMS_H
#define _IP_CONNTRACK_MMS_H
/* MMS tracking. */

#ifdef __KERNEL__
#include <linux/netfilter_ipv4/lockhelp.h>

DECLARE_LOCK_EXTERN(ip_mms_lock);

#define MMS_PORT                         1755
#define MMS_SRV_MSG_ID                   196610

#define MMS_SRV_MSG_OFFSET               36
#define MMS_SRV_UNICODE_STRING_OFFSET    60
#define MMS_SRV_CHUNKLENLV_OFFSET        16
#define MMS_SRV_CHUNKLENLM_OFFSET        32
#define MMS_SRV_MESSAGELENGTH_OFFSET     8
#endif

/* This structure is per expected connection */
struct ip_ct_mms_expect {
	u_int32_t len;
	u_int32_t padding;
	u_int16_t port;
};

/* This structure exists only once per master */
struct ip_ct_mms_master {
};

#endif /* _IP_CONNTRACK_MMS_H */