|
ascii-chat 0.6.0
Real-time terminal-based video chat with ASCII art conversion
|
Handle to UPnP context. More...
#include <lib/network/nat/upnp.h>
Data Fields | |
| char | external_ip [16] |
| Detected external/public IP (e.g., "203.0.113.42") | |
| uint16_t | mapped_port |
| External port that was mapped (may differ from internal) | |
| uint16_t | internal_port |
| Internal port we're binding to. | |
| char | device_description [256] |
| Device name for logging (e.g., "TP-Link Archer C7") | |
| bool | is_natpmp |
| true if NAT-PMP was used, false if UPnP | |
| bool | is_mapped |
| true if port mapping is currently active | |
| char nat_upnp_context::device_description[256] |
| char nat_upnp_context::external_ip[16] |
Detected external/public IP (e.g., "203.0.113.42")
Definition at line 26 of file upnp.h.
Referenced by nat_upnp_get_address(), and nat_upnp_is_active().
| uint16_t nat_upnp_context::internal_port |
| bool nat_upnp_context::is_mapped |
true if port mapping is currently active
Definition at line 31 of file upnp.h.
Referenced by nat_upnp_get_address(), nat_upnp_is_active(), and nat_upnp_refresh().
| bool nat_upnp_context::is_natpmp |
| uint16_t nat_upnp_context::mapped_port |
External port that was mapped (may differ from internal)
Definition at line 27 of file upnp.h.
Referenced by nat_upnp_get_address().