Frederik Haxel
3291f94e07
pkg: 64 bit compatibility
...
* Added arch_64bit feature and added it to all packages that require 32 bit.
* hacl, wolfssl: Fixed different types between function declaration and implementation.
* lwip: Add required flag for 64 bit and bug fix in `lwip_sock`.
* micro-ecc: Workaround for GCC warning when using `__int128`.
2024-01-18 00:40:08 +01:00
Hendrik van Essen
804da9ba25
pkg/lwip: give lines some more space
2022-10-05 14:13:02 +02:00
Marian Buschsieweke
3b3d644ce3
Merge pull request #18288 from maribu/pkg/lwip
...
pkg/lwip: ease debugging & fix sending from socket bound to anyaddr
2022-07-25 10:27:33 +02:00
Marian Buschsieweke
3be9446769
pkg/lwip: fix code style
...
This mostly converts switch statements from double indent style to
Linux kernel style, as required per the coding convention.
From the C compiler perspective, this is a whitespace only change.
2022-07-22 12:42:22 +02:00
Marian Buschsieweke
d646a71e71
pkg/lwip: fix sending from socket bound to anyaddr
2022-07-22 09:48:53 +02:00
Marian Buschsieweke
f590c18f7f
pkg/lwip: ease debugging
2022-07-22 09:48:53 +02:00
Hendrik van Essen
850863c22f
pkg/lwip: move includes to the top of the file
2022-03-07 17:19:04 +01:00
Benjamin Valentin
b822e8a5a9
pkg/lwip: implement sock_udp_sendv_aux()
2022-02-22 10:05:41 +01:00
Erik Ekman
e04da0d828
pkg/lwip: Lock core before calling netif_get_ip6_addr_match in sock
2021-07-15 15:46:10 +02:00
Erik Ekman
d3ba3117f2
pkg/lwip: Use NETIF_FOREACH macro in sock implementation
...
Decreases dependency on lwIP internals, and will handle LWIP_SINGLE_NETIF.
2021-03-06 11:27:14 +01:00
Martine Lenders
71224b4b1e
lwip_sock: use new mbox_avail() function
2020-11-20 13:09:42 +01:00
Bas Stottelaar
970c72a0cb
pkg/*: add missing include of assert.h
2020-10-22 11:13:08 +02:00
Marian Buschsieweke
00c44b0924
pkg/lwip: Use IS_ACTIVE() & NETCONNTYPE_ISIPV6()
...
This also fixes an issue detected by `tests/lwip_sock_udp` when both IPv4 and
IPv6 are enabled.
2020-07-31 13:27:09 +02:00
Martine S. Lenders
035acc2e53
pkg/lwip: remove ipv6only clause for AF_INET6 sockets
2020-06-24 18:44:06 +02:00
Martine S. Lenders
ef1d458089
lwip_sock: re-issue receive events if there are still received messages
...
... after `*_recv()` or `*_accept()` was called.
This prevents a client from needing to call `*_recv()` or `*_accept()`
in a loop.
2020-05-12 14:19:34 +02:00
Martine S. Lenders
29651da8f4
lwip_sock: update implementation for async callback argument
2020-03-11 16:54:12 +01:00
Martine S. Lenders
6e6e435c65
sock_async: add optional callback argument
2020-03-11 16:54:11 +01:00
Martine S. Lenders
fc67e6143a
lwip: provide sock_async support
2020-03-06 11:28:16 +01:00
Wouter Symons
49a8f64c62
pkg/lwip: fix memory issue when sending with empty sock
2019-12-13 17:28:32 +01:00
Martine S. Lenders
e96bc2a13d
lwip_sock: additional indirection of conn is unnecessary
...
Either the sock is provided with `sock_*_send()` or not. In the first
case the indirection is not necessary, and in the second we need to
delete the created `conn` within `lwip_sock_send()` anyway, so returning
it makes no sense.
2019-12-12 11:19:51 +01:00
Martine Lenders
6822f90004
lwip_sock: adapt for address zoning
2018-10-15 21:32:34 +02:00
Martine Lenders
48aae4ef2f
lwip: port to v2.0.2
2017-05-11 11:49:38 +02:00
Martine Lenders
b915d15de1
pkg: provide sock_tcp support for lwip
2017-02-13 20:10:42 +01:00
Oleg Hahm
4f4214235b
timex: unambiguous time conversion macros
2017-01-19 13:18:08 +01:00
Victor Arino
49adbf24da
pkg/lwip: use new sema implementation
2017-01-19 08:59:17 +01:00
Martine Lenders
bf60c2fbfa
pkg: provide sock_ip support for lwip
2017-01-17 09:00:44 +01:00