Netgroup manager

Synopsis

Declared in <netgroup.h>

class NetGroupManager;

Member Functions

Name

Description

NetGroupManager [constructor]

Constructors

operator=

Assignment operators

ASMapHealthCheck

Analyze and log current health of ASMap based buckets.

GetAsmapVersion

Get the asmap version, a checksum identifying the asmap being used.

GetGroup

Get the canonical identifier of the network group for address.

GetMappedAS

Get the autonomous system on the BGP path to address.

UsingASMap

Indicates whether ASMap is being used for clearnet bucketing.

Static Member Functions

Name

Description

NoAsmap

Create a manager with no asmap, using default clearnet bucketing.

WithEmbeddedAsmap

Create a manager using asmap data embedded in the binary.

WithLoadedAsmap

Create a manager that takes ownership of asmap data loaded at runtime.

Non-Member Functions

Name

Description

LoadAddrman

Loads the address manager (peers.dat), creating a fresh one if needed.

Created with MrDocs