IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page

UserEthDhcp_Entry* Dev_Get_DHCP_BootData ( DevUserIfaceHandle  DevHandlePtr  ) 

Retrieve DHCP boot data.

[in] DevHandlePtr Device handle to identify the interface. The handle is retrievable by calling API function Dev_Find_Iface_By_Name().
0 : Failure, NO DHCP address bound.
Else: Pointer to a structure of type UserEthDhcp_Entry, which contains the DHCP boot data(read-only!) for the device.
In particular this structure will contain:
  • The allocated IP address in the field Yiaddr
  • Default router entry in the field DefRouter
  • Primary Domain name server Dns1ServerIpAddress
  • Secondary Domain name server Dns2ServerIpAddress
This function is not available on SC1x, SC2x and SC1x3. The legacy function Dev_Get_DHCP_Data() may be used when source code compatibility is required.
SC2x3 V1.00 - CLIB V1.00

Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Thu Jan 26 16:21:39 2017 by Doxygen 1.6.1