José Alamos
970bec1d1b
Merge pull request #10233 from miri64/gnrc_ipv6/enh/assume-no-preparsed-pkt
...
gnrc_ipv6: assume no preparsed packets
2018-12-10 14:21:17 +01:00
Hauke Petersen
a24f669c4c
Merge pull request #10521 from miri64/gnrc_sixlowpan_iphc/fix/non-ieee802154-support
...
gnrc_sixlowpan_iphc: allow address compression for non-IEEE802.15.4
2018-12-07 14:58:13 +01:00
Hauke Petersen
bdc1b89c93
Merge pull request #10520 from miri64/gnrc_netif_hdr/enh/conv-iid-getter
...
gnrc_netif_hdr: provide wrappers for gnrc_netif_ipv6_iid_from_addr()
2018-12-07 14:37:07 +01:00
Martine Lenders
a7e3791f3b
gnrc_sixlowpan_iphc: allow address compression for non-IEEE802.15.4
2018-12-07 13:03:40 +01:00
Martine Lenders
4d4e96f9f9
gnrc_netif_hdr: provide wrappers for gnrc_netif_ipv6_iid_from_addr()
...
For convenience ;-).
2018-12-07 12:59:37 +01:00
Hauke Petersen
bd4893277e
net/ethernet: remove get_iid() function
...
the fuctionality was moved into eui48_to_ipv6_iid()
2018-12-06 22:02:01 +01:00
Hauke Petersen
ec37ff5825
gnrc/netif: use eui48_x() for IID handling
2018-12-06 22:02:01 +01:00
Hauke Petersen
f5355ba36e
net: add generic EUI-48 header
2018-12-06 22:02:01 +01:00
Martine Lenders
eead6066dd
Merge pull request #10565 from haukepetersen/fix_gnrc_netifinternalvoiddefs
...
gnrc/netif/internal: fix copy-paste error
2018-12-06 19:30:21 +01:00
Martine Lenders
be7e42a888
Merge pull request #10562 from miri64/gnrc_ipv6/fix/hl0
...
gnrc_ipv6: fix hop-limit == 0 case
2018-12-06 18:54:53 +01:00
Hauke Petersen
fe7fba7674
gnrc/netif/internal: fix copy-paste error
...
the names for iid_from_addr and iid_to_addr functions in the
else-block were switched around, so this fixes that
2018-12-06 17:16:23 +01:00
Martine Lenders
3fde0ef8f8
gnrc_ipv6: remove special handling for encapsulated IPv6 headers
...
Since the packet is now guaranteed to be preparsed, the currently
handled IPv6 header will always be in the first snip. Because of this
the packet parser can't get confused anymore which IPv6 header is the
one to be handled so we don't need to remove the more outer ones.
Because of this we can just use the normal packet dispatching (which is
already used by other `GNRC_NETTYPE_*`-known protocol numbers such as
UDP).
This also reverts d54ac38f84
.
2018-12-06 16:22:32 +01:00
Martine Lenders
4befe0b5e2
gnrc_ipv6: assume no preparsed packets
2018-12-06 16:22:31 +01:00
Martine Lenders
9bb458dac1
Merge pull request #10229 from miri64/gnrc_ipv6_ext/enh/shortcut-forward
...
gnrc_ipv6_ext: use send for forwarding with RH
2018-12-06 16:17:50 +01:00
Hauke Petersen
92fcb4de6a
Merge pull request #10513 from miri64/gnrc_netif/enh/iid-conversion
...
gnrc_netif: add general IID to/from l2addr conversion functions
2018-12-06 15:57:06 +01:00
Hauke Petersen
1b1802aaf6
Merge pull request #10469 from miri64/gnrc_ndp/enh/rtr-wo-arsm
...
gnrc_ndp: make compilable for router without ARSM
2018-12-06 15:38:38 +01:00
Martine Lenders
bc7d083094
gnrc_ipv6: fix hop-limit == 0 case
2018-12-06 15:34:06 +01:00
Martine Lenders
b530c1bb94
gnrc_ipv6_ext: use send for forwarding with RH
...
Though this change might seem more complicated, it has the benefit, that
after #9484 we don't have to assume that a received packet within IPv6's
receive function can be handed to the function pre-parsed, making that
function far less complicated (will be provided in a future PR).
Also this might give the forwarding via routing header a little
performance boost, as we now don't *receive* the packet first only to
forward it later-on.
2018-12-06 14:47:46 +01:00
Martine Lenders
bc1b490086
gnrc_ipv6_nib: gnrc_netif_iid_to_addr() instead of _reverse_iid()
2018-12-06 14:41:30 +01:00
Martine Lenders
a44f7f7b38
gnrc_netif: use general IID conversion function for netif-based
2018-12-06 14:41:30 +01:00
Martine Lenders
5ca30b9b03
gnrc_netif: add general IID to/from l2addr conversion functions
...
They are required to make GNRC's 6Lo IPHC implementation ready for
hardware addresses other than IEEE 802.15.4's.
2018-12-06 14:41:30 +01:00
f38d9d14c6
Merge pull request #10549 from miri64/gnrc_netif/enh/submodules
...
gnrc_netif: make link-layer specific operations proper submodules
2018-12-05 17:44:40 +01:00
Martine Lenders
08524ca1d2
gnrc_netif_hdr: move path resolve to gnrc_netif submodule resolution
...
No that we introduced sub-modules to `gnrc_netif` we can move that here
as well.
2018-12-05 15:04:45 +01:00
Martine Lenders
72c5fd06b4
gnrc_netif: make link-layer specific operations proper submodules
2018-12-05 15:04:04 +01:00
Hauke Petersen
6551d8aac0
Merge pull request #10500 from miri64/gnrc_netif_hdr/enh/conv-netif-getter
...
gnrc_netif_hdr: provide convenience function to get netif pointer from netif header.
2018-12-05 14:26:02 +01:00
Martine Lenders
d94ba6c7d1
gnrc_sixlowpan_iphc: use gnrc_netif_hdr_get_netif() function
2018-12-05 14:08:32 +01:00
Martine Lenders
868a856cbc
gnrc_sixlowpan: use gnrc_netif_hdr_get_netif() function
2018-12-05 14:08:32 +01:00
Martine Lenders
b447501382
gnrc_ipv6: use gnrc_netif_hdr_get_netif() function
2018-12-05 14:08:32 +01:00
Martine Lenders
b90fff9f06
gnrc_icmpv6_error: use gnrc_netif_hdr_get_netif() function
2018-12-05 14:08:32 +01:00
Martine Lenders
f95cabe8df
gnrc_netif_hdr: add convenience function to get netif pointer
2018-12-05 14:08:32 +01:00
Martine Lenders
e4a922260e
shell_commands/ifconfig: mark TENTATIVE addresses correctly
2018-12-04 15:53:46 +01:00
90db0bf253
Merge pull request #10253 from kYc0o/pr/riot_hdr
...
sys: add riotboot_hdr module
2018-12-04 09:44:45 +01:00
Francisco Acosta
00adbd69f6
sys: add riotboot_hdr submodule
...
riotboot_hdr enables to partition the internal flash memory
into "slots", each one with a header providing information
about the partition. The concept for now is limited to
firmware partitions, which are recognised by the riotboot
bootloader. In the future the concept might be extended to
represent other content.
Co-authored-by: Kaspar Schleiser <kaspar@schleiser.de>
2018-12-03 23:58:45 +01:00
Martine Lenders
0c09a9ad8b
Merge pull request #10538 from smlng/pr/embunit
...
tests: adapt embunit TEST_ASSERT_EQUAL_STRING
2018-12-03 16:59:06 +01:00
René Kijewski
c813a7ee82
embunit: const char *
2018-12-03 14:41:12 +01:00
Kevin "Bear Puncher" Weiss
f05852290a
Merge pull request #9236 from bergzand/pr/crypto/poly1305
...
crypto: Poly1305 implementation
2018-12-03 14:31:28 +01:00
Marian Buschsieweke
003c04bd4c
Merge pull request #10012 from gschorcht/drivers_sht3x
...
drivers: sht3x temperature and humidity sensor
2018-12-03 10:43:16 +01:00
d5c527161d
test/crypto: Add tests for poly1305
...
Tests are based on the tests vectors provided in RFC 7539
2018-12-03 09:31:10 +01:00
731ceda2f7
crypto/poly1305: Initial import
...
poly1305 implementation strongly based on
https://github.com/floodyberry/poly1305-donna
2018-12-03 09:31:09 +01:00
Juan I Carrano
77c9cc4041
Merge pull request #10219 from bergzand/pr/crypt/helper_add_wipe
...
crypto/helper: Add secure wipe function
2018-11-30 11:32:45 +01:00
Martine Lenders
959087f207
gnrc_netif_hdr: make input parameters constant
2018-11-30 10:01:52 +01:00
Martine Lenders
92fd8c12de
ethernet: make input parameter const
2018-11-29 22:57:15 +01:00
b59bfd5554
Merge pull request #10505 from miri64/gnrc_mac/fix/header-includes
...
gnrc_mac: fix header includes
2018-11-29 22:02:46 +01:00
Martine Lenders
6dcf8aad69
gnrc_ipv6_nib: remove ESP-Now related code-duplication
2018-11-29 15:32:29 +01:00
Martine Lenders
6547b2185b
gnrc_netif: remove ESP-Now related code-duplication
2018-11-29 15:32:09 +01:00
Martine Lenders
03b91cbcb8
esp_now: use NETDEV_TYPE_ESP_NOW as device type
2018-11-29 13:35:20 +01:00
Martine Lenders
9d6a32b551
gnrc_mac: fix header includes
...
The inclusion of `net/gnrc.h` in `net/gnrc/mac/types.h` header makes it
impossible to include the `net/gnrc/netif.h` header within
`net/gnrc/netif/hdr.h`, due to `net/gnrc/mac/types.h` being included
with `net/gnrc/netif/mac.h` (which is included in `net/gnrc/netif.h`)
2018-11-29 12:39:34 +01:00
Martine Lenders
48aeba534b
Merge pull request #10455 from haukepetersen/opt_gnrc_netifgetiid
...
net/gnrc_netif: opt of _ipv6_get_iid()
2018-11-27 22:34:35 +01:00
Martine Lenders
310ef3c29e
Merge pull request #10227 from miri64/gnrc_rpl_srh/enh/cleanup-handler
...
gnrc_rpl_srh: cleanup and optimize SRH processing function
2018-11-27 16:41:44 +01:00
Juan I Carrano
050e06f20f
Merge pull request #10376 from cladmi/pr/crypto/ccm/const_input
...
crypto/modes/ccm: update api to const input buffers
2018-11-27 15:33:00 +01:00