www.usr.com/support/gpl/USR9107_release.1.4.tar.gz
[bcm963xx.git] / kernel / linux / include / linux / netfilter_ipv4 / ip_conntrack_irc.h
1 /* IRC extension for IP connection tracking.
2  * (C) 2000 by Harald Welte <laforge@gnumonks.org>
3  * based on RR's ip_conntrack_ftp.h
4  *
5  * ip_conntrack_irc.h,v 1.6 2000/11/07 18:26:42 laforge Exp
6  *
7  *      This program is free software; you can redistribute it and/or
8  *      modify it under the terms of the GNU General Public License
9  *      as published by the Free Software Foundation; either version
10  *      2 of the License, or (at your option) any later version.
11  *
12  *
13  */
14 #ifndef _IP_CONNTRACK_IRC_H
15 #define _IP_CONNTRACK_IRC_H
16
17 /* We record seq number and length of irc ip/port text here: all in
18    host order. */
19
20 /* This structure is per expected connection */
21 struct ip_ct_irc_expect
22 {
23         /* length of IP address */
24         u_int32_t len;
25         /* Port that was to be used */
26         u_int16_t port;
27 };
28
29 /* This structure exists only once per master */
30 struct ip_ct_irc_master {
31 };
32
33
34 #ifdef __KERNEL__
35
36 #include <linux/netfilter_ipv4/lockhelp.h>
37
38 #define IRC_PORT        6667
39
40 /* Protects irc part of conntracks */
41 DECLARE_LOCK_EXTERN(ip_irc_lock);
42
43 #endif /* __KERNEL__ */
44
45 #endif /* _IP_CONNTRACK_IRC_H */