IP4Address
Object Hierarchy:
Description:
[ CCode ( ref_function = "nm_ip4_address_ref" , type_id = "nm_ip4_address_get_type ()" , unref_function = "nm_ip4_address_unref" ) ]
[ Compact ]
public class IP4Address
Content:
Creation methods:
Methods:
- public void @ref ()
Increases the reference count of the object.
- public bool compare (IP4Address other)
Determines if two IP4Address objects
contain the same values.
- public IP4Address dup ()
Copies a given IP4Address object and
returns the copy.
- public uint32 get_address ()
Gets the IPv4 address property of this address object.
- public uint32 get_gateway ()
Gets the IPv4 default gateway property of this address object.
- public uint32 get_prefix ()
Gets the IPv4 address prefix (ie "24" or "30" etc) property of this
address object.
- public void set_address (uint32 addr)
Sets the IPv4 address property of this object.
- public void set_gateway (uint32 gateway)
Sets the IPv4 default gateway property of this address object.
- public void set_prefix (uint32 prefix)
Sets the IPv4 address prefix.
- public void unref ()
Decreases the reference count of the object.