1 /* $Id: iptcrdr.h,v 1.14 2007/12/18 10:14:12 nanard Exp $ */
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 */
11 #include "../commonrdr.h"
14 add_redirect_rule2(const char * ifname
, unsigned short eport
,
15 const char * iaddr
, unsigned short iport
, int proto
,
19 add_filter_rule2(const char * ifname
, const char * iaddr
,
20 unsigned short eport
, unsigned short iport
,
21 int proto
, const char * desc
);
24 delete_redirect_and_filter_rules(unsigned short eport
, int proto
);
28 list_redirect_rule(const char * ifname
);
31 addnatrule(int proto
, unsigned short eport
,
32 const char * iaddr
, unsigned short iport
);
35 add_filter_rule(int proto
, const char * iaddr
, unsigned short iport
);