![]() |
Bitcoin Core 31.0.0
P2P Digital Currency
|
#include <mapport.h>#include <clientversion.h>#include <common/netif.h>#include <common/pcp.h>#include <common/system.h>#include <logging.h>#include <net.h>#include <netaddress.h>#include <netbase.h>#include <random.h>#include <util/thread.h>#include <util/threadinterrupt.h>#include <atomic>#include <cassert>#include <chrono>#include <functional>#include <string>#include <thread>Go to the source code of this file.
Functions | |
| static void | ProcessPCP () |
| static void | ThreadMapPort () |
| void | StartThreadMapPort () |
| void | StartMapPort (bool enable) |
| void | InterruptMapPort () |
| void | StopMapPort () |
Variables | |
| static CThreadInterrupt | g_mapport_interrupt |
| static std::thread | g_mapport_thread |
| static constexpr auto | PORT_MAPPING_REANNOUNCE_PERIOD {20min} |
| static constexpr auto | PORT_MAPPING_RETRY_PERIOD {5min} |
| void InterruptMapPort | ( | ) |
Definition at line 33 of file mapport.cpp.
| void StartThreadMapPort | ( | ) |
Definition at line 129 of file mapport.cpp.
| void StopMapPort | ( | ) |
Definition at line 154 of file mapport.cpp.
Definition at line 122 of file mapport.cpp.
|
static |
Definition at line 26 of file mapport.cpp.
|
static |
Definition at line 27 of file mapport.cpp.
Definition at line 30 of file mapport.cpp.
Definition at line 31 of file mapport.cpp.