tfNgSetPt2PtPeerIpAddress

Jump to: navigation, search

Table of Contents >> IPv6 Programmer's Reference


#include <trsocket.h>


int tfNgSetPt2PtPeerIpAddress (
ttUserInterface interfaceHandle -->,
const struct sockaddr_storage * ifIpAddrPtr
);


Function Description

Next Generation API replaces tfSetPppPeerIpAddress().


Parameters

  • interfaceHandle
    The interface to update the peer's IP address on.
  • ifIpAddress
    The IP address to use for routing purposes for the remote PPP system.


Returns

  • TM_ENOERROR
    Success.
  • TM_EINVAL
    Invalid parameter or the device does not support PPP.
  • TM_EISCONN
    The PPP connection is already established.


Table of Contents >> IPv6 Programmer's Reference