1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 23:12:45 +01:00
RIOT/sys/include/net
Marian Buschsieweke ab116ec71c
sys/net/nanocoap: Fix sending bogus separate responses
When module `nanocoap_server_separate` is not used, the functions to
send separate responses are still provided, just in a broken version:
They will send the separate replies from a different endpoint than the
request was received at (even on machines with only one IP address, as
also the source port is randomized).

This changes the behavior to only provide the functions for separate
response when the do work, so that others will detect an invalid
configuration at compile time rather than at run time.

The documentation is duly updated.
2024-12-13 08:40:43 +01:00
..
bluetil
cord cord/doc: Update references to RFC 9176 2024-10-18 23:52:35 +02:00
dhcpv6 sys/net/dhcpv6: let dhcpv6_client_req_ia_pd() return error 2023-02-01 23:25:22 +01:00
dns includes/net: replace "kernel_defines.h" 2022-11-22 13:39:35 +01:00
ethernet treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
fib all: adapt to moved sched defines 2020-11-23 16:56:34 +01:00
gcoap gcoap/forward_proxy: reply from request destination address 2024-05-31 12:04:48 +02:00
gnrc sys/net/gnrc_pktbuf: move CANARY to header file 2024-11-19 15:23:03 +01:00
iana
ieee802154 ieee802154/radio: fix blocking cca function 2023-01-17 11:30:59 +01:00
ipv4 sys/net/ipv4: add IPV4_ADDR_INIT() macro 2024-02-07 10:08:16 -05:00
ipv6 sys/net/ipv6: add ipv6_prefix_from_str() 2022-12-11 23:34:09 +01:00
lorawan gnrc/lorawan: add support for GNRC LoRaWAN 1.1 2022-09-29 11:25:56 +02:00
nanocoap nanocoap_fs: add nanoCoAP as VFS backend 2024-05-29 11:32:22 +02:00
netstats sys/include/net/netstats: move xtimer header where it is needed 2021-02-16 18:18:21 +01:00
ppp treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
rpl sys/net/gnrc/rpl: refactor netstats_rpl_t 2022-06-30 09:48:45 +02:00
sixlowpan nib/_nib-6ln: correct ABR timeout in ABRO 2022-09-29 10:48:49 +02:00
skald net/ble/skald: let itvl be configured per context 2022-05-24 13:02:10 +02:00
sock sys/include/net/sock: move config to separate header 2024-05-22 18:53:37 +02:00
af.h sys/include/net/af: fix doc comment 2022-04-14 09:23:27 +02:00
arp.h
asymcute.h tree-wide: fix typos in doc and comments 2023-10-16 12:17:48 +02:00
ble.h
coap.h sys/net/coap: cast in non-config define 2024-03-21 14:26:45 +01:00
credman.h includes/net: replace "kernel_defines.h" 2022-11-22 13:39:35 +01:00
csma_sender.h treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
dhcpv6.h doc: fix unbalaced grouping 2022-09-14 15:05:25 +02:00
dns_mock.h treewide: make use of new IPv4 static init macro 2024-02-08 10:14:24 -05:00
dns.h sys/dns: select appropriate address family if AF_UNSPEC 2022-12-07 22:26:51 +01:00
dsm.h dsm: make CONFIG_DSM_PEER_MAX depend on CONFIG_DTLS_PEER_MAX 2021-10-08 12:15:53 +02:00
dtls.h dtls, tinydtls: Raise default number of connections 2023-03-02 09:16:22 +01:00
eddystone.h
emcute.h tree-wide: fix typos in doc and comments 2023-10-16 12:17:48 +02:00
ethernet.h treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
ethertype.h treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
eui48.h net/eui48: add eui64_to_eui48() 2020-09-30 11:18:36 +02:00
eui64.h
eui_provider.h net/eui_provider: prohibit use of NETDEV_ANY for EUI device type 2021-06-08 14:30:40 +02:00
fib.h fib: document unused state 2023-02-22 16:47:14 +01:00
gcoap.h sys/gcoap: add public function to find a resource by path 2024-08-21 17:49:48 +02:00
gnrc.h doc: fix links to GNRC master thesis 2024-07-15 11:25:30 +02:00
icmp.h treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
icmpv6.h
ieee802154_security.h sys/include: remove kernel_defines.h where not needed 2022-11-22 13:39:35 +01:00
ieee802154.h ieee802154: add DSME configs 2023-05-31 16:31:20 +02:00
inet_csum.h
ipv4.h treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
ipv6.h treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
l2filter.h l2filter: mark module as experimental 2024-04-29 11:49:33 +02:00
l2scan_list.h tests/net: add test for l2scan list module 2023-08-18 20:42:43 +02:00
l2util.h treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
lora.h drivers/sx127x: reduce use of floats 2023-06-12 13:54:06 +02:00
loramac.h includes/net: replace "kernel_defines.h" 2022-11-22 13:39:35 +01:00
mqttsn.h net/mqttsn: add flag definition for QoS -1 2020-12-18 10:22:25 +01:00
nanocoap_sock.h sys/net/nanocoap: Fix sending bogus separate responses 2024-12-13 08:40:43 +01:00
nanocoap_vfs.h nanocoap_vfs: add nanocoap_vfs_put() 2022-06-08 17:19:03 +02:00
nanocoap.h Merge pull request #20945 from maribu/sys/net/gcoap/replace-super-insane-hack-with-less-insane-hack 2024-11-08 20:03:37 +00:00
ndp.h gnrc_ndp: add route information option 2021-06-18 00:13:08 +02:00
netdev_test.h netdev_test: avoid explicit cast to netdev 2021-07-09 11:35:19 +02:00
netif.h sys/net/netif: constify netif access 2023-12-15 16:50:21 +01:00
netopt.h netopt: mark l2filter options as experimental 2024-04-29 11:49:33 +02:00
netstats.h netstats: add missing cib.h include 2021-07-05 10:32:50 +02:00
ntp_packet.h
packet.h
ppptype.h treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
protnum.h treewide: Remove excessive newlines 2021-08-13 19:50:38 +02:00
sixlowpan.h sixlowpan|gnrc_sixlowpan: change SFR draft to RFC in doc 2020-12-14 09:00:26 +01:00
skald.h net/ble/skald: let itvl be configured per context 2022-05-24 13:02:10 +02:00
sntp.h
sock.h tree-wide: fix typos in doc and comments 2023-10-16 12:17:48 +02:00
someip.h doc: fix unbalaced grouping 2022-09-14 15:05:25 +02:00
tcp.h gnrc_tcp: add listen/accept 2021-07-08 09:40:02 +02:00
telnet.h doc: sort all stdio implementations into sys_stdio group 2023-01-13 11:08:22 +01:00
udp.h
uhcp.h uhcp: improve documentation 2020-11-09 11:45:28 +01:00
utils.h sys/net/netutils: add netutils_get_ipv4() 2022-03-08 13:35:32 +01:00
wifi_scan_list.h net: add wifi scan list as wrapper around l2scan list 2023-08-18 20:42:43 +02:00
wifi.h net: add basic Wi-Fi definitions 2023-08-19 23:23:10 +02:00
zep.h