Add support to check the core locking: sys_lock_tcpip_core, sys_unlock_tcpip_core, sys_mark_tcpip_thread, sys_check_core_locking
Signed-off-by: goldsimon <goldsimon@gmx.de>
Fix check in LWIP_TCPIP_CORE_LOCKING case again - check current thread is holding the core lock instead of just checking the core lock is being held by _any_ thread
The number in SNMP_CREATE_TREE_NODE(0, private_nodes); is not actually used, but for consistency, it should be the same as in the base OID declaration.
This adds an implementation of LWIP_HOOK_NETCONN_EXTERNAL_RESOLVE that
uses the DNS-SD API provided by mDNSResponder
This can be used to handle .local (or all queries) sent through
netconn_gethostbyname()
This adds support for building the LwIP unit tests on MacOS 10.13
with clang 9.0.0
Summary of changes:
1) MacOS doesn't have lpthreads or lrt (omit usage)
2) check.h causes 'error: token pasting of ',' and __VA_ARGS__ is a GNU extension'
with clang 9.0.0 (suppress for now, may be able to use -std=gnu? to turn on GNU extensions)
3) check installed via brew doesn't have a separate subunit lib (omit usage)
4) clang on MacOS doesn't support --start-group (omit usage)
This fixes printing the IPv6 linklocal address when LWIP_DEBUGF is off.
Previously an empty address was printed in this case, even though
numerous other IP address information is printed from test.c
This makes it really easy to see the linklocal address when the win32
port powers on
The pcapif didn't set NETIF_FLAG_MLD6 which resulted in the solicit node
multicast group not being joined and thus no external host was able to
solicit our hardware address
This can be tested by pinging the win32 port from another host via IPv6
Add support to use Darwin byte order functions instead of LwIP's macros.
These were being pulled in through system includes used in the Unix port files.
Pull sys/types.h in cc.h to get the Darwin macros and use them throughout
In sio.c a number of non-POSIX types/symbols are used, by default MacOS is compiling
with _POSIX_C_SOURCE which guards these additional items. To enable them, we define
_DARWIN_C_SOURCE before any system includes
In unixif.c string.h was not included yet memset and friends are being used. This
caused Wimplicit-function-declaration warnings with clang
This only fixes issue seen in the source, the Makefiles need additional changes to
build with MacOS