aboutsummaryrefslogtreecommitdiff
path: root/lwip/lwip-util.c
Commit message (Collapse)AuthorAgeFilesLines
* Modernize code by removing use of old style definitions.Flavio Cruz2023-04-031-2/+2
| | | | | Also add -Werror=old-style-definition to enforce new code. Message-Id: <ZBZ+8xf7GHy2RT/h@jupiter.tail36e24.ts.net>
* lwip: Fix bug: Error handling on configure_device()Joan Lledó2019-05-111-5/+3
| | | | | | | * lwip/lwip-util.c: * EINVAL was never being returned. * Return error code for tcpip_callback() as errno. Message-Id: <20190511093202.9763-2-jlledom@member.fsf.org>
* lwip: Error handling when calling update_if()Joan Lledó2019-05-021-29/+33
| | | | | | | * lwip/lwip-util.c: * Check for errors when calling update_if() inside a thread-safe context. Message-Id: <20190502095502.10926-4-jlledom@member.fsf.org>
* lwip: Stop using netifapi.Joan Lledó2019-03-311-28/+45
| | | | | | | | | | | | | | Use tcpip_callback() to reconfigure interfaces in a thread-safe context instead. * lwip/lwip-util.c: * Replace all netifapi calls by their non-netifapi versions. * update_ifs() is called through tcpip_callback(). * lwip/options.c: * Call init_fs() through tcpip_callback(). * lwip/port/netif/ifcommon.c: * Replace all netifapi calls by their non-netifapi versions. Message-Id: <20190331175541.7095-5-jlledom@member.fsf.org>
* lwip: Fix wrong error checksJoan Lledó2019-03-311-2/+2
| | | | | | | | * lwip/lwip-util.c: init_ifs(): * Check for the value of ifc instead of in->dev_name * lwip/port/netif/ifcommon.c: * if_init(), if_terminate(): Check for null on ifc instead of netif Message-Id: <20190331175541.7095-2-jlledom@member.fsf.org>
* Include required sockets headersJoan Lledó2018-05-011-0/+1
| | | | | | | * lwip/iioctl-ops.c: Include <lwip/inet.h>. * lwip/lwip-util.c: Likewise. * lwip/pfinet-ops.c: Include <lwip/sockets.h> and <lwip/inet.h>. * lwip/port/netif/hurdethif.c: Likewise.
* lwip: Add LwIP-based TCP/IP translatorJoan Lledó2017-12-181-0/+343
* Makefile (prog-subdirs): Add lwip. * config.make.in (HAVE_LIBLWIP, liblwip_CFLAGS, liblwip_LIBS): Define variables. * configure.ac: Check for liblwip. * lwip/: New directory.