www.beck-ipc.com

@CHIP-RTOS C Library V2.00 - TCP/IP API


DelStaticRoute

Delete a route from an interface.

int DelStaticRoute ( IP_INTERFACE which_interface,
                     const Route_Entry far *route,
                     int *error );

Parameters

which_interface

Enumeration type:
  • II_ETHERNET = 0:   Ethernet
  • II_PPP_SERVER = 1:   PPP server
  • II_PPP_CLIENT = 2:   PPP client

route

Pointer to user Route_Entry structure

error

Output parameter:  Failure code, 0 on success.

Return Value

0: success
-1: See reported error code.

Comments

Only route structure members destIPAddress and destNetmask must be set valid before calling.

See Also

RTOS API

This library function invokes a RTOS software interrupt. Refer to this RTOS API function's documentation for more details.


This API List
List of C Libraries
@CHIP-RTOS Main Index


End of document