InetAddressMask
Object Hierarchy:
GLib.InetAddressMask
GLib.InetAddressMask
GLib.InetAddressMask
GLib.Object
GLib.Object
GLib.Object->GLib.InetAddressMask
GLib.Initable
GLib.Initable
GLib.Initable->GLib.InetAddressMask
Description:
[
CCode ( type_id =
"g_inet_address_mask_get_type ()" ) ]
[
Version ( since =
"2.32" ) ]
public class InetAddressMask :
Object ,
Initable
InetAddressMask 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. Eg, "10.0.0.0/8", or "fe80::/10".
Content:
Properties:
Creation methods:
public InetAddressMask (InetAddress addr, uint length) throws Error
Creates a new InetAddressMask representing
all addresses whose first length
bits match addr
.
public InetAddressMask.from_string (string mask_string) throws Error
Parses mask_string
as an IP address and (optional)
length, and creates a new InetAddressMask .
Methods:
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref
All known members inherited from interface GLib.Initable