mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-27 12:26:24 +00:00
Allow user to set custom DHCP name
This commit is contained in:
1 parent
042ea53478
commit
064fc6ff7b
4 files changed
+54
-36
No files matched your search
@@ -47,6 +47,7 @@ struct mg_tcpip_if {
|
||||
mg_tcpip_event_handler_t fn; // User-specified event handler function
|
||||
struct mg_mgr *mgr; // Mongoose event manager
|
||||
struct mg_queue recv_queue; // Receive queue
|
||||
char dhcp_name[12]; // Name reported to DHCP, "mip" if unset
|
||||
uint16_t mtu; // Interface MTU
|
||||
#define MG_TCPIP_MTU_DEFAULT 1500
|
||||
|
||||
|
||||
Reference in new issue
Block a user