Hermes 0.7.0
Linux game streaming host
Loading...
Searching...
No Matches
upnp::mapping_reply_t Struct Reference

Fields returned by a specific or generic mapping query. More...

#include <src/upnp_mapping.h>

Public Attributes

int result = -1
 MiniUPnPc result; a default reply cannot authorize a mutation.
std::string client {}
 Internal destination address.
std::string internal_port {}
 Internal destination port, possibly the defective zero.
std::string description {}
 Specific query's ownership marker; generic descriptions are unreliable.
std::string enabled {}
 Router's enabled flag.
std::string lease {}
 Remaining lifetime in seconds, or zero for permanent rules.
std::string external_port {}
 Generic entry's external port.
std::string protocol {}
 Generic entry's transport protocol.
std::string remote_host {}
 Generic entry's remote restriction; empty or 0.0.0.0 means wildcard.

Detailed Description

Fields returned by a specific or generic mapping query.

Definition at line 100 of file upnp_mapping.h.

Member Data Documentation

◆ client

std::string upnp::mapping_reply_t::client {}

Internal destination address.

Definition at line 102 of file upnp_mapping.h.

◆ description

std::string upnp::mapping_reply_t::description {}

Specific query's ownership marker; generic descriptions are unreliable.

Definition at line 104 of file upnp_mapping.h.

◆ enabled

std::string upnp::mapping_reply_t::enabled {}

Router's enabled flag.

Definition at line 105 of file upnp_mapping.h.

◆ external_port

std::string upnp::mapping_reply_t::external_port {}

Generic entry's external port.

Definition at line 107 of file upnp_mapping.h.

◆ internal_port

std::string upnp::mapping_reply_t::internal_port {}

Internal destination port, possibly the defective zero.

Definition at line 103 of file upnp_mapping.h.

◆ lease

std::string upnp::mapping_reply_t::lease {}

Remaining lifetime in seconds, or zero for permanent rules.

Definition at line 106 of file upnp_mapping.h.

◆ protocol

std::string upnp::mapping_reply_t::protocol {}

Generic entry's transport protocol.

Definition at line 108 of file upnp_mapping.h.

◆ remote_host

std::string upnp::mapping_reply_t::remote_host {}

Generic entry's remote restriction; empty or 0.0.0.0 means wildcard.

Definition at line 109 of file upnp_mapping.h.

◆ result

int upnp::mapping_reply_t::result = -1

MiniUPnPc result; a default reply cannot authorize a mutation.

Definition at line 101 of file upnp_mapping.h.


The documentation for this struct was generated from the following file: