PPP_GetLocalIpv4Addr Function
C
uint32_t PPP_GetLocalIpv4Addr(DRV_HANDLE hMac);
Returns
Current IPv4 local address
Or 0 if an error
Description
This function gets the PPP local IPv4 address currently assigned for the PPP driver
Remarks
This should be the IPv4 address passed at the PPP initialization
It could be a peer suggested address if the configuration address was 0
or the peer suggested a different address.
Preconditions
The PPP module must be initialized.
Parameters
hMac - driver handle (obtained by calling TCPIP_MAC_Open/DRV_PPP_MAC_Open)