| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | - | - | ||||
| README | D | 22-Oct-2025 | 364 | 6 | 4 | |
| dhcp_extra_opts.c | D | 22-Oct-2025 | 3.9 KiB | 92 | 59 | |
| dhcp_extra_opts.h | D | 22-Oct-2025 | 2.9 KiB | 62 | 11 |
README
1A simple example of using LWIP_HOOK_DHCP_PARSE/APPEND_OPTION hooks to implement: 2* DHCP_OPTION_MTU (option 26) to update the netif's MTU 3* DHCP_OPTION_CLIENT_ID (option 61) to advertize client's HW id of LWIP_IANA_HWTYPE_ETHERNET type 4 5Please follow the instructions in dhcp_extra_opts.h to add the hooks, definitions in lwipopts.h and enabling the extra options. 6