Go to the source code of this file.
|
static const uint8_t | pchIPv4 [12] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0xff, 0xff} |
|
static const uint8_t | pchOnionCat [] = {0xFD, 0x87, 0xD8, 0x7E, 0xEB, 0x43} |
|
static const uint8_t | g_internal_prefix [] = {0xFD, 0x6B, 0x88, 0xC0, 0x87, 0x24} |
|
static const int | NET_UNKNOWN = NET_MAX + 0 |
|
static const int | NET_TEREDO = NET_MAX + 1 |
|
◆ GetExtNetwork()
static int GetExtNetwork |
( |
const CNetAddr * |
addr | ) |
|
|
static |
◆ NetmaskBits()
static int NetmaskBits |
( |
uint8_t |
x | ) |
|
|
inlinestatic |
- Returns
- The number of 1-bits in the prefix of the specified subnet mask. If the specified subnet mask is not a valid one, -1.
Definition at line 861 of file netaddress.cpp.
◆ operator<() [1/3]
◆ operator<() [2/3]
◆ operator<() [3/3]
◆ operator==() [1/3]
◆ operator==() [2/3]
◆ operator==() [3/3]
◆ g_internal_prefix
const uint8_t g_internal_prefix[] = {0xFD, 0x6B, 0x88, 0xC0, 0x87, 0x24} |
|
static |
◆ NET_TEREDO
◆ NET_UNKNOWN
const int NET_UNKNOWN = NET_MAX + 0 |
|
static |
◆ pchIPv4
const uint8_t pchIPv4[12] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0xff, 0xff} |
|
static |
◆ pchOnionCat
const uint8_t pchOnionCat[] = {0xFD, 0x87, 0xD8, 0x7E, 0xEB, 0x43} |
|
static |