NetGroupManager::GetMappedAS

Get the autonomous system on the BGP path to address.

Synopsis

Declared in <netgroup.h>

uint32_t
GetMappedAS(CNetAddr const& address) const;

Description

The ip->AS mapping depends on how asmap is constructed.

Return Value

The autonomous system number, or 0 when no asmap is used or the address is unmapped.

Parameters

NameDescription
addressThe address to look up.