1 /* $Id: iptcrdr.h,v 1.17 2011/06/04 15:44:58 nanard Exp $ */
3 * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/
4 * (c) 2006-2011 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
,
15 const char * rhost
, unsigned short eport
,
16 const char * iaddr
, unsigned short iport
, int proto
,
17 const char * desc
, unsigned int timestamp
);
20 add_filter_rule2(const char * ifname
,
21 const char * rhost
, const char * iaddr
,
22 unsigned short eport
, unsigned short iport
,
23 int proto
, const char * desc
);
26 delete_redirect_and_filter_rules(unsigned short eport
, int proto
);
30 list_redirect_rule(const char * ifname
);