Electroneum
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:

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 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 * use_ext_ip_addr
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

Definition at line 50 of file upnpglobalvars.h.

◆ CLEARFLAG

#define CLEARFLAG ( mask)
Value:
runtime_flags &= ~mask
int runtime_flags

Definition at line 74 of file upnpglobalvars.h.

◆ ENABLEUPNPMASK

#define ENABLEUPNPMASK   0x0020

Definition at line 53 of file upnpglobalvars.h.

◆ GETFLAG

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

Definition at line 73 of file upnpglobalvars.h.

◆ LOGPACKETSMASK

#define LOGPACKETSMASK   0x0001

Definition at line 45 of file upnpglobalvars.h.

◆ MODELNUMBER_MAX_LEN

#define MODELNUMBER_MAX_LEN   (48)

Definition at line 85 of file upnpglobalvars.h.

◆ PRESENTATIONURL_MAX_LEN

#define PRESENTATIONURL_MAX_LEN   (64)

Definition at line 88 of file upnpglobalvars.h.

◆ SECUREMODEMASK

#define SECUREMODEMASK   0x0010

Definition at line 51 of file upnpglobalvars.h.

◆ SERIALNUMBER_MAX_LEN

#define SERIALNUMBER_MAX_LEN   (10)

Definition at line 82 of file upnpglobalvars.h.

◆ SETFLAG

#define SETFLAG ( mask)
Value:

Definition at line 72 of file upnpglobalvars.h.

◆ SYSUPTIMEMASK

#define SYSUPTIMEMASK   0x0002

Definition at line 46 of file upnpglobalvars.h.

Variable Documentation

◆ downstream_bitrate

unsigned long downstream_bitrate
extern

◆ ext_if_name

const char* ext_if_name
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