Bitcoin Core 28.99.0
P2P Digital Currency
Functions | Variables
asmap.cpp File Reference
#include <netaddress.h>
#include <netgroup.h>
#include <test/fuzz/fuzz.h>
#include <util/asmap.h>
#include <cstdint>
#include <vector>
Include dependency graph for asmap.cpp:

Go to the source code of this file.

Functions

 FUZZ_TARGET (asmap)
 

Variables

static const std::vector< bool > IPV6_PREFIX_ASMAP = {}
 asmap code that consumes nothing More...
 
static const std::vector< bool > IPV4_PREFIX_ASMAP
 asmap code that consumes the 96 prefix bits of ::ffff:0/96 (IPv4-in-IPv6 map) More...
 

Function Documentation

◆ FUZZ_TARGET()

FUZZ_TARGET ( asmap  )

Definition at line 32 of file asmap.cpp.

Here is the call graph for this function:

Variable Documentation

◆ IPV4_PREFIX_ASMAP

const std::vector<bool> IPV4_PREFIX_ASMAP
static
Initial value:
= {
true, true, false, true, true, true, true, true, true, true, false, false, false, false, false, false, false, false,
true, true, false, true, true, true, true, true, true, true, false, false, false, false, false, false, false, false,
true, true, false, true, true, true, true, true, true, true, false, false, false, false, false, false, false, false,
true, true, false, true, true, true, true, true, true, true, false, false, false, false, false, false, false, false,
true, true, false, true, true, true, true, true, true, true, false, false, false, false, false, false, false, false,
true, true, false, true, true, true, true, true, true, true, false, false, false, false, false, false, false, false,
true, true, false, true, true, true, true, true, true, true, false, false, false, false, false, false, false, false,
true, true, false, true, true, true, true, true, true, true, false, false, false, false, false, false, false, false,
true, true, false, true, true, true, true, true, true, true, false, false, false, false, false, false, false, false,
true, true, false, true, true, true, true, true, true, true, false, false, false, false, false, false, false, false,
true, true, false, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true,
true, true, false, true, true, true, true, true, true, true, true, true, true, true, true, true, true, true
}

asmap code that consumes the 96 prefix bits of ::ffff:0/96 (IPv4-in-IPv6 map)

Definition at line 17 of file asmap.cpp.

◆ IPV6_PREFIX_ASMAP

const std::vector<bool> IPV6_PREFIX_ASMAP = {}
static

asmap code that consumes nothing

Definition at line 14 of file asmap.cpp.