Bitcoin Core  27.99.0
P2P Digital Currency
Enumerations | Functions | Variables
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 325 of file mapport.cpp.

Here is the caller graph for this function:

◆ StartMapPort()

void StartMapPort ( bool  use_upnp,
bool  use_natpmp 
)

Definition at line 321 of file mapport.cpp.

Here is the caller graph for this function:

◆ StopMapPort()

void StopMapPort ( )

Definition at line 329 of file mapport.cpp.

Here is the caller graph for this function:

Variable Documentation

◆ DEFAULT_NATPMP

constexpr bool DEFAULT_NATPMP = false
staticconstexpr

Definition at line 10 of file mapport.h.

◆ DEFAULT_UPNP

constexpr bool DEFAULT_UPNP = false
staticconstexpr

Definition at line 8 of file mapport.h.