|Note:||The content on this page has been deprecated.|
|For the new content, please see tfNgSetPt2PtPeerIpAddress().|
This function is used to set a default remote PPP/SLIP IP address. This IP address will be used as the default remote point to point IP address, in case no remote IP address is negotiated with PPP (see tfPppSetOption()), or for SLIP. If no IP address is set with this function, (and no IP address is negotiated with the remote PPP for PPP), then the local IP address + 1 will be used as the default IP address for the remote PPP (or SLIP) for routing purposes (see tfGetPppPeerIpAddress()). tfSetPppPeerIpAddress() can only be called between tfAddInterface() (or tfCloseInterface()) and tfOpenInterface().
- The interface to update the peer's IP address on.
- The IP address to use for routing purposes for the remote PPP system.
- Invalid parameter or the device does not support PPP.
- The PPP connection is already established.