[#BanMan-IsBanned-07] = xref:BanMan.adoc[BanMan]::IsBanned :relfileprefix: ../ :mrdocs: `IsBanned` overloads == Synopses Declared in `<banman.h>` Return whether net_addr is banned [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e3ae94b88)]] bool xref:BanMan/IsBanned-0e.adoc[IsBanned](xref:CNetAddr.adoc[CNetAddr] const& net_addr); ---- [.small]#xref:BanMan/IsBanned-0e.adoc[_» more..._]# Return whether sub_net is exactly banned [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e3ae94cc8)]] bool xref:BanMan/IsBanned-05.adoc[IsBanned](xref:CSubNet.adoc[CSubNet] const& sub_net); ---- [.small]#xref:BanMan/IsBanned-05.adoc[_» more..._]# == Return Value * true if the address is banned. * true if the exact subnet is banned. == Parameters [cols="1,4"] |=== | Name| Description | *net_addr* | The address to test. | *sub_net* | The subnet to test. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#