[#NetGroupManager-GetMappedAS]
= xref:NetGroupManager.adoc[NetGroupManager]::GetMappedAS
:relfileprefix: ../
:mrdocs:

Get the autonomous system on the BGP path to address&period;

== Synopsis

Declared in `&lt;netgroup&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
uint32&lowbar;t
GetMappedAS(xref:CNetAddr.adoc[CNetAddr] const& address) const;
----

== Description

The ip&hyphen;&gt;AS mapping depends on how asmap is constructed&period;

== Return Value

The autonomous system number, or 0 when no asmap is used or the address is unmapped&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *address*
| The address to look up&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
