📄 upnpglobalvars.c
字号:
/* $Id: upnpglobalvars.c,v 1.9 2007/09/25 12:54:41 nanard Exp $ *//* MiniUPnP project * http://miniupnp.free.fr/ or http://miniupnp.tuxfamily.org/ * (c) 2006 Thomas Bernard * This software is subject to the conditions detailed * in the LICENCE file provided within the distribution */#include <sys/types.h>#include <netinet/in.h>#include "upnpglobalvars.h"/* network interface for internet */const char * ext_if_name = 0;/* forced ip address to use for this interface * when NULL, getifaddr() is used */const char * use_ext_ip_addr = 0;/* LAN address *//*const char * listen_addr = 0;*/unsigned long downstream_bitrate = 0;unsigned long upstream_bitrate = 0;/* startup time */time_t startup_time = 0;/* use system uptime */int sysuptime = 0;/* log packets flag */int logpackets = 0;const char * pidfilename = "/var/run/miniupnpd.pid";char uuidvalue[] = "uuid:00000000-0000-0000-0000-000000000000";char serialnumber[SERIALNUMBER_MAX_LEN] = "00000000";char modelnumber[MODELNUMBER_MAX_LEN] = "1";/* presentation url : * http://nnn.nnn.nnn.nnn:ppppp/ => max 30 bytes including terminating 0 */char presentationurl[PRESENTATIONURL_MAX_LEN];/* UPnP permission rules : */struct upnpperm * upnppermlist = 0;unsigned int num_upnpperm = 0;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -