|
Monero
|
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <syslog.h>#include "config.h"#include "upnpdescgen.h"#include "miniupnpdpath.h"#include "upnpglobalvars.h"#include "upnpdescstrings.h"#include "upnpurns.h"#include "getconnstatus.h"
Macros | |
| #define | SETUPREADY_MAGICALVALUE (248) |
| #define | CONNECTIONSTATUS_MAGICALVALUE (249) |
| #define | FIREWALLENABLED_MAGICALVALUE (250) |
| #define | INBOUNDPINHOLEALLOWED_MAGICALVALUE (251) |
| #define | SYSTEMUPDATEID_MAGICALVALUE (252) |
| #define | PORTMAPPINGNUMBEROFENTRIES_MAGICALVALUE (253) |
| #define | EXTERNALIPADDRESS_MAGICALVALUE (254) |
| #define | DEFAULTCONNECTIONSERVICE_MAGICALVALUE (255) |
| #define | SERVICES_OFFSET 58 |
| #define | GENXML_STACK_SIZE 16 |
Functions | |
| static char * | strcat_str (char *str, int *len, int *tmplen, const char *s2) |
| static char * | strcat_char (char *str, int *len, int *tmplen, char c) |
| static char * | strcat_int (char *str, int *len, int *tmplen, int i) |
| static char * | genXML (char *str, int *len, int *tmplen, const struct XMLElt *p) |
| char * | genRootDesc (int *len) |
| static char * | genServiceDesc (int *len, const struct serviceDesc *s) |
| char * | genWANIPCn (int *len) |
| char * | genWANCfg (int *len) |
| #define CONNECTIONSTATUS_MAGICALVALUE (249) |
| #define DEFAULTCONNECTIONSERVICE_MAGICALVALUE (255) |
| #define EXTERNALIPADDRESS_MAGICALVALUE (254) |
| #define FIREWALLENABLED_MAGICALVALUE (250) |
| #define GENXML_STACK_SIZE 16 |
| #define INBOUNDPINHOLEALLOWED_MAGICALVALUE (251) |
| #define PORTMAPPINGNUMBEROFENTRIES_MAGICALVALUE (253) |
| #define SERVICES_OFFSET 58 |
| #define SETUPREADY_MAGICALVALUE (248) |
| #define SYSTEMUPDATEID_MAGICALVALUE (252) |
| char * genRootDesc | ( | int * | len | ) |
|
static |
| char * genWANCfg | ( | int * | len | ) |
| char * genWANIPCn | ( | int * | len | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |