IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page

int AddStaticRoute ( IP_INTERFACE  iface_id,
const Route_Entry route,
int *  error 

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
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