Determines if two #NMIP4Route objects contain the same values.
the #NMIP4Route to compare route
to.
Copies a given #NMIP4Route object and returns the copy.
Gets the IPv4 destination address property of this route object.
Gets the route metric property of this route object; lower values indicate "better" or more preferred routes.
Gets the IPv4 address of the next hop of this route.
Gets the IPv4 prefix (ie "24" or "30" etc) of this route.
Increases the reference count of the object.
Sets the IPv4 destination address property of this route object.
the destination address in network byte order
Sets the route metric property of this route object; lower values indicate "better" or more preferred routes.
the route metric
Sets the IPv4 address of the next hop of this route.
the IPv4 address of the next hop in network byte order
Sets the IPv4 prefix of this route.
the prefix, a number between 1 and 32 inclusive
Decreases the reference count of the object. If the reference count reaches zero, the object will be destroyed.
Creates and returns a new #NMIP4Route object.
Creates and returns a new #NMIP4Route object.