Monero
Loading...
Searching...
No Matches
upnpglobalvars.h File Reference
#include <time.h>
#include "upnppermissions.h"
#include "miniupnpdtypes.h"
#include "config.h"
Include dependency graph for upnpglobalvars.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define LOGPACKETSMASK   0x0001
#define SYSUPTIMEMASK   0x0002
#define CHECKCLIENTIPMASK   0x0008
#define SECUREMODEMASK   0x0010
#define ENABLEUPNPMASK   0x0020
#define PERFORMSTUNMASK   0x1000
#define SETFLAG(mask)
#define GETFLAG(mask)
#define CLEARFLAG(mask)
#define SERIALNUMBER_MAX_LEN   (10)
#define MODELNUMBER_MAX_LEN   (48)
#define PRESENTATIONURL_MAX_LEN   (64)

Variables

const char * ext_if_name
const char * ext_stun_host
uint16_t ext_stun_port
const char * use_ext_ip_addr
int disable_port_forwarding
unsigned long downstream_bitrate
unsigned long upstream_bitrate
time_t startup_time
unsigned long int min_lifetime
unsigned long int max_lifetime
int runtime_flags
const char * pidfilename
char uuidvalue_igd []
char uuidvalue_wan []
char uuidvalue_wcd []
char serialnumber []
char modelnumber []
char presentationurl []
struct upnppermupnppermlist
unsigned int num_upnpperm
unsigned int nextruletoclean_timestamp
struct lan_addr_list lan_addrs
const char * minissdpdsocketpath
unsigned int upnp_bootid
unsigned int upnp_configid

Macro Definition Documentation

◆ CHECKCLIENTIPMASK

#define CHECKCLIENTIPMASK   0x0008

◆ CLEARFLAG

#define CLEARFLAG ( mask)
Value:
runtime_flags &= ~mask
int runtime_flags
Definition testipfrdr.c:12

◆ ENABLEUPNPMASK

#define ENABLEUPNPMASK   0x0020

◆ GETFLAG

#define GETFLAG ( mask)
Value:
(runtime_flags & mask)

◆ LOGPACKETSMASK

#define LOGPACKETSMASK   0x0001

◆ MODELNUMBER_MAX_LEN

#define MODELNUMBER_MAX_LEN   (48)

◆ PERFORMSTUNMASK

#define PERFORMSTUNMASK   0x1000

◆ PRESENTATIONURL_MAX_LEN

#define PRESENTATIONURL_MAX_LEN   (64)

◆ SECUREMODEMASK

#define SECUREMODEMASK   0x0010

◆ SERIALNUMBER_MAX_LEN

#define SERIALNUMBER_MAX_LEN   (10)

◆ SETFLAG

#define SETFLAG ( mask)
Value:

◆ SYSUPTIMEMASK

#define SYSUPTIMEMASK   0x0002

Variable Documentation

◆ disable_port_forwarding

int disable_port_forwarding
extern

◆ downstream_bitrate

unsigned long downstream_bitrate
extern

◆ ext_if_name

const char* ext_if_name
extern

◆ ext_stun_host

const char* ext_stun_host
extern

◆ ext_stun_port

uint16_t ext_stun_port
extern

◆ lan_addrs

struct lan_addr_list lan_addrs
extern

◆ max_lifetime

unsigned long int max_lifetime
extern

◆ min_lifetime

unsigned long int min_lifetime
extern

◆ minissdpdsocketpath

const char* minissdpdsocketpath
extern

◆ modelnumber

char modelnumber[]
extern

◆ nextruletoclean_timestamp

unsigned int nextruletoclean_timestamp
extern

◆ num_upnpperm

unsigned int num_upnpperm
extern

◆ pidfilename

const char* pidfilename
extern

◆ presentationurl

char presentationurl[]
extern

◆ runtime_flags

int runtime_flags
extern

◆ serialnumber

char serialnumber[]
extern

◆ startup_time

time_t startup_time
extern

◆ upnp_bootid

unsigned int upnp_bootid
extern

◆ upnp_configid

unsigned int upnp_configid
extern

◆ upnppermlist

struct upnpperm* upnppermlist
extern

◆ upstream_bitrate

unsigned long upstream_bitrate
extern

◆ use_ext_ip_addr

const char* use_ext_ip_addr
extern

◆ uuidvalue_igd

char uuidvalue_igd[]
extern

◆ uuidvalue_wan

char uuidvalue_wan[]
extern

◆ uuidvalue_wcd

char uuidvalue_wcd[]
extern