Class
GioInetAddressMask
since: 2.32
Description [src]
class Gio.InetAddressMask : GObject.Object
implements Gio.Initable {
/* No available fields */
}
GInetAddressMask
represents a range of IPv4 or IPv6 addresses
described by a base address and a length indicating how many bits
of the base address are relevant for matching purposes. These are
often given in string form. For example, 10.0.0.0/8
, or fe80::/10
.
Available since: 2.32
Constructors
g_inet_address_mask_new
Creates a new GInetAddressMask
representing all addresses whose
first length
bits match addr
.
since: 2.32
g_inet_address_mask_new_from_string
Parses mask_string
as an IP address and (optional) length, and
creates a new GInetAddressMask
. The length, if present, is
delimited by a “/”. If it is not present, then the length is
assumed to be the full length of the address.
since: 2.32
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.