OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [LINUX_2_4_26_OR32/] [linux/] [linux-2.4/] [include/] [linux/] [netfilter_ipv4/] [ip_conntrack_irc.h] - Blame information for rev 1279

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
/* 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
struct dccproto {
41
        char* match;
42
        int matchlen;
43
};
44
 
45
/* Protects irc part of conntracks */
46
DECLARE_LOCK_EXTERN(ip_irc_lock);
47
 
48
#endif /* __KERNEL__ */
49
 
50
#endif /* _IP_CONNTRACK_IRC_H */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.