tfConfGetBootEntry
Table of Contents >> Optional Protocols >> BOOTP Automatic Configuration / DHCP Automatic Configuration
| #include <trsocket.h> |
| ttUserBtEntryPtr tfConfGetBootEntry | ( |
| ttUserInterface interfaceHandle, | |
| unsigned char multiHomeIndex | |
| ); |
Function Description
This function gets a pointer to a DHCP/BOOTP Conf BOOT entry (obtained while performing a tfOpenInterface() with either TM_DEV_IP_BOOTP or TM_DEV_IP_DHCP.
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().
- multiHomeIndex
- The multihome index of the device.
Returns
- userBtEntryPtr
- Success.
- NULL
- Failure. No DHCP address bound.
Table of Contents >> Optional Protocols >> BOOTP Automatic Configuration / DHCP Automatic Configuration