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
Benjamin Valentin 1de14931b8 sock_dns: use the same buffer for request & reply
Saving RAM is more important than saving a few cycles
used by re-creating the request buffer in the error case.

Also reduce the size of the buffer to 128 bytes.
If we are just requesting the AAAA record it is unlikely
for the reply to take up the maximum size of 512 bytes.

We were already placing restrictions on the domain name length,
those are now actually a bit more relaxed (112 bytes instead of 64)
2020-02-24 14:29:17 +01:00
..
async Merge pull request #12602 from miri64/sock_async_event/feat/initial 2020-01-15 14:32:05 +01:00
async.h sock_async: fix cyclic dependency with sock_types.h 2020-01-07 10:13:01 +01:00
dns.h sock_dns: use the same buffer for request & reply 2020-02-24 14:29:17 +01:00
dtls.h sock: ignore -Wtypedef-redefinition for LLVM where needed 2020-01-07 10:13:02 +01:00
ip.h sock: ignore -Wtypedef-redefinition for LLVM where needed 2020-01-07 10:13:02 +01:00
tcp.h sock: ignore -Wtypedef-redefinition for LLVM where needed 2020-01-07 10:13:02 +01:00
udp.h sock: ignore -Wtypedef-redefinition for LLVM where needed 2020-01-07 10:13:02 +01:00
util.h net/sock/util: Move configuration macros to 'CONFIG_' namespace 2019-12-13 12:04:54 +01:00