Marian Buschsieweke
cac44edec7
tree-wide: replace multiple empty lines with one
...
For each C source/header `$file`: `sed -e '/^$/N;/^\n$/D' -i $file`.
2025-05-21 22:51:04 +02:00
KSKNico
e6b17fa5cb
sys: replace header guards with #pragma once
2025-05-16 19:40:06 +02:00
Oleg Hahm
395bdb83fe
sys: net: dns: use Quad resolver
...
Replaces Google's solver with the Quad9 (https://quad9.net/ ) ones.
2025-01-03 10:05:46 +01:00
Hendrik van Essen
0b0910f82a
sys/net/application_layer/sock_dns: add pseudomodule auto_init_sock_dns
2022-03-09 20:05:20 +01:00
Martine Lenders
e8cbc6da85
dns: move message parsing and composition to own module
2021-08-11 11:55:29 +02:00
Benjamin Valentin
fa4447241f
sock_dns: make sock_dns_query() return the length of the address
...
The implementation already did that, now also reflect this in the
documentation.
2020-02-24 14:29:17 +01:00
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
Martine Lenders
a027684a1e
sock_dns: fix typo in doc
...
`s/fuction/function/` ;-)
2018-06-22 13:23:26 +02:00
0fcc7d3834
cleanup: apply headerguard script output
2017-05-24 17:54:02 +02:00
7af03ab624
sys: net: introduce simple sock DNS client
2017-03-28 20:49:53 +02:00