RttcpipRemoveStaticRoute
Syntax
INT RttcpipRemoveStaticRoute(
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
If this function succeeds, it returns 0 (zero). If this function fails, it returns a nonzero value.
Requirements
Minimum supported version | Header | Library |
---|---|---|
eRTOS 1.0 SDK |
RttcpipApi.h |
RtTcpipApi.lib |