Skip to content

Commit ddbc2d7

Browse files
committed
add options to use RDNSS and IPv6 queuing
1 parent 737153b commit ddbc2d7

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

connectivity/lwipstack/include/lwipstack/lwipopts.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,8 @@
207207
// Fragmentation on, as per IPv4 default
208208
#define LWIP_IPV6_FRAG LWIP_IPV6
209209

210-
// Queuing "disabled", as per IPv4 default (so actually queues 1)
211-
#define LWIP_ND6_QUEUEING 0
210+
// Queuing, default is "disabled", as per IPv4 default (so actually queues 1)
211+
#define LWIP_ND6_QUEUEING MBED_CONF_ND6_QUEUEING
212212

213213
// Debug Options
214214
#define NETIF_DEBUG LWIP_DBG_OFF
@@ -336,4 +336,6 @@
336336
#define LWIP_USE_EXTERNAL_MBEDTLS 0
337337
#endif
338338

339+
#define LWIP_ND6_RDNSS_MAX_DNS_SERVERS MBED_CONF_LWIP_ND6_RDNSS_MAX_DNS_SERVERS
340+
339341
#endif /* LWIPOPTS_H_ */

connectivity/lwipstack/mbed_lib.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,14 @@
153153
"raw-socket-enabled": {
154154
"help": "Enable lwip raw sockets, required for Mbed OS ICMPSocket",
155155
"value": false
156+
},
157+
"nd6-rdnss-max-dns-servers" : {
158+
"help": "number of RDNS from RA (router advertisements) to be used, RFC5006",
159+
"value": 2
160+
},
161+
"nd6_queueing": {
162+
"help": "queue outgoing IPv6 packets while MAC address is being resolved",
163+
"value": 0
156164
}
157165
},
158166
"target_overrides": {

0 commit comments

Comments
 (0)