Bitcoin Core  22.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 20 of file mapport.h.

Function Documentation

◆ InterruptMapPort()

void InterruptMapPort ( )

Definition at line 329 of file mapport.cpp.

Here is the caller graph for this function:

◆ StartMapPort()

void StartMapPort ( bool  use_upnp,
bool  use_natpmp 
)

Definition at line 325 of file mapport.cpp.

Here is the caller graph for this function:

◆ StopMapPort()

void StopMapPort ( )

Definition at line 333 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 17 of file mapport.h.

◆ DEFAULT_UPNP

constexpr bool DEFAULT_UPNP = false
staticconstexpr

Definition at line 11 of file mapport.h.