mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-18 19:31:02 +00:00
added TCP/UDP packet splitting to fit within MTU
This commit is contained in:
1 parent
a1e316ddcf
commit
264026acde
5 files changed
+380
-280
No files matched your search
@@ -27,6 +27,8 @@ struct mg_tcpip_if {
|
||||
void *driver_data; // Driver-specific data
|
||||
struct mg_mgr *mgr; // Mongoose event manager
|
||||
struct mg_queue recv_queue; // Receive queue
|
||||
uint16_t mtu; // Interface MTU
|
||||
#define MG_TCPIP_MTU_DEFAULT 1500
|
||||
|
||||
// Internal state, user can use it but should not change it
|
||||
uint8_t gwmac[6]; // Router's MAC
|
||||
|
||||
Reference in new issue
Block a user