the IP address family (
the IP address
the address prefix length
Note that with cmp_flags
#NM_IP_ADDRESS_CMP_FLAGS_WITH_ATTRS, there
is no total order for comparing GVariant. That means, if the two addresses
only differ by their attributes, the sort order is undefined and the return
value only indicates equality.
the #NMIPAddress to compare address
to.
the #NMIPAddressCmpFlags that indicate what to compare.
Creates a copy of address
Determines if two #NMIPAddress objects contain the same address and prefix (attributes are not compared).
the #NMIPAddress to compare address
to.
Gets the IP address property of this address object.
Gets an array of attribute names defined on address
.
Gets the IP address family (eg, AF_INET) property of this address object.
Gets the IP address prefix (ie "24" or "30" etc) property of this address object.
Increases the reference count of the object.
Sets the IP address property of this address object.
addr
must be a valid address of address'
s family. If you aren't sure you
have a valid address, use nm_utils_ipaddr_valid() to check it.
the IP address, as a string
Sets the IP address prefix property of this address object.
the IP address prefix
Decreases the reference count of the object. If the reference count reaches zero, the object will be destroyed.
Creates a new #NMIPAddress object.
the IP address family (
the IP address
the address prefix length
Creates a new #NMIPAddress object. addr
must point to a buffer of the
correct size for family
.
the IP address family (
the IP address
the address prefix length
Creates a new #NMIPAddress object.