-
Notifications
You must be signed in to change notification settings - Fork 23
QuantumGate::IPAddress::CreateMask
Karel Donk edited this page Sep 19, 2018
·
5 revisions
Creates an IP address mask given the CIDR leading bits.
static const bool CreateMask(const IPAddressFamily af,
UInt8 cidr_lbits, IPAddress& ipaddr) noexcept;
Name | Description |
---|---|
af |
The address family. See QuantumGate::IPAddressFamily for more details. |
cidr_lbits |
The number of CIDR leading bits in the mask. |
ipaddr |
A QuantumGate::IPAddress object to store the mask in. |
Returns true
if the operation succeeded, otherwise false
. Upon successful completion the mask will be stored in the ipaddr
parameter.