RtnRemoveStaticRoute
RtnRemoveStaticRoute removes a static IPv4 or IPv6 route from RT-TCP/IP Stack’s forwarding database.
Syntax
INT RtnRemoveStaticRoute( CHAR* pDevName, const CHAR *pDestination, INT prefixLen, const CHAR *pNextHop );
Parameters
pDevName
A pointer to an ASCII device name.
pDestination
String representation of target IPv4 or IPv6 address.
prefixLen
The prefix length (length of the IP mask) for the destination route. Must be less than or equal to 32 for IPv4 route or less than or equal to 128 for IPv6 route.
pNextHop
Unused.
Return Value
0 (zero) if the function succeeds, a non zero value if the function fails
Requirements
Minimum Supported Version |
RTX64 2013 API CHANGES FOR RTX64 4.4 Renamed the parameter:
|
Header | rtnapi.h |
Library | RtTcpip.lib |