Successful response to a port mapping.
More...
#include <pcp.h>
Successful response to a port mapping.
Definition at line 30 of file pcp.h.
◆ MappingResult()
MappingResult::MappingResult |
( |
uint8_t |
version, |
|
|
const CService & |
internal_in, |
|
|
const CService & |
external_in, |
|
|
uint32_t |
lifetime_in |
|
) |
| |
|
inline |
Definition at line 31 of file pcp.h.
◆ ToString()
std::string MappingResult::ToString |
( |
| ) |
|
Format mapping as string for logging.
Definition at line 515 of file pcp.cpp.
◆ external
External host:port.
Definition at line 38 of file pcp.h.
◆ internal
Internal host:port.
Definition at line 36 of file pcp.h.
◆ lifetime
uint32_t MappingResult::lifetime |
Granted lifetime of binding (seconds).
Definition at line 40 of file pcp.h.
◆ version
uint8_t MappingResult::version |
Protocol version, one of NATPMP_VERSION or PCP_VERSION.
Definition at line 34 of file pcp.h.
The documentation for this struct was generated from the following files: