Definitions for UPnP port mapping. More...
#include <array>#include <stddef.h>#include <miniupnpc/miniupnpc.h>#include <miniupnpc/upnpcommands.h>#include "config.h"#include "confighttp.h"#include "globals.h"#include "logging.h"#include "network.h"#include "nvhttp.h"#include "rtsp.h"#include "stream.h"#include "upnp.h"#include "utility.h"Classes | |
| class | upnp::deinit_t |
| RAII helper that runs shutdown cleanup when destroyed. More... | |
| struct | upnp::mapping_t |
| UPnP port mapping description and lease state. More... | |
Namespaces | |
| namespace | upnp |
| UPnP port mapping. | |
Functions | |
| bool | upnp::is_valid_igd (igd_status_e status) |
| Check whether a UPNP_GetValidIGD() status code identifies a usable IGD. | |
| std::unique_ptr< platf::deinit_t > | upnp::start () |
| Start UPnP port mapping and return its shutdown guard. | |
| igd_status_e | upnp::UPNP_GetValidIGDStatus (device_t &device, urls_t *urls, IGDdatas *data, std::array< char, INET6_ADDRESS_STRLEN > &lan_addr) |
| Get the valid IGD status. | |
Definitions for UPnP port mapping.