[#BanMan-IsBanned-07]
= xref:BanMan.adoc[BanMan]::IsBanned
:relfileprefix: ../
:mrdocs:

`IsBanned` overloads

== Synopses

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

Return whether net&lowbar;addr is banned


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f9503464368)&rsqb;&rsqb;
bool
xref:BanMan/IsBanned-0e.adoc[IsBanned](xref:CNetAddr.adoc[CNetAddr] const& net&lowbar;addr);
----

[.small]#xref:BanMan/IsBanned-0e.adoc[_» more&period;&period;&period;_]#

Return whether sub&lowbar;net is exactly banned


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f95034644a8)&rsqb;&rsqb;
bool
xref:BanMan/IsBanned-05.adoc[IsBanned](xref:CSubNet.adoc[CSubNet] const& sub&lowbar;net);
----

[.small]#xref:BanMan/IsBanned-05.adoc[_» more&period;&period;&period;_]#

== Return Value

* true if the address is banned&period;
* true if the exact subnet is banned&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *net&lowbar;addr*
| The address to test&period;
| *sub&lowbar;net*
| The subnet to test&period;
|===


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