Cenk Gündoğan
b1f728189c
net/gcoap: add note on proxy operation
2020-03-28 14:50:51 +01:00
Cenk Gündoğan
50900a1fbe
nanocoap: add convenience function for PROXY_URI
2020-03-28 14:50:51 +01:00
Cenk Gündoğan
97c5d2d82d
coap: add Proxy-* options
2020-03-27 22:06:42 +01:00
Martine S. Lenders
62d48d5bf3
gnrc_netif: document new *_create() out parameter as such
2020-03-26 14:37:44 +01:00
Martine Lenders
061eb88c05
Merge pull request #12994 from jia200x/pr/gnrc_netif_desc_alloc
...
gnrc_netif: implementation of dynamic GNRC_NETIF_NUMOF approach
2020-03-26 14:30:44 +01:00
Jose Alamos
44f7cb712c
gnrc_netif: add GNRC_NETIF_SINGLE macro
2020-03-26 14:19:02 +01:00
Jose Alamos
e451570219
gnrc_netif: remove GNRC_NETIF_NUMOF macro
2020-03-26 11:12:23 +01:00
Jose Alamos
67ed9defbe
gnrc_netif_xxx_create: use external netif allocation
2020-03-26 11:12:23 +01:00
benpicco
6ae0fd7c82
Merge pull request #13485 from miri64/gnrc_dhcpv6/enh/configure-context
...
gnrc_dhcpv6_client: configure prefix as compression context on 6LBRs
2020-03-25 16:48:11 +01:00
Cenk Gündoğan
5e42e26a6e
nanocoap: add const qualifier to pkt of coap_opt_get_opaque()
2020-03-25 13:38:21 +01:00
Martine Lenders
ba711c50bf
Merge pull request #13616 from miri64/sock/enh/recv_buf
...
sock: amend with zero-copy receive functions
2020-03-24 17:10:12 +01:00
Martine S. Lenders
2ed7a7345f
sock_udp: fix doc of sock objects
2020-03-24 14:02:36 +01:00
Martine S. Lenders
a7d468988d
sock: amend with zero-copy receive functions
...
This change amends the `sock` API by a set of functions to `sock` that
allow provisioning of stack-internal buffers to the caller on receive.
This allows to cover two use-cases
1. Zero-copy systems: if the stacks supported the buffer space provided
by these functions can be the same that was filled in the link-layer
2. asynchronous receive within a wrapping sock layer (e.g. `sock_dtls`
wrapping `sock_udp`): to receive packets of the lower level protocol
asynchronously, the wrapping implementation layer would currently
need to allocate its own buffer space, introducing a third buffer
space in addition to the one of the application and the network
stack. For a wrapping layer this is undesirable.
While there are security considerations exposing stack internal memory
space to the caller, I believe they are minor, as in the end the
application developer is the person in control of the node.
2020-03-24 14:02:36 +01:00
Leandro Lanzieri
877db8c00e
Merge pull request #13557 from gschorcht/doc/fix_url
...
doc: fix broken links
2020-03-24 13:08:18 +01:00
Gunar Schorcht
62e55bb8c0
sys/net/lorawan: fix broken links
2020-03-24 10:39:49 +01:00
Gunar Schorcht
b1ad00eb11
sys/net/eui64: fix broken links
2020-03-24 10:39:49 +01:00
1d5010e126
nanocoap: make separate tree handling function
...
This refactors nanocoap to seperate out the resource tree parsing. It
allows for calling the tree handler with custom resource trees. The
advantage is that a resource with COAP_MATCH_SUBTREE can parse a new
separate resource tree.
2020-03-23 15:08:53 +01:00
Jose Alamos
c2e491d2b7
gnrc_netif: change macros to inline functions
2020-03-17 10:54:30 +01:00
Jose Alamos
4393822b0f
gnrc_netif: add function to check if device requires 6Lo
2020-03-17 10:54:30 +01:00
Jose Alamos
6ace7b5472
gnrc_netif: use gnrc_netif_single where possible
2020-03-17 10:54:30 +01:00
Jose Alamos
121626b362
gnrc_netif: add function to check if single GNRC netif
2020-03-17 10:50:49 +01:00
Leandro Lanzieri
d281d4843f
Merge pull request #13628 from jia200x/pr/gnrc_rpl_macro
...
gnrc_rpl: add default value to GNRC_RPL_DEFAULT_NETIF
2020-03-13 15:47:13 +01:00
Ken Bannister
ec2aff4546
Merge pull request #13240 from kb2ma/gcoap/deprecate_add_qstring
...
net/coap: deprecate gcoap_add_qstring() and update uses
2020-03-13 08:04:50 -04:00
Jose Alamos
062643091c
gnrc_rpl: add default value to GNRC_RPL_DEFAULT_NETIF
2020-03-12 18:50:18 +01:00
benpicco
1212165222
Merge pull request #13584 from kb2ma/nanocoap/add_uquery_improvements
...
net/nanocoap: add uquery improvements
2020-03-12 15:18:07 +01:00
Ken Bannister
e6b20b4ce7
net/nanocoap: Fix return value doc for coap_opt_add_uqueryX()
2020-03-12 08:44:26 -04:00
Leandro Lanzieri
b3aa417d9f
Merge pull request #13605 from jia200x/pr/nib_fix_parenthesis
...
gnrc_ipv6_nib: remove parenthesis from boolean configs
2020-03-12 10:10:10 +01:00
Martine S. Lenders
411e320b0c
sock_async_event: update for async callback argument support
2020-03-11 16:54:12 +01:00
Martine S. Lenders
612e782b3c
sock_async: supply optional callback argument with callback setter
2020-03-11 16:54:11 +01:00
Martine S. Lenders
6e6e435c65
sock_async: add optional callback argument
2020-03-11 16:54:11 +01:00
Jose Alamos
c5cba0733f
gnrc_ipv6_nib: remove parenthesis from boolean configs
2020-03-10 12:30:12 +01:00
Aiman Ismail
aa3cbacceb
net/sock_dtls: do not put msg in mbox on timeout
2020-03-09 15:08:52 +01:00
Martine S. Lenders
06d1d79ffa
gnrc_dhcpv6_client: configure prefix as compression context on 6LBRs
2020-03-09 14:21:53 +01:00
Martine Lenders
c30f83ac3b
Merge pull request #13579 from jia200x/pr/gnrc_netif_send
...
gnrc_netif_send: add send function
2020-03-06 20:07:45 +01:00
Jose Alamos
ca54366712
gnrc_netif: add send function
2020-03-06 15:22:43 +01:00
Aiman Ismail
64f9658472
nanocoap: add coap_opt_add_uquery2()
2020-03-05 19:06:14 +01:00
Benjamin Valentin
d765098d72
sys/auto_init: allow delayed initialisation of gnrc_netif
...
Co-authored-by: Martine S. Lenders <m.lenders@fu-berlin.de>
2020-03-04 16:13:40 +01:00
Benjamin Valentin
2f6bf38d17
net/eui64: provide 32 bit access
...
Allow to read the eui64 as two 32 bit values.
2020-03-01 18:37:51 +01:00
benpicco
244c7da050
Merge pull request #13026 from brummer-simon/gnrc_tcp-prepare_for_sock_integration
...
gnrc_tcp: Prepare for sock integration.
2020-02-26 23:22:58 +01:00
Simon Brummer
10872d9a85
gnrc_tcp: Add Endpoints for connection specification
2020-02-26 21:24:06 +01:00
benpicco
d044800300
Merge pull request #13450 from benpicco/dns-fixes
...
fix DNS resolution in ping6
2020-02-24 21:58:34 +01: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 S. Lenders
9b4dac7f3e
sock_async: include sock_async_ctx.h
before sock-types
...
This way, the sock-types can use the sock_async_ctx_t type in their
definition without including `sock_async_ctx.h` (potentially creating
further cyclic includes).
2020-02-24 12:33:38 +01:00
Martine Lenders
cba056d560
Merge pull request #13386 from kb2ma/gcoap/sock_async
...
net/gcoap: use sock_async and events
2020-02-23 16:17:53 +01:00
Sören Tempel
0e2a620788
gnrc_tftp: remove module
...
Has been deprecated for awhile (01fc3d8f0b
).
2020-02-20 12:04:01 +01:00
benpicco
030e7ebc06
Merge pull request #13307 from miri64/dhcpv6-client-6lbr/feat/init
...
gnrc_dhcpv6_client_6lbr: initial import of a 6LBR DHCPv6 client
2020-02-20 11:00:35 +01:00
Martine S. Lenders
db463a3373
gnrc_dhcpv6_client_6lbr: initial import of a 6LBR DHCPv6 client
2020-02-19 17:37:47 +01:00
Ken Bannister
d6fa3c7c2f
net/gcoap: add timeout event/handler for server response
2020-02-16 09:17:48 -05:00
Ken Bannister
ea62734baf
net/gcoap: add sock_async event handling
...
Rework from earlier custom event/msg handling.
2020-02-16 09:17:48 -05:00