Bitcoin Core 28.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
mapport.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  MapPortProtoFlag : unsigned int { NONE = 0x00 , UPNP = 0x01 , NAT_PMP = 0x02 }
 

Functions

void StartMapPort (bool use_upnp, bool use_natpmp)
 
void InterruptMapPort ()
 
void StopMapPort ()
 

Variables

static constexpr bool DEFAULT_UPNP = false
 
static constexpr bool DEFAULT_NATPMP = false
 

Enumeration Type Documentation

◆ MapPortProtoFlag

enum MapPortProtoFlag : unsigned int
Enumerator
NONE 
UPNP 
NAT_PMP 

Definition at line 12 of file mapport.h.

Function Documentation

◆ InterruptMapPort()

void InterruptMapPort ( )

Definition at line 305 of file mapport.cpp.

Here is the caller graph for this function:

◆ StartMapPort()

void StartMapPort ( bool use_upnp,
bool use_natpmp )

Definition at line 298 of file mapport.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ StopMapPort()

void StopMapPort ( )

Definition at line 313 of file mapport.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ DEFAULT_NATPMP

bool DEFAULT_NATPMP = false
staticconstexpr

Definition at line 10 of file mapport.h.

◆ DEFAULT_UPNP

bool DEFAULT_UPNP = false
staticconstexpr

Definition at line 8 of file mapport.h.