version 1.1.1.2, 2012/05/29 12:55:57
|
version 1.1.1.3, 2013/07/22 00:32:35
|
Line 1
|
Line 1
|
/* $Id$ */ |
/* $Id$ */ |
/* MiniUPnP project |
/* MiniUPnP project |
* http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/ |
* http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/ |
* (c) 2006-2010 Thomas Bernard | * (c) 2006-2012 Thomas Bernard |
* This software is subject to the conditions detailed |
* This software is subject to the conditions detailed |
* in the LICENCE file provided within the distribution */ |
* in the LICENCE file provided within the distribution */ |
|
|
Line 45 char modelnumber[MODELNUMBER_MAX_LEN] = "1";
|
Line 45 char modelnumber[MODELNUMBER_MAX_LEN] = "1";
|
* http://nnn.nnn.nnn.nnn:ppppp/ => max 30 bytes including terminating 0 */ |
* http://nnn.nnn.nnn.nnn:ppppp/ => max 30 bytes including terminating 0 */ |
char presentationurl[PRESENTATIONURL_MAX_LEN]; |
char presentationurl[PRESENTATIONURL_MAX_LEN]; |
|
|
|
/* friendly name for root devices in XML description */ |
|
char friendly_name[FRIENDLY_NAME_MAX_LEN] = OS_NAME " router"; |
|
|
/* UPnP permission rules : */ |
/* UPnP permission rules : */ |
struct upnpperm * upnppermlist = 0; |
struct upnpperm * upnppermlist = 0; |
unsigned int num_upnpperm = 0; |
unsigned int num_upnpperm = 0; |
Line 62 unsigned short nextnatpmptoclean_proto = 0;
|
Line 65 unsigned short nextnatpmptoclean_proto = 0;
|
unsigned int nextruletoclean_timestamp = 0; |
unsigned int nextruletoclean_timestamp = 0; |
|
|
#ifdef USE_PF |
#ifdef USE_PF |
|
const char * anchor_name = "miniupnpd"; |
const char * queue = 0; |
const char * queue = 0; |
const char * tag = 0; |
const char * tag = 0; |
#endif |
#endif |
Line 71 const char * tag = 0;
|
Line 75 const char * tag = 0;
|
* and the filter table */ |
* and the filter table */ |
const char * miniupnpd_nat_chain = "MINIUPNPD"; |
const char * miniupnpd_nat_chain = "MINIUPNPD"; |
const char * miniupnpd_forward_chain = "MINIUPNPD"; |
const char * miniupnpd_forward_chain = "MINIUPNPD"; |
|
#ifdef ENABLE_6FC_SERVICE |
|
const char * miniupnpd_v6_filter_chain = "MINIUPNPD"; |
|
#endif |
|
|
#endif |
#endif |
#ifdef ENABLE_NFQUEUE |
#ifdef ENABLE_NFQUEUE |
int nfqueue = -1; |
int nfqueue = -1; |