Go to the source code of this file.
|
constexpr PCPMappingNonce | PCP_NONCE {0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x99, 0xaa, 0xbb, 0xcc} |
| Fixed nonce to use in PCP port mapping requests. More...
|
|
constexpr int | NUM_TRIES {5} |
| Number of attempts to request a NAT-PMP or PCP port mapping to the gateway. More...
|
|
constexpr std::chrono::duration | TIMEOUT {100ms} |
| Timeout for each attempt to request a port mapping. More...
|
|
◆ FUZZ_TARGET() [1/2]
◆ FUZZ_TARGET() [2/2]
◆ port_map_target_init()
void port_map_target_init |
( |
| ) |
|
◆ NUM_TRIES
constexpr int NUM_TRIES {5} |
|
constexpr |
Number of attempts to request a NAT-PMP or PCP port mapping to the gateway.
Definition at line 19 of file pcp.cpp.
◆ PCP_NONCE
constexpr PCPMappingNonce PCP_NONCE {0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, 0x88, 0x99, 0xaa, 0xbb, 0xcc} |
|
constexpr |
Fixed nonce to use in PCP port mapping requests.
Definition at line 16 of file pcp.cpp.
◆ TIMEOUT
constexpr std::chrono::duration TIMEOUT {100ms} |
|
constexpr |
Timeout for each attempt to request a port mapping.
Definition at line 22 of file pcp.cpp.