Martine Lenders
6ad62b01a4
gnrc_netif: distinct is_6lo() and is_6ln()
...
The functions now are semantic distinct:
- gnrc_netif_is_6lo(): the interface is a 6Lo interface
- gnrc_netif_is_6ln(): the interface is using Neighbor Discovery
according to RFC 6775
2019-10-20 15:38:14 +02:00
Martine Lenders
363afa62ee
gnrc_netif: introduce 6LN flag
...
This makes it dynamically configurable if an interface actually want's
to use 6Lo ND (according to RFC 6775) or not.
2019-10-20 15:38:13 +02:00
Martine Lenders
6d324bbb75
gnrc_netif: introduce is_6lo()
as alias to is_6ln()
...
Preparation step to introduce a semantic difference between an
interface being a 6Lo interface and a 6LN according to RFC 6775 [[1]]
(i.e. performs Neighbor Discovery as defined there).
[1]: https://tools.ietf.org/html/rfc6775#section-2
2019-10-20 15:38:13 +02:00
Martine S. Lenders
5bf9892bb3
gnrc_sixlowpan_frag_rb: add new functions for SFR
2019-10-19 16:30:45 +02:00
Martine S. Lenders
ae879bc2ba
gnrc_sixlowpan_frag_rb: add doc on rb_remove() NOP
2019-10-18 12:02:03 +02:00
Martine S. Lenders
f8d75d7add
gnrc_sixlowpan_frag_rb: behavioral change to add()
...
Rather than dispatching the packet automatically once it is complete,
`gnrc_sixlowpan_frag_rb_add()` now only returns success, and leaves it
to the caller to dispatch the packet.
2019-10-18 09:02:32 +02:00
Martine S. Lenders
709baf8f1f
gnrc_sixlowpan_frag_rb: make NOPs static inline functions
2019-10-18 09:02:32 +02:00
Martine S. Lenders
a229755abe
gnrc_sixlowpan_frag_rb: return status on dispatch_when_complete()
2019-10-18 09:02:32 +02:00
Martine S. Lenders
b086453347
gnrc_sixlowpan_frag_rb: return pointer to entry on add()
2019-10-18 09:02:32 +02:00
Ken Bannister
fe8bb49e39
Merge pull request #12231 from kb2ma/coap/refine_api_purpose
...
net/nanocoap: rebalance application vs. option API doc
2019-10-15 18:25:50 -04:00
Martine Lenders
a7d082d9b8
sixlowpan: more helper functions
2019-10-15 10:40:50 +02:00
Jose Alamos
8fd0c2b60f
gnrc_netif: adapt to new netif_t abstraction
2019-10-11 10:59:14 +02:00
Jose Alamos
77a7aed6e6
netif: introduce descriptor based netif
2019-10-11 10:59:14 +02:00
Martine S. Lenders
f6686e92f1
gnrc_sixlowpan_frag_vrb: add gnrc_sixlowpan_frag_vrb_from_route()
...
This adds a new VRB function that receives a header with forwarding
information and creates a VRB entry from it. Currently, only IPv6 is
supported.
2019-10-07 18:16:47 +02:00
Martine S. Lenders
900ca3ff9e
gnrc_sixlowpan_frag_vrb: add missing header include
2019-10-07 17:54:59 +02:00
Martine Lenders
3a3d707014
Merge pull request #12378 from brummer-simon/gnrc_tcp-doc_numeric_return_values
...
gnrc_tcp: doc use 0 instead of zero
2019-10-06 17:32:39 +02:00
Simon Brummer
d192b3a931
gnrc_tcp: doc use 0 instead of zero
2019-10-06 09:04:49 +02:00
Francisco
7d7596ea6c
Merge pull request #11057 from kb2ma/coap/block_optimization
...
net/coap: Block optimizations
2019-10-04 09:41:05 +02:00
Ken Bannister
2abcbc0d20
net/coap: add generic get block function
2019-10-02 05:51:59 -04:00
Ken Bannister
5eaa51e426
net/nanocoap: remove unused function
2019-10-02 05:51:59 -04:00
Ken Bannister
dae9c4ab89
net/nanocoap: use coap_opt_add_uint() and remove unused
2019-10-02 05:51:59 -04:00
Ken Bannister
233dd31e17
net/nanocoap: add generic uint block option
2019-10-02 05:51:59 -04:00
Martine Lenders
f4cca412de
Merge pull request #12303 from miri64/sixlowpan_sfr/feat/initial
...
sixlowpan_sfr: initial import Selective Fragment Recovery definitions
2019-10-01 09:46:25 +02:00
Martine S. Lenders
60f33bbbf5
sixlowpan_sfr: initial import Selective Fragment Recovery definitions
2019-10-01 08:45:19 +02:00
Martine Lenders
04f59d6609
gnrc_sixlowpan_frag_vrb: re-use now unused super::dst for out_dst
2019-09-30 12:46:15 +02:00
Martine Lenders
45f7966364
gnrc_sixlowpan_frag_vrb: fix for draft update
...
Due to some changes to the minimal forwarding draft and in preparation
for Selective Fragment Recovery some changes to the VRB API were
needed. Now the index of a VRB entry is only (L2 src, tag) not as
before (L2 src, L2 dst, length, tag).
I know that the current `rbuf_base` causes waste, as all the fields not
used by the new index are effectively not used by the VRB. I'd like to
fix that however in a later change, since that also requires some
modifications of the classic reassembly buffer, and thus would
complicate the review and testing of the change.
Sources for the index change:
- https://tools.ietf.org/html/draft-ietf-6lo-minimal-fragment-04#section-1
- https://mailarchive.ietf.org/arch/browse/6lo/?gbt=1&index=DLCTxC2X4bRNtYPHhtEkavMWlz4
2019-09-29 18:31:43 +02:00
Martine Lenders
698d46eabe
gnrc_sixlowpan_frag_rb: make NOPs dependent on RB
2019-09-28 13:36:39 +02:00
Martine Lenders
e9ff46b2ea
gnrc_sixlowpan_frag_rb: unify naming scheme
2019-09-28 12:11:54 +02:00
Martine Lenders
178f4af108
gnrc_sixlowpan_frag_rb: remove legacy defines
2019-09-28 12:07:24 +02:00
Martine Lenders
972e4938bc
gnrc_sixlowpan_frag_rb: use existing name scheme for private functions
2019-09-28 11:51:18 +02:00
Martine S. Lenders
49bd8678ed
gnrc_sixlowpan_frag_rb: remove public around former private functions
2019-09-28 11:51:18 +02:00
Martine S. Lenders
ec495528fe
gnrc_sixlowpan_frag: move private RB functions to RB module
2019-09-28 11:51:18 +02:00
Ken Bannister
859dab585f
net/coap: remove deprecated COAP_CT_... defines
2019-09-27 20:57:42 -04:00
Martine S. Lenders
b5545fe334
gnrc_sixlowpan: include reassembly buffer only where needed
2019-09-27 21:11:36 +02:00
Martine S. Lenders
2d9ba56c2c
gnrc_sixlowpan_frag: move reassembly buffer to its own header
2019-09-27 18:34:02 +02:00
Martine Lenders
062bc732ea
Merge pull request #11299 from llueder/ndp_cpp_compliant
...
net/ndp: make addr array ptr c++ compliant
2019-09-26 22:34:45 +02:00
Lasse Lueder
1b0fdf5a6f
net/ndp: remove convenience pointer in ndp_opt_rdnss_t
2019-09-26 22:09:02 +02:00
Lasse Lueder
93fd8b707c
net/ndp define ndp_opt_rdnss_impl_t
...
The auxiliary struct internalizes the handy but non ISO-C++ compliant pointer to the payload in the packet struct. See PR #11299 .
2019-09-26 22:08:28 +02:00
benpicco
e942f86837
Merge pull request #11056 from kb2ma/coap/pkt_api_block_write
...
net/gcoap: add/use Packet API Block implementation
2019-09-24 21:43:33 +02:00
Ken Bannister
68ccf4bdc5
net/gcoap: add module documentation for block use
2019-09-24 14:03:50 -04:00
Aiman Ismail
dac69c5332
credman: change credman_buffer_t::s type to 'const void *'
2019-09-24 19:38:26 +02:00
benpicco
7a818f0433
Merge pull request #12249 from nmeum/pr/gnrc_tcp_option_length_access
...
gnrc_tcp: check if option length field is present before accessing it
2019-09-17 23:22:53 +02:00
Martine Lenders
5631b698db
Merge pull request #11623 from miri64/gnrc_ipv6_ext/feat/ipv6-frag
...
gnrc_ipv6_ext_frag: Initial import of IPv6 fragmentation
2019-09-17 19:27:38 +02:00
Martine Lenders
c2c3216c16
gnrc_ipv6_ext_frag: Initial import of IPv6 fragmentation
2019-09-17 18:55:18 +02:00
Ken Bannister
80c5baad0e
Merge pull request #12234 from kb2ma/coap/doc_option_order
...
net/coap: Document requirement to add CoAP options in order
2019-09-16 18:44:41 -04:00
Sören Tempel
e5503d62bf
gnrc_tcp: check if option length field is present before accessing it
...
TCP options have up to three fields (kind, length, value). The
current code only checks for the presence of the first field. Before
accessing the second field (length) the code must ensure that a length
field is even present.
2019-09-16 21:13:51 +02:00
Martine Lenders
f4b8ba32f3
gnrc_ipv6_ext_frag: Initial import of IPv6 reassembly
2019-09-16 19:13:18 +02:00
Ken Bannister
5b0aacc9cf
net/nanocoap_sock: insert doc to add options in order
2019-09-15 05:38:58 -04:00
Ken Bannister
414c68a654
net/gcoap: insert doc to add options in order
2019-09-15 05:38:32 -04:00
Ken Bannister
d9d8d92429
net/nanocoap: reinsert doc to add options in order
2019-09-15 05:37:26 -04:00