Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
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

Enumerator
NONE 
UPNP 
NAT_PMP 

Definition at line 20 of file mapport.h.

Function Documentation

◆ InterruptMapPort()

void InterruptMapPort ( )

Definition at line 365 of file mapport.cpp.

Here is the caller graph for this function:

◆ StartMapPort()

void StartMapPort ( bool  use_upnp,
bool  use_natpmp 
)

Definition at line 362 of file mapport.cpp.

Here is the caller graph for this function:

◆ StopMapPort()

void StopMapPort ( )

Definition at line 368 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.