![Texas TMS320C6000 Programmer'S Reference Manual Download Page 124](http://html.mh-extra.com/html/texas/tms320c6000/tms320c6000_programmers-reference-manual_1093844124.webp)
DHCP Client Support
6-11
Network Tools Library Services
6.4
DHCP Client Support
6.4.1
Synopsis
At system startup the DHCP client will try and acquire an IP address from the
DHCP servers available on the network.
Note that the client will accept the first IP address offered and that the INIT-RE-
BOOT State (which requests a previously assigned IP address) is not currently
implemented.
More information on DHCP can be found in rfc2131 and rfc2132.
6.4.2
Operation
The DHCP client is a special service in that it always executes immediately in
a system. If is usually after DHCP client obtains a public IP address that most
of the other services in the system can initialize.
The DHCP client code makes additional use of the service status report call-
back function than most of the other services. Recall from the beginning of this
section that the least significant byte of the report code is reserved for service
specific information.
The following report codes are returned in the LSB of the report code sent by
the DHCP service:
DHCPCODE_IPADD
An IP client address had been added to
the system
DHCPCODE_IPREMOVE
An IP client address has been removed
from the system
DHCPCODE_IPRENEW
An IP client address has been renewed
Note that in each of the above cases, the DHCP portion of the system
information configuration (the first 256 entries of CFGTAG_SYSINFO) has
been erased and potentially reprogrammed. If an application needs to share
the DHCP portion of the system information configuration, these DHCP report
codes can be used to signal when to add additional application specific tags.
For more information on DHCP and the CFGTAG_SYSINFO tag, see
section 4.4.8.
Note: The DHCP client will never erase nor attempt to modify the value of the
DHCP tag, CFGITEM_DHCP_HOSTNAME. As an exception to the behavior
stated above, the system hostname is treated as read-only, and can only be
set by the application programmer.