tfDhcpUserGetBootEntry
Table of Contents >> Optional Protocols >> DHCP User Configured
| #include <trsocket.h> |
| ttUserBtEntryPtr tfDhcpUserGetBootEntry | ( |
| ttUserInterface interfaceHandle, | |
| int index | |
| ); |
Function Description
This function is used to get a pointer to a DHCP user BOOT entry. This function can only be used after a successful call to tfDhcpUserStart(). If successful, the function will return a pointer to a ttUserBtEntry structure as defined in <trsocket.h>.
Parameters
- interfaceHandle
- The device entry as returned by tfAddInterface().
- index
- The user index of the BOOT entry. This value must be between 0 and tvMaxUserDhcpEntries - 1.
Returns
- userBtEntryPtr
- Success.
- NULL
- Failure. No DHCP address bound.
Table of Contents >> Optional Protocols >> DHCP User Configured