Annotation of embedaddon/miniupnpd/netfilter/iptcrdr.h, revision 1.1.1.1
1.1 misho 1: /* $Id: iptcrdr.h,v 1.14 2007/12/18 10:14:12 nanard Exp $ */
2: /* MiniUPnP project
3: * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
4: * (c) 2006 Thomas Bernard
5: * This software is subject to the conditions detailed
6: * in the LICENCE file provided within the distribution */
7:
8: #ifndef __IPTCRDR_H__
9: #define __IPTCRDR_H__
10:
11: #include "../commonrdr.h"
12:
13: int
14: add_redirect_rule2(const char * ifname, unsigned short eport,
15: const char * iaddr, unsigned short iport, int proto,
16: const char * desc);
17:
18: int
19: add_filter_rule2(const char * ifname, const char * iaddr,
20: unsigned short eport, unsigned short iport,
21: int proto, const char * desc);
22:
23: int
24: delete_redirect_and_filter_rules(unsigned short eport, int proto);
25:
26: /* for debug */
27: int
28: list_redirect_rule(const char * ifname);
29:
30: int
31: addnatrule(int proto, unsigned short eport,
32: const char * iaddr, unsigned short iport);
33:
34: int
35: add_filter_rule(int proto, const char * iaddr, unsigned short iport);
36:
37: #endif
38:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>