Add a route
This function is used to add a route for the interface. It allows packets for a different network to be routed to the interface.
|[in] ||iface_id ||Specifies the device entry of the route.|
|[in] ||route ||Pointer to user Route_Entry structure.|
|[out] ||error ||Error code on failure, 0 on success.|
- -1: Error, see reported error code
- SC2x3 V1.00 - CLIB V1.00
- This legacy function can be replaced by SetStaticRoute() and is only left for backward compatibility.
- See also: