Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add lw ip opttion for rdnss #14343

Merged
merged 2 commits into from
Feb 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions connectivity/lwipstack/include/lwipstack/lwipopts.h
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@
// Fragmentation on, as per IPv4 default
#define LWIP_IPV6_FRAG LWIP_IPV6

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

// Debug Options
#define NETIF_DEBUG LWIP_DBG_OFF
Expand Down Expand Up @@ -336,4 +336,6 @@
#define LWIP_USE_EXTERNAL_MBEDTLS 0
#endif

#define LWIP_ND6_RDNSS_MAX_DNS_SERVERS MBED_CONF_LWIP_ND6_RDNSS_MAX_DNS_SERVERS

#endif /* LWIPOPTS_H_ */
8 changes: 8 additions & 0 deletions connectivity/lwipstack/mbed_lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,14 @@
"raw-socket-enabled": {
"help": "Enable lwip raw sockets, required for Mbed OS ICMPSocket",
"value": false
},
"nd6-rdnss-max-dns-servers" : {
"help": "number of RDNS from RA (router advertisements) to be used, RFC5006",
"value": 0
},
"nd6_queueing": {
"help": "queue outgoing IPv6 packets while MAC address is being resolved",
"value": 0
}
},
"target_overrides": {
Expand Down