1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/sys/include/net/sock
Martine S. Lenders f9e17ac025
sock: amend API to iterate over stack-internal chunks
With lwIP we have a chunked UDP payload, so just providing the
stack-internal buffer is not possible. To be able to iterate over such
a chunked payload, this change allows the `sock_*_recv_buf()` functions
to use the internal buffer context as an iteration state.

As the internal buffer space can be released when the function would
return 0, `sock_recv_buf_free()` becomes unnecessary.
2020-04-01 15:50:46 +02:00
..
async sock_async_event: update for async callback argument support 2020-03-11 16:54:12 +01:00
async.h sock_async: supply optional callback argument with callback setter 2020-03-11 16:54:11 +01:00
dns.h sock_dns: make sock_dns_query() return the length of the address 2020-02-24 14:29:17 +01:00
dtls.h sock: amend API to iterate over stack-internal chunks 2020-04-01 15:50:46 +02:00
ip.h sock: amend API to iterate over stack-internal chunks 2020-04-01 15:50:46 +02:00
tcp.h sock: ignore -Wtypedef-redefinition for LLVM where needed 2020-01-07 10:13:02 +01:00
udp.h sock: amend API to iterate over stack-internal chunks 2020-04-01 15:50:46 +02:00
util.h net/sock/util: Move configuration macros to 'CONFIG_' namespace 2019-12-13 12:04:54 +01:00