version 1.1.1.1, 2012/02/21 23:16:02
|
version 1.1.1.2, 2012/05/29 12:55:57
|
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-2011 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 49 extern int runtime_flags;
|
Line 49 extern int runtime_flags;
|
#endif |
#endif |
|
|
#define SETFLAG(mask) runtime_flags |= mask |
#define SETFLAG(mask) runtime_flags |= mask |
#define GETFLAG(mask) runtime_flags & mask | #define GETFLAG(mask) (runtime_flags & mask) |
#define CLEARFLAG(mask) runtime_flags &= ~mask |
#define CLEARFLAG(mask) runtime_flags &= ~mask |
|
|
extern const char * pidfilename; |
extern const char * pidfilename; |
Line 71 extern unsigned int num_upnpperm;
|
Line 71 extern unsigned int num_upnpperm;
|
|
|
#ifdef ENABLE_NATPMP |
#ifdef ENABLE_NATPMP |
/* NAT-PMP */ |
/* NAT-PMP */ |
|
#if 0 |
extern unsigned int nextnatpmptoclean_timestamp; |
extern unsigned int nextnatpmptoclean_timestamp; |
extern unsigned short nextnatpmptoclean_eport; |
extern unsigned short nextnatpmptoclean_eport; |
extern unsigned short nextnatpmptoclean_proto; |
extern unsigned short nextnatpmptoclean_proto; |
#endif |
#endif |
|
#endif |
|
|
|
/* For automatic removal of expired rules (with LeaseDuration) */ |
|
extern unsigned int nextruletoclean_timestamp; |
|
|
#ifdef USE_PF |
#ifdef USE_PF |
/* queue and tag for PF rules */ |
/* queue and tag for PF rules */ |
extern const char * queue; |
extern const char * queue; |
Line 92 extern int nfqueue;
|
Line 97 extern int nfqueue;
|
extern int n_nfqix; |
extern int n_nfqix; |
extern unsigned nfqix[]; |
extern unsigned nfqix[]; |
#endif |
#endif |
/* lan addresses */ |
|
/* MAX_LAN_ADDR : maximum number of interfaces |
|
* to listen to SSDP traffic */ |
|
#define MAX_LAN_ADDR (4) |
|
extern int n_lan_addr; |
|
extern struct lan_addr_s lan_addr[]; |
|
|
|
|
/* lan addresses to listen to SSDP traffic */ |
|
extern struct lan_addr_list lan_addrs; |
|
|
|
#ifdef ENABLE_IPV6 |
|
/* ipv6 address used for HTTP */ |
|
extern char ipv6_addr_for_http_with_brackets[64]; |
|
#endif |
|
|
extern const char * minissdpdsocketpath; |
extern const char * minissdpdsocketpath; |
|
|
|
/* BOOTID.UPNP.ORG and CONFIGID.UPNP.ORG */ |
|
extern unsigned int upnp_bootid; |
|
extern unsigned int upnp_configid; |
|
|
|
#ifdef ENABLE_6FC_SERVICE |
|
extern int ipv6fc_firewall_enabled; |
|
extern int ipv6fc_inbound_pinhole_allowed; |
|
#endif |
|
|
#endif |
#endif |
|
|