1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/include/net
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
..
bluetil bluetil/addr: fix byte ordering in addr_from_str() 2019-08-28 16:48:42 +02:00
cord many typo fixes 2019-11-23 22:39:07 +01:00
dhcpv6 dhcpv6: provide initial client implementation 2020-01-16 12:36:03 +01:00
ethernet
fib sys/include: fix typos 2019-11-23 22:39:37 +01:00
gnrc gnrc_tftp: remove module 2020-02-20 12:04:01 +01:00
iana
ipv4
ipv6 net/ipv6/ext/rh.h: remove unneeded header includes 2020-01-31 18:01:34 +01:00
lorawan lorawan: add helpers for parsing LoRaWAN headers 2019-04-12 15:51:15 +02:00
ppp many typo fixes 2019-11-23 22:39:07 +01:00
rpl
sixlowpan sixlowpan_sfr: initial import Selective Fragment Recovery definitions 2019-10-01 08:45:19 +02:00
skald ble/skald: adapt doxygen groups 2019-03-26 21:56:05 +01:00
sock sock_dns: use the same buffer for request & reply 2020-02-24 14:29:17 +01:00
af.h
arp.h net: add ARP hardware type defintions 2020-01-02 11:56:25 +01:00
asymcute.h net/asymcute: make cli ID len conform to standard 2019-07-04 11:03:37 +02:00
ble.h net/ble.h: add custom NDN support service UUID 2019-11-13 11:28:01 +01:00
coap.h net/coap: Remove unused COAP_ACK_VARIANCE macro 2020-01-27 19:47:20 +01:00
credman.h credman: change credman_buffer_t::s type to 'const void *' 2019-09-24 19:38:26 +02:00
csma_sender.h sys/include: fix typos 2019-11-23 22:39:37 +01:00
dhcpv6.h dhcpv6: provide initial client implementation 2020-01-16 12:36:03 +01:00
dns.h sock_dns: remove some magic numbers 2019-01-10 18:07:29 +01:00
dtls.h net/dtls: add reference to wolfssl pkg 2019-09-12 14:58:16 +03:00
eddystone.h sys/net: added generic Eddystone defines 2018-04-06 11:18:53 +02:00
emcute.h net/emcute: make cli ID conform to standard 2019-07-04 11:04:22 +02:00
ethernet.h net/ethernet: remove get_iid() function 2018-12-06 22:02:01 +01:00
ethertype.h ethertype: define 6LoWPAN encapsulation ethertype 2019-01-04 13:29:47 +01:00
eui48.h eui48: Add address flag helper functions 2019-06-10 21:07:02 +02:00
eui64.h many typo fixes 2019-11-23 22:39:07 +01:00
fib.h
gcoap.h Merge pull request #13225 from leandrolanzieri/pr/net/gcoap/fix_ref_to_variance 2020-01-28 21:28:32 +01:00
gnrc.h gnrc_netdev: remove remaining files and references 2017-11-30 19:49:40 +01:00
icmp.h
icmpv6.h sys/include/net/icmpv6.h: fix two small typos 2018-12-24 14:34:50 +01:00
ieee802154.h sys/include: fix typos 2019-11-23 22:39:37 +01:00
inet_csum.h
ipv4.h
ipv6.h doc: update IPv6 RFC references 2018-04-10 15:40:18 +02:00
l2filter.h
l2util.h l2util: initial import 2019-03-26 21:37:20 +01:00
lora.h lora.h: move brief tag outside of ifndef block 2018-12-18 13:23:36 +01:00
loramac.h net/loramac.h: add join header members size 2019-04-12 15:40:27 +02:00
mqttsn.h net/mqttsn: add min&max allowed len for client ID 2019-07-04 11:02:45 +02:00
nanocoap_sock.h Merge pull request #12231 from kb2ma/coap/refine_api_purpose 2019-10-15 18:25:50 -04:00
nanocoap.h nanocoap: State handler idempotentcy requirement 2020-02-11 11:12:08 +01:00
ndp.h net/ndp: remove convenience pointer in ndp_opt_rdnss_t 2019-09-26 22:09:02 +02:00
netdev_test.h sys/net: iolist updates 2018-03-06 14:00:32 +01:00
netif.h netif: introduce descriptor based netif 2019-10-11 10:59:14 +02:00
netopt.h net/netopt: Fix NETOPT_CHANNEL_PAGE documentation. 2019-11-29 09:34:38 +01:00
netstats.h
ntp_packet.h
packet.h
ppptype.h
protnum.h
sixlowpan.h sys/include: fix typos 2019-11-23 22:39:37 +01:00
skald.h ble/skald: adapt doxygen groups 2019-03-26 21:56:05 +01:00
sntp.h sntp.h: document sntp_sync timeout unit 2018-01-30 21:18:36 +01:00
sock.h many typo fixes 2019-11-23 22:39:07 +01:00
tcp.h sys/include: fix typos 2019-11-23 22:39:37 +01:00
udp.h
uhcp.h
zep.h sys/net/zep: add missing doxygen brief description 2018-01-24 21:41:31 +01:00