IP4Route
Object Hierarchy:
Description:
[ CCode ( ref_function = "nm_ip4_route_ref" , type_id = "nm_ip4_route_get_type ()" , unref_function = "nm_ip4_route_unref" ) ]
[ Compact ]
public class IP4Route
Content:
Creation methods:
Methods:
- public void @ref ()
Increases the reference count of the object.
- public bool compare (IP4Route other)
Determines if two IP4Route objects contain the
same values.
- public IP4Route dup ()
Copies a given IP4Route object and returns the
copy.
- public uint32 get_dest ()
Gets the IPv4 destination address property of this route object.
- public uint32 get_metric ()
Gets the route metric property of this route object; lower values indicate
"better" or more preferred routes.
- public uint32 get_next_hop ()
Gets the IPv4 address of the next hop of this route.
- public uint32 get_prefix ()
Gets the IPv4 prefix (ie "24" or "30" etc) of this route.
- public void set_dest (uint32 dest)
Sets the IPv4 destination address property of this route object.
- public void set_metric (uint32 metric)
Sets the route metric property of this route object; lower values indicate
"better" or more preferred routes.
- public void set_next_hop (uint32 next_hop)
Sets the IPv4 address of the next hop of this route.
- public void set_prefix (uint32 prefix)
Sets the IPv4 prefix of this route.
- public void unref ()
Decreases the reference count of the object.