[#NetGroupManager-GetMappedAS] = xref:NetGroupManager.adoc[NetGroupManager]::GetMappedAS :relfileprefix: ../ :mrdocs: Get the autonomous system on the BGP path to address. == Synopsis Declared in `<netgroup.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- uint32_t GetMappedAS(xref:CNetAddr.adoc[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 [cols="1,4"] |=== | Name| Description | *address* | The address to look up. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#