tfNgDelStaticRoute
Table of Contents >> IPv6 Programmer's Reference
| #include <trsocket.h> |
| int tfNgDelStaticRoute | ( |
| const struct sockaddr_storage * destIpAddrPtr, | |
| int prefixLen | |
| ); |
Function Description
Next Generation API replaces tfDelStaticRoute().
Parameters
- destIpAddrPtr
- Pointer to the destination IPv6 address with which we want to communicate.
- prefixLen
- The length (in bits) of the subnet prefix part of the address specified by destIpAddrPtr. For an IPv6 address, the value specified must be in the range of 0 to 128, and will typically be 64. For an IPv4 address, the value specified is the number of most significant bits in the associated IPv4 netmask that are set to 1.
Returns
- TM_EAFNOSUPPORT
- destIpAddrPtr->addrFamily was set to an invalid value for address family; valid values are AF_INET and AF_INET6.
- TM_EINVAL
- Invalid value specified for prefixLen