IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page

int AddStaticRouteEx ( IP_INTERFACE  iface_id,
const Route_Entry route,
DevUserIfaceHandle  userIfaceHandle,
int *  error 

Add a route (extended)

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 gateway.
[in] route Pointer to user Route_Entry structure.
[in] userIfaceHandle If which_interface==3 : User device handle to specifiy the device interface(retrievable by Dev_Find_Iface_By_Name()).
[out] error Error code on failure, 0 on success.
-1: Error, see reported error code
0: Success
SC2x3 V1.00 - CLIB V1.00
This legacy function can be replaced by SetStaticRoute() and is only left for backward compatibility.
See also:

Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Thu Jan 26 16:21:39 2017 by Doxygen 1.6.1