#include <netinet/in.h>
#include <sys/select.h>
#include "declspec.h"
#include "upnpreplyparse.h"
Go to the source code of this file.
◆ UPNPC_ERR_BIND_FAILED
| #define UPNPC_ERR_BIND_FAILED (-3) |
◆ UPNPC_ERR_INVALID_ARGS
| #define UPNPC_ERR_INVALID_ARGS (-1) |
◆ UPNPC_ERR_SOCKET_FAILED
| #define UPNPC_ERR_SOCKET_FAILED (-2) |
◆ UPNPC_ERR_UNKNOWN_STATE
| #define UPNPC_ERR_UNKNOWN_STATE (-4) |
◆ UPNPC_HTTP_READABLE
| #define UPNPC_HTTP_READABLE 0x0002 |
◆ UPNPC_HTTP_WRITEABLE
| #define UPNPC_HTTP_WRITEABLE 0x0200 |
◆ UPNPC_OK
◆ UPNPC_SSDP_READABLE
| #define UPNPC_SSDP_READABLE 0x0001 |
◆ UPNPC_SSDP_WRITEABLE
| #define UPNPC_SSDP_WRITEABLE 0x0100 |
◆ upnpc_device_t
◆ upnpc_add_port_mapping()
| int upnpc_add_port_mapping |
( |
upnpc_device_t * |
p, |
|
|
const char * |
remote_host, |
|
|
unsigned short |
ext_port, |
|
|
unsigned short |
int_port, |
|
|
const char * |
int_client, |
|
|
const char * |
proto, |
|
|
const char * |
description, |
|
|
unsigned int |
lease_duration |
|
) |
| |
◆ upnpc_finalize()
◆ upnpc_get_external_ip_address()
◆ upnpc_get_link_layer_max_rate()
◆ upnpc_init()
◆ upnpc_process()