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