PPP_GetRemoteIpv4Addr Function
C
uint32_t PPP_GetRemoteIpv4Addr(DRV_HANDLE hMac);
Returns
Current IPv4 remote addressOr 0 if an error
Description
This function gets the PPP remote IPv4 address currently assigned for the PPP driver
Remarks
This is the IPv4 address of the remote nodeIt is set during PPP negotiation
It could be a suggested address by this node (not supported yet)
Preconditions
The PPP module must be initialized.
Parameters
hMac - driver handle (obtained by calling TCPIP_MAC_Open/DRV_PPP_MAC_Open)