mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-17 19:30:36 +00:00
Add support for prefix, link local and global in same net
This commit is contained in:
1 parent
a42271a088
commit
b0109c3319
5 files changed
+82
-40
No files matched your search
@@ -3202,6 +3202,7 @@ struct mg_tcpip_if {
|
||||
#define MG_TCPIP_MTU_DEFAULT 1500
|
||||
#if MG_ENABLE_IPV6
|
||||
uint64_t ip6ll[2], ip6[2]; // IPv6 link-local and global addresses
|
||||
uint8_t prefix[8]; // IPv6 global address prefix
|
||||
uint8_t prefix_len; // Prefix length
|
||||
uint64_t gw6[2]; // Default gateway
|
||||
bool enable_slaac; // Enable IPv6 address autoconfiguration
|
||||
|
||||
Reference in new issue
Block a user