The dhcp_cbfunc function is what DHCP client calls, when the extended DHCP options are enabled in the configuration. This function is used to notify the user about extended DHCP option values. If this function is not provided in the user code, the DHCP client notifications are not possible. The argument opt specifies the extended DHCP option code. The argument *val is a pointer to the option value. The value type is defined by the opt parameter. Supported extended DHCP options are shown in the table. | Option | Value | Description |
|---|
| 67 | Bootfile Name | Pointer to a 0-terminated boot file name. |
The dhcp_cbfunc function is part of RL-TCPnet. The prototype is defined in net_config.h. Note - This function is optional. If is not needed for default DHCP client configuration.
|