tfNgGetPt2PtPeerIpAddress
Table of Contents >> IPv6 Programmer's Reference
#include <trsocket.h> |
int tfNgGetPt2PtPeerIpAddress | ( |
ttUserInterface interfaceHandle, | |
struct sockaddr_storage * ifIpAddrPtr | |
); |
Function Description
Next Generation API replaces tfGetPppPeerIpAddress().
Parameters
- interfaceHandle
- The interface to get the peer's IP address from.
- ifIpAddrPtr
- The pointer to the buffer where the peer's PPP IP address will be stored.
Returns
- TM_ENOERROR
- Success.
- TM_EINVAL
- Invalid parameter or the device does not support PPP.
- TM_ENETDOWN
- The interface is not configured.