PeterKietzmann
70810ae697
sys/netif: include release of iovec in gnrc_netif_raw
2017-12-13 17:29:10 +01:00
PeterKietzmann
6295e4a7c9
sys/netif: add missig pkt release in gnrc_netif_raw
2017-12-13 15:44:39 +01:00
Martine Lenders
2ae30cf582
gnrc_netif: rename IPv6 address "setters"
...
This renames the following functions
* `gnrc_netif_ipv6_addr_add()`
* `gnrc_netif_ipv6_addr_remove()`
* `gnrc_netif_ipv6_group_join()`
* `gnrc_netif_ipv6_group_leave()`
by appending the suffix `_internal`.
\## Reasoning
I'd like to provide a helper function for the *public* equivalent using
`gnrc_netapi_set()`, and those names are to nice to not be taken for
those.
\## Procedure
I used a combination of `git grep` and `sed` to do this and fixed the
alignment in the result of some cases by hand.
```sh
git grep --name-only "\<gnrc_netif_ipv6_\(addr\|group\)_\(add\|remove\|join\|leave\)\>" | \
xargs sed -i 's/\<gnrc_netif_ipv6_\(addr\|group\)_\(add\|remove\|join\|leave\)/\0_internal/g'
```
2017-12-13 13:50:39 +01:00
zhuoshuguo
cebc995ec3
gnrc_gomach: add sender ID number limit in beacon packet.
2017-12-11 11:31:39 +01:00
400dccfaa1
sys/net/netopt: remove unused NETOPT_DEVICE_MODE
2017-12-09 20:06:57 +01:00
Martine Lenders
7745060ad9
Merge pull request #8209 from bergzand/pr/netifeth_oddebug
...
gnrc_netif: Fix compile errors when debug is enabled
2017-12-05 16:28:22 +01:00
039bdf2aa6
gnrc_netif: Fix debug printing in ieee802154
2017-12-05 14:49:48 +01:00
ef8222e4bd
gnrc_netif: Include od when debugging
2017-12-05 14:48:02 +01:00
Martine Lenders
5bdf3670e3
gnrc_ipv6: fix packet snip switch-up
2017-12-05 12:57:50 +01:00
3367840fa2
sys/net/nanocoap: use submodules
2017-12-01 12:55:45 +01:00
84bc849014
sys: net: nanocoap: ignore Uri-Host option
2017-12-01 12:55:45 +01:00
16bdbe5d32
sys: net: add nanocoap
2017-12-01 12:55:44 +01:00
Sebastian Meiling
73d9c460d3
Merge pull request #7336 from kb2ma/gcoap/confirm_infrastructure
...
net/gcoap: Create confirm request infrastructure and adapt existing messaging
2017-12-01 11:18:24 +01:00
0d85186653
Merge pull request #8180 from miri64/gnrc_netdev/cleanup/rm
...
gnrc_netdev: remove remaining files and references
2017-11-30 20:05:17 +01:00
Martine Lenders
5a0e9bcca4
gnrc_netdev: remove remaining files and references
...
Somehow, these files were forgotten in my big cleanup in #7925 . This
fixes that.
2017-11-30 19:49:40 +01:00
zhuoshuguo
ea5aeeb10f
gomach: a robust traffic adaptive multichannel MAC for IoT.
2017-11-30 18:51:49 +01:00
Cenk Gündoğan
06782c4721
Merge pull request #8173 from bergzand/pr/gnrc_uhcpc_rpl
...
gnrc_uhcpc: initialize rpl root on prefix configuration
2017-11-30 13:15:49 +01:00
2ba110d8f7
gnrc_uhcpc: initialize rpl root on prefix configuration
2017-11-30 13:08:55 +01:00
Sebastian Meiling
8f7de7c2fe
Merge pull request #8179 from miri64/gnrc_ipv6_nib/api/NULL-l2addr
...
gnrc_ipv6_nib: Allow l2addr == NULL for gnrc_ipv6_nib_nc_set()
2017-11-29 21:07:39 +01:00
zhuoshuguo
e6409f025f
gnrc_lwmac: include lwmac headers when LWMAC defined.
2017-11-29 17:29:26 +01:00
Martine Lenders
7d20a80ba8
gnrc_ipv6_nib: Allow l2addr == NULL for gnrc_ipv6_nib_nc_set()
2017-11-29 17:26:45 +01:00
Peter Kietzmann
eb2c0e29ab
Merge pull request #8155 from RIOT-OS/revert-8009-revert-7238-pr_sc_ccnl_chunkdump
...
Revert "Revert "shell/ccnl: remove use of ccnl_wait_for chunk()""
2017-11-28 21:36:38 +01:00
smlng
b283b7784c
make: fix various compile errors with Wextra
...
pkg, nordic_softdevice_ble: disable CFLAGS to omit compiler error
sys, pm_layered: fix casting nonscalar to the same type
cpu, stm32_common: fix type-limits, remove always true assert
cpu, stm32f4: fix pointer arithmetic in periph/i2c
drivers, at86rf2xx: fix type-limits where condition always true
saul, gpio: fix if no gpio configured for saul
cpu, saml21: add frequency check to periph/timer
driver, cc110x: fix unused param and type-limts errors
boards, wsn430-common: fix old-style-declaration
make: fix old style definition
drivers, sdcard_spi: fix old style typedef
driver, at30tse: remove unnecessary check
driver, nrf24: fix type-limit
driver, pn532: change buffer from char to uint8_t
tests/driver_sdcard: fix type limits
boards, feather-m0: add missing field inits
driver, tcs37727: fix type limits
pkg, emb6: disable some compiler warnings
tests/emb6: disable some compiler warings
pkg, openthread: fix sign compare and unused params
tests/trickle: fix struct init
tests/pthread_cooperation: fix type limits
board, mips-malta: remove feature periph_uart
shell: fix var size for netif command
gnrc, netif: fix sign-compare
gnrc, nib: fix sign-compare
shell: fix output in netif command
posix: fix type-limits in pthread_cond
2017-11-28 18:31:43 +01:00
smlng
aa6e1711d4
net, lwmac: cleanup, restructured code
2017-11-28 17:28:40 +01:00
smlng
e381317fbf
make: fix sign-compare errors
...
cpu, nrf5x_common: fix sign-compare in periph/flashpage
drivers, periph_common: fix sign-compare in flashpage
cpu, sam0_common: fix sign-compare error in periph/gpio
cpu, cc2538: fix sign-compare in periph/timer
cpu, sam3: fix sign-compare in periph/gpio
cpu, stm32_common: fix sign-compare in periph/pwm
cpu, stm32_common: fix sign-compare in periph/timer
cpu, stm32_common: fix sign-compare in periph/flashpage
cpu, nrf5x_common: fix sign-compare in radio/nrfmin
cpu, samd21: fix sign-compare in periph/pwm
cpu, ezr32wg: fix sign-compare in periph/gpio
cpu, ezr32wg: fix sign-compare in periph/timer
drivers, ethos: fix sign-compare
sys, net: fix sign-compare
cpu, atmega_common: fix sign-compare error
cpu, msp430fxyz: fix sign-compare in periph/gpio
boards, msb-430-common: fix sign-compare in board_init
driver, cc2420: fix sign-compared
sys/net: fix sign-compare in gnrc_tftp
driver, pcd8544: fix sign-compare
driver, pn532: fix sign-compare
driver, sdcard_spi: fix sign-compare
tests: fix sign_compare
sys/net, lwmac: fix sign_compare
pkg, lwip: fix sign-compare
boards, waspmote: make CORECLOCK unsigned long to fix sign_compare error
tests, sock_ip: fix sign compare
tests, msg_avail: fix sign compare
tests, sock_udp: fix sign compare
boards: fix sign-compare for calliope and microbit matrix
2017-11-28 11:55:48 +01:00
Martine Lenders
e65211db7d
Merge pull request #7195 from miri64/gnrc_pktbuf_malloc/feat/initial
...
gnrc_pktbuf_malloc: initial import of a malloc()-based pktbuf
2017-11-28 00:00:36 +01:00
Martine Lenders
a63bb6d47b
Merge pull request #6895 from bergzand/drivers/radio-rssi-conv
...
drivers/radios Apply register to rssi dBm conversion to all radios
2017-11-27 23:52:15 +01:00
fa64e93313
netdev: Represent RSSI as int16_t
2017-11-27 21:49:15 +01:00
Martine Lenders
e8531383d2
Revert "Revert "shell/ccnl: remove use of ccnl_wait_for chunk()""
2017-11-27 21:40:54 +01:00
Martine Lenders
6db9e15485
Merge pull request #7346 from smlng/net/gnrc_tcp/use_push
...
gnrc tcp: use push flag in send
2017-11-27 21:24:45 +01:00
8a6d04ce52
Merge pull request #7925 from RIOT-OS/gnrc_netif2_integration/master
...
gnrc_netif2: gnrc_ipv6_nib: full integration into GNRC
2017-11-27 21:12:14 +01:00
Martine Lenders
a32a2a93e1
gnrc_ipv6_nib: add interface parameter to nc_del function
2017-11-27 20:32:27 +01:00
Martine Lenders
2f8223106b
gnrc_ipv6_nib: fix ms to sec conversion for sending NDP PIOs
2017-11-24 13:52:20 +01:00
Martine Lenders
973007ad38
gnrc_ipv6_nib: fix ltime > MAX / 1000 corner case in NDP PIOs as well
2017-11-24 13:52:19 +01:00
Martine Lenders
63cc5f6751
gnrc_rpl: fix corner cases in sec/ms conversion in prefix lifetimes
...
Two edge cases were previously missed:
1. Infinite should stay infinite. Prefixes with infinite lifetimes
should be advertised as such. Likewise, should prefixes with
infinite lifetimes be added to the prefix list as such
2. Prefixes with lifetimes > (UINT32_MAX - 1) / 1000 should have the
longest possible lifetime below infinite (UINT32_MAX - 1)
This fixes that.
2017-11-24 13:45:26 +01:00
aff7d6ecd8
Merge pull request #8097 from miri64/gnrc_ipv6_nib/fix/reduce-unreachable-backoff
...
gnrc_ipv6_nib: reduce backoff if neighbor UNREACHABLE and trying reach to it
2017-11-24 01:05:55 +01:00
Martine Lenders
97b0db61ca
gnrc_rpl: remove redundant iface variable
2017-11-24 00:20:32 +01:00
Martine Lenders
423fc74bd2
gnrc_rpl: fix check if DODAG-ID is on interface
2017-11-24 00:20:32 +01:00
Martine Lenders
279e19fe8a
gnrc_rpl: properly handle prefix list
2017-11-23 22:56:55 +01:00
3979ffcf1b
gnrc_rpl: Exclude routes without next hop from DAO packets
2017-11-23 19:29:07 +01:00
Martine Lenders
ec02458c55
gnrc_rpl: fix abandoned packet bug in transit option build
...
Due to the transit option build function being passed a NULL pointer,
the previous transit and target options are dropped (and never freed).
This fixes #8098 and #8126 .
2017-11-23 18:43:36 +01:00
Martine Lenders
4476d340f0
gnrc_ipv6_nib: remove trailing semicolon in ARSM macro
2017-11-21 17:21:34 +01:00
Martine Lenders
5b747e2629
gnrc_ipv6_nib: cap-off NS sent to prefent overflows
2017-11-21 17:21:34 +01:00
Martine Lenders
168228ddc9
gnrc_ipv6_nib: do not try to re-register to an unreachable router
2017-11-21 17:21:33 +01:00
Martine Lenders
61b539abf9
gnrc_ipv6_nib: reduce backoff if neighbor UNREACHABLE and trying to it
...
When a neighbor becomes UNREACHABLE which causes neighbor solicitations
to be send only up to every minute. If the medium is very busy this can
easily get lost, basically causing the neighbor never to be reachable
again from the perspective of the sending node. To fix this the backoff
is reduced to its start value, every time a packet is sent to that
neighbor.
2017-11-21 11:38:45 +01:00
b561e84b7f
Merge pull request #8091 from miri64/gnrc_ipv6_nib/fix/rereg-retrans-unit
...
gnrc_ipv6_nib: fix retransmission timeout unit for address re-registration
2017-11-20 15:42:59 +01:00
e5cf4a5396
Merge pull request #8089 from miri64/gnrc_netif/fix/add-sol-nodes
...
gnrc_netif: join/leave solicited nodes IPv6 address add/remove
2017-11-20 14:35:49 +01:00
Martine Lenders
564d3c7581
gnrc_ipv6_nib: remove now duplicate join to sol. nodes
2017-11-20 14:22:55 +01:00
Martine Lenders
d4e60dae2e
gnrc_netif: join/leave solicited nodes IPv6 address add/remove
2017-11-20 14:22:55 +01:00
Martine Lenders
10b74740eb
gnrc_netif: fix GNRC_NETAPI_GET of arrays
...
The target array currently moves with the loop instead of with the
results. This fixes that.
2017-11-20 14:18:09 +01:00
Martine Lenders
8c4eb43701
gnrc_ipv6_nib: fix retrans. timeout unit for address re-registration
2017-11-20 13:52:37 +01:00
Martine Lenders
12261a3e69
gnrc_ipv6_nib: Remove stray assert() in _handle_aro()
...
This assertion doesn't make any sense. The function is called by
_copy_and_handle_aro() on a router which causes `nce` to be NULL
(because there is no NCE known yet) and then the function called
directly after (_reg_addr_upstream()) checks if `nce` might be NULL and
creates an NCE if necessary.
2017-11-20 06:41:08 +01:00
Cenk Gündoğan
de5e0c677f
gnrc_netif: fix DEBUG output
2017-11-20 00:35:17 +01:00
Cenk Gündoğan
3be5c9fdf3
nib: use correct fall through hint
2017-11-20 00:35:17 +01:00
Cenk Gündoğan
5b5c479043
rpl: replace fib with nib
2017-11-20 00:35:17 +01:00
Martine Lenders
2a899c45ac
gnrc_ipv6_nib: make user added default route the primary one
2017-11-19 23:36:20 +01:00
Martine Lenders
e7bb0ed67f
gnrc_uhcpc: adapt for route lifetime
2017-11-17 13:44:18 +01:00
Martine Lenders
f62974207d
gnrc_ipv6_nib: add timeouts to routes
2017-11-17 13:43:18 +01:00
Martine Lenders
fb5851dde4
gnrc_ipv6_nib: actually timeout a default router
...
While the GNRC_IPV6_NIB_RTR_TIMEOUT is properly handled, it is actually
never fired. Moreover, the router lifetime is set, but never read.
This removes the router lifetime and switches it out for an evtimer
to does the GNRC_IPV6_NIB_RTR_TIMEOUT event.
2017-11-17 11:43:32 +01:00
Martine Lenders
f90a9a875f
gnrc_ndp2: rename to gnrc_ndp
2017-11-17 10:41:54 +01:00
Martine Lenders
31b1ceb440
gnrc_netif2: rename to gnrc_netif
2017-11-17 10:41:54 +01:00
Martine Lenders
636ef2a498
gnrc: remove legacy neighbor discovery code
2017-11-17 09:20:30 +01:00
Martine Lenders
71a7dbf918
gnrc: remove legacy network interface structures
2017-11-17 09:20:29 +01:00
Martine Lenders
bf8465c650
Merge pull request #7479 from miri64/gnrc_ipv6_nib/feat/ndp-rd
...
gnrc_ipv6_nib: implement behavior for router discovery
2017-11-16 16:35:21 +01:00
Martine Lenders
ccb8462d94
gnrc_sixlowpan_nd: adapt for NIB
2017-11-16 15:49:21 +01:00
Martine Lenders
319c0f9d21
gnrc_ipv6_nib: implement behavior for router discovery
2017-11-16 15:49:20 +01:00
Martine Lenders
fbb70315cb
lwmac: fix issues reported by cppcheck
2017-11-16 15:07:08 +01:00
Martine Lenders
62a1f0848f
gnrc_netif2: make more complexer functions not inline
2017-11-16 14:44:23 +01:00
Martine Lenders
90549108ca
gnrc_ipv6_nib: add exception in address resolution for SLIP
2017-11-15 20:03:30 +01:00
Martine Lenders
852cb5a791
gnrc_netif2: adapt setting of maximum packet size for slipdev
2017-11-15 16:19:15 +01:00
Martine Lenders
6038a7d3a5
gnrc_netif2: provide raw adaption layer (for e.g. SLIP)
2017-11-14 13:40:51 +01:00
Martine Lenders
01c21fa274
tests: make gnrc_ipv6_ext test compilable with gnrc_netif2
...
Test currently not working
2017-11-13 16:36:34 +01:00
Martine Lenders
c6428698b4
Revert "shell/ccnl: remove use of ccnl_wait_for chunk()"
2017-11-11 19:34:52 +01:00
Martine Lenders
b83bc1b763
Merge pull request #7456 from miri64/gnrc_ipv6_nib/feat/port-to-gnrc_netif2
...
gnrc_ipv6_nib: port to gnrc_netif2
2017-11-11 19:10:14 +01:00
Peter Kietzmann
69fe566a18
shell/ccnl: remove use of ccnl_wait_for chunk()
2017-11-10 15:27:47 +01:00
Ken Bannister
37f272bf2c
net/gcoap: Refactor lookup for outstanding request
...
Add support for a confirmable request and standardize token match.
2017-11-10 06:54:38 -05:00
Ken Bannister
70be8cd5bb
net/gcoap: Update copyright for 2017
2017-11-10 06:54:38 -05:00
Ken Bannister
0e93566814
net/gcoap: Update request memo struct for a confirmable request
2017-11-10 06:54:38 -05:00
Martine Lenders
72db5e48f0
gnrc_ipv6_nib: fix for 'holey' NIB
...
When there are holes in the NIB (e.g. when entries were removed)
currently the NIB crashes the system due to a failed assertion
(`DEVELHELP` needs to be activated to test this behavior).
This fixes this behavior by making the assertion a check that is always
compiled in.
2017-11-09 15:28:56 +01:00
Martine Lenders
a7d2c65b36
gnrc_ipv6_nib: port to gnrc_netif2
2017-11-08 20:18:53 +01:00
Martine Lenders
c3141c46b6
gnrc_ndp2: port to gnrc_netif2
2017-11-08 20:18:53 +01:00
Martine Lenders
89ec411b79
Revert "gnrc_uhcpc: fix dependencies"
2017-11-08 19:23:39 +01:00
Martine Lenders
78985b4db2
gnrc_uhcpc: fix dependencies
...
\#7721 showed, that `posix` is required to include the `arpa/inet.h`
header into the include path of an application using the `uhcpc`
module.
Additionally this PR makes the FIB an optional dependency of
`gnrc_uhcpc`.
Backport of #7722
2017-11-08 14:49:53 +01:00
Martine Lenders
867aff211f
Merge pull request #7935 from zhuoshuguo/gnrc_lwmac_adjust_csma_flag
...
gnrc_lwmac: adjust error use of csma flag for transmit packet.
2017-11-07 23:13:44 +01:00
Martine Lenders
861035f22d
gnrc: integrate gnrc_netif2
...
Not link-able, since NDP and NC are missing (intentionally)
2017-11-07 19:08:44 +01:00
Martine Lenders
b1e69a776f
Merge pull request #7910 from x3ro/fix-gnrc-ipv6-nib-test-on-macos
...
tests/gnrc_ipv6_nib: Fix unused function error w/ clang/macOS
2017-11-07 18:16:55 +01:00
Lucas Jenss
069849f002
WIP tests/gnrc_ipv6_nib: Fix unused function error w/ clang/macOS
...
In the case that GNRC_IPV6_NIB_CONF_ARSM is set but
GNRC_IPV6_NIB_CONF_6LN is not, clang complains about
the function _get_l2addr_from_ipv6 never being used.
I couldn't easily figure out why this passes in Murdock,
but I'm guessing that clang is simply being smarter than
GCC. Can someone comment on whether there is a better fix
for this?
Relates to #6473
2017-11-07 17:35:42 +01:00
Lucas Jenss
4bb12ba091
tests/gnrc_ipv6_nib_6ln: Fix error w/ clang on macOS
...
_is_reachable is only used when GNRC_IPV6_NIB_CONF_ARSM
is enabled, and as such it must be guarded so that clang
doesn't complain about a unused function in case
GNRC_IPV6_NIB_CONF_ARSM is not set
Similar to #7910
Relates to 6473
2017-11-07 17:33:15 +01:00
Martine Lenders
f8c2078f94
gnrc_pktbuf_static: assert that users > 0 on release
2017-11-06 15:27:44 +01:00
Martine Lenders
046f30b918
Merge pull request #7722 from miri64/gnrc_uhcpc/fix/dep
...
gnrc_uhcpc: fix dependencies
2017-11-06 11:21:55 +01:00
zhuoshuguo
6c57999b2b
gnrc_lwmac: adjust use of error CSMA flag for packet transmit.
2017-11-03 18:52:01 +01:00
c02ee081d9
Merge pull request #7174 from miri64/gnrc_sock/fix/return-EINVAL-for-inval-sock
...
sock: specify invalid parameter error
2017-11-02 17:30:35 +01:00
zhuoshuguo
c554d30b26
gnrc_lwmac: port to gnrc_netif2.
2017-11-01 15:40:47 +01:00
Martine Lenders
cb2a968a35
gnrc_uhcpc: fix dependencies
...
\#7721 showed, that `posix` is required to include the `arpa/inet.h`
header into the include path of an application using the `uhcpc`
module.
Additionally this PR makes the FIB an optional dependency of
`gnrc_uhcpc`.
2017-10-13 12:13:47 +02:00
Francisco Acosta
a82930cf60
Merge pull request #7381 from miri64/slipdev/api/slip-port-to-netdev
...
slip: port to be used with netdev
2017-10-10 23:23:01 +02:00
Martine Lenders
b74ee8869b
slip: port to be used with netdev
2017-10-10 23:14:12 +02:00
Martine Lenders
1d8dcae686
gnrc_netif2: add IEEE 802.15.4 support
2017-10-10 23:11:54 +02:00
Martine Lenders
3929550ea3
gnrc_netif2: make gnrc_netif2_create idempotent and crash on error
2017-10-10 21:17:32 +02:00
Lucas Jenss
6998ffbb14
cppcheck: Provide consistent reason formatting for all cppcheck-suppresses
2017-10-10 10:25:20 -07:00
Cenk Gündoğan
814dc95553
Merge pull request #7703 from miri64/gnrc_ipv6_nib/fix/return-ar-state
...
gnrc_ipv6_nib: return registration state on upstream registration
2017-10-10 11:35:47 +02:00
Martine Lenders
eb76e8034d
gnrc_ipv6_nib: return registration state on upstream registration
...
The function `_update_nce_ar_state()` was introduced during the review
of \#7424, but it's return value never used, causing faulty behavior.
2017-10-10 11:06:47 +02:00
Martine Lenders
0b80c7ed17
gnrc_netif2: Introduction of a new GNRC network interface API
2017-10-10 10:36:28 +02:00
Martine Lenders
6a7de28cd1
gnrc: integrate NIB for testing
2017-10-10 10:12:19 +02:00
Martine Lenders
1b36cdf79e
nib: implement public NIB functions up to link-local AR
2017-10-10 10:12:19 +02:00
Martine Lenders
d8acdc9d2d
gnrc_ipv6_nib: add forwarding table component
2017-10-06 23:01:10 +02:00
Martine Lenders
0b2bc25ee0
gnrc_ipv6_nib: provide component to handle ABRO
2017-10-06 22:09:53 +02:00
Cenk Gündoğan
080590f587
Merge pull request #7222 from miri64/gnrc_ipv6_nib/feat/pl-component
...
gnrc_ipv6_nib: add prefix list component
2017-10-06 15:42:39 +02:00
Martine Lenders
3685fa02ae
gnrc_ipv6_nib: add prefix list component
2017-10-06 15:35:40 +02:00
Cenk Gündoğan
43283ef16b
Merge pull request #7064 from miri64/gnrc_ndp2/api/initial
...
gnrc_ndp2: Provide GNRC abstraction layer for NIB for sending
2017-10-06 13:33:36 +02:00
Martine Lenders
08447ed51e
gnrc_ndp2: Provide GNRC abstraction layer for NIB for sending
2017-10-06 12:11:05 +02:00
Cenk Gündoğan
c3d3e7d024
Merge pull request #7212 from miri64/gnrc_ipv6_nib/feat/internal-offl
...
gnrc_ipv6_nib: provide internal implementation for off-link entries
2017-10-06 12:02:43 +02:00
Cenk Gündoğan
11baf130a3
Merge pull request #6988 from miri64/gnrc_ipv6_nib/feat/nc-component
...
gnrc_ipv6_nib: add neighbor cache component
2017-10-06 11:57:46 +02:00
Martine Lenders
f249c0c2a0
gnrc_ipv6_nib: provide internal implementation for off-link entries
2017-10-06 11:50:59 +02:00
Martine Lenders
4df88c89bf
gnrc_ipv6_nib: add neighbor cache component
2017-10-06 11:33:12 +02:00
Joakim Nohlgård
43a15440cb
netopt: Add NETOPT_MAC_NO_SLEEP
2017-09-24 10:28:40 +02:00
035d266d49
makefile: indentation cleanup
2017-09-22 12:00:47 +02:00
e7df513567
gcoap: fix resource separator inserting
2017-09-20 11:33:15 +02:00
smlng
d4e95d987b
doc: fix typos
2017-09-06 08:49:05 +02:00
Joakim Nohlgård
065bc62e0a
netdev: Make set() value parameter const void *
2017-08-25 13:41:19 +02:00
426e978972
rpl: Sort list of parents
2017-08-22 16:03:16 +02:00
Martine Lenders
9ea1c6e7c8
Merge pull request #7481 from gebart/pr/netopt-csma-be
...
netopt: add NETOPT_CSMA_MINBE, NETOPT_CSMA_MAXBE
2017-08-17 20:03:34 +02:00
Joakim Nohlgård
b5984d2855
Merge pull request #7447 from bergzand/netopt/tx-retries
...
netopt: Add option for retrieving number of retransmissions
2017-08-17 17:25:58 +02:00
c33eb2b277
netopt: add NETOPT_TX_RETRIES_NEEDED
2017-08-17 16:47:20 +02:00
Joakim Nohlgård
83ab722e22
netopt: Add NETOPT_CSMA_MAXBE, NETOPT_CSMA_MINBE
2017-08-17 16:37:19 +02:00
Joakim Nohlgård
8415c4eebc
gnrc_icmpv6: Clean up redundant conditional debug statement
2017-08-09 16:27:30 +02:00
Hauke Petersen
8908cebe42
net/gcoap: renamed source folder s/coap/gocap/
2017-08-08 16:39:48 +02:00
Hauke Petersen
8f577eca4c
net/gcoap: add Uri-Query handling for requests
2017-08-08 16:22:05 +02:00
Hauke Petersen
32ab8cf724
net/gcoap: expose creation of resource list to API
...
Creating the resource list is useful outside the /.well-known/core
handler, e.g. for the registration to resource directories.
2017-08-08 16:00:15 +02:00
Hauke Petersen
2290a9f69b
net/gcoap: added remote sock ep to resp handler cb
...
When receiving a response to a request send our earlier, it is in
some cases essential, to know something about who send the reponse.
This is needed for example when sending requests to multicast
addresses to be able to react to different incoming responses.
2017-07-31 11:11:06 +02:00
Hauke Petersen
36322e95b7
net/gcoap: collection of simple fixes ( #7413 )
...
* net/gcoap: fixed request state when getting a resp
The request state should be set to GCOAP_MEMO_RESP before calling
the response handler in case we actually go a response...
* net/gcoap: make test for 0.00 code more efficient
This optimization saves the computation of the code and compares
the raw field to `0`.
2017-07-28 14:15:17 +02:00
Tobias Heider
3b5860451c
gnrc/sock: fix fallthrough warning ( #7403 )
...
* gnrc/sock: fix fallthrough warning
* gnrc/sock: added spaces around "Fall Through."
2017-07-25 21:12:30 +02:00
Martine Lenders
475e2bdc82
gnrc_pktbuf_malloc: initial import of a malloc()-based pktbuf
...
The main motivation for this is to valgrind the network stack.
2017-07-15 17:54:47 +02:00
Martine Lenders
d9bb94eff8
Merge pull request #7183 from miri64/gnrc_pktbuf/enh/fix-common-module
...
gnrc_pktbuf: move common auxiliary functions to common module
2017-07-15 17:07:26 +02:00
smlng
3783f0e98b
gnrc tcp: use push flag in send
2017-07-10 16:44:55 +02:00
b80c249d2c
sys/netopt: add new enum types for LoRa
2017-06-30 18:59:49 +02:00
Hauke Petersen
91ff52a897
net/emcute: use size_t for length comparisons
2017-06-28 22:52:34 +02:00
Hauke Petersen
ae367e5537
net/emcute: check value of length field before use
2017-06-28 22:51:39 +02:00
Sebastian Meiling
9ce9dd601c
Merge pull request #6554 from zhuoshuguo/lwmac_retry
...
LWMAC: A simple duty cycling 802.15.4 MAC protocol (2nd try).
2017-06-26 12:50:44 +02:00
e71bf07a68
Merge pull request #7223 from kb2ma/gcoap/confirm_piggy_server
...
net/gcoap: Provide piggybacked ACK response to confirmable request
2017-06-24 21:47:37 +02:00
Ken Bannister
7c0374b975
Reject incoming empty message type as not handled yet
2017-06-22 12:57:34 -04:00
zhuoshuguo
e5d8dde920
gnrc_priority_queue: updated coding style.
2017-06-22 11:36:55 +02:00
Ken Bannister
19ba56b96f
net/gcoap: Add server piggybacked ACK response to a CON request
2017-06-21 22:47:08 -04:00
zhuoshuguo
a54655890e
LWMAC: a simple duty cycling 802.15.4 MAC protocol.
2017-06-21 16:40:04 +02:00
b70a4885f4
Merge pull request #7203 from zhuoshuguo/fix_gnrc_mac_coding_style
...
gnrc_mac: update coding style.
2017-06-21 15:02:39 +02:00
zhuoshuguo
83e1385683
gnrc_mac: updated coding style.
2017-06-19 10:15:41 +02:00
Ken Bannister
aa2f97c80f
net/gcoap: Protect update to open requests with mutex.
2017-06-18 06:29:43 -04:00
Ken Bannister
24b21dbfbc
net/gcoap: Protect message ID state with atomic updates.
...
Also changed semantics for storage of message ID, from last ID to next ID.
This change provides idiomatic use of the return value of the atomic
function, without other side effects on gcoap.
2017-06-18 06:16:15 -04:00
Martine Lenders
f51e4ca767
fixup! gnrc_pktbuf: move common auxiliary functions to common module
2017-06-15 15:15:02 +02:00
Martine Lenders
b32200e3ad
gnrc_ipv6_nib: fix caching mechanism of neighbor cache
2017-06-15 11:40:46 +02:00
Martine Lenders
d8336c38b6
gnrc_pktbuf: move common auxiliary functions to common module
...
The packet buffer was originally designed to have a replaceable
back-end. This is why the actual module is called `gnrc_pktbuf_static`.
However, since than some auxiliary functions snuck into the static
back-end, which should go into the common module (which is a
pseudo-module at the moment).
This fix makes the `gnrc_pktbuf` pseudo-module an actual module and
moves the auxiliary functions to that module.
2017-06-14 12:24:56 +02:00
Martine Lenders
ce0d81c5c8
sock: specify invalid parameter error
2017-06-12 13:54:55 +02:00
Cenk Gündoğan
72c3c9cf6a
Merge pull request #6325 from miri64/gnrc_ipv6_nib/feat/internal
...
gnrc_ipv6_nib: initial import of internal NIB functions
2017-06-09 22:05:47 +02:00
Martine Lenders
e92f97cb12
gnrc_ipv6_nib: initial import of internal NIB functions
2017-06-09 21:52:37 +02:00
Martine Lenders
0b42721511
Merge pull request #7155 from zhuoshuguo/gnrc_mac_use_csma_sender
...
gnrc_mac: use csma_sender API when needed for csma transmission
2017-06-09 17:48:37 +02:00
zhuoshuguo
7565cd1d10
gnrc_mac: use software csma when needed.
2017-06-09 16:45:24 +02:00
Martine Lenders
1a4c01a912
Merge pull request #7138 from gebart/pr/netopt-ed-level
...
netopt: Add NETOPT_LAST_ED_LEVEL
2017-06-09 10:34:33 +02:00
BytesGalore
89716729c8
Merge pull request #7161 from cgundogan/pr/trickle_enhancements
...
trickle: enhancements
2017-06-09 09:15:54 +02:00
Cenk Gündoğan
04d89d3381
rpl: adjust to trickle enhancements
2017-06-09 09:03:24 +02:00
Joakim Nohlgård
533542314d
netopt: Add NETOPT_LAST_ED_LEVEL
2017-06-09 07:14:58 +02:00
Cenk Gündoğan
6add982d3f
rpl: send dis near parent timeout
2017-06-08 21:46:06 +02:00
Cenk Gündoğan
935292ce44
gcoap: make stack size configurable
2017-06-07 08:20:35 +02:00
Hauke Petersen
7ba22cfbf8
net/gcoap: added some additional debug output
2017-06-01 11:13:15 +02:00
Cenk Gündoğan
3921fc86a7
Merge pull request #6901 from BytesGalore/rpl_drop_dao_ack_on_mc
...
rpl: drop DAO-ACK when received via multicast
2017-05-30 21:28:58 +02:00
BytesGalore
da38b77ba4
rpl: drop DAO-ACK when received on multicast
2017-05-30 18:05:00 +02:00
Cenk Gündoğan
6065be76e1
ndp: warn gcc-7 about intentional fall-through
...
Since gcc-7 `Wimplicit-fallthrough` is activated by using `-Wextra`.
This leads to the following problem when compiling `gnrc_networking`:
```
RIOT/sys/net/gnrc/network_layer/ndp/internal/gnrc_ndp_internal.c: In function ‘gnrc_ndp_internal_set_state’:
RIOT/sys/net/gnrc/network_layer/ndp/internal/gnrc_ndp_internal.c:106:15: error: this statement may fall through [-Werror=implicit-fallthrough=]
t = ipv6_iface->reach_time;
~~^~~~~~~~~~~~~~~~~~~~~~~~
RIOT/sys/net/gnrc/network_layer/ndp/internal/gnrc_ndp_internal.c:109:9: note: here
case GNRC_IPV6_NC_STATE_DELAY:
^~~~
```
The fall-through in this code is intentional. There are several ways to
warn the comiler about such intentional fall-throughs, which include
e.g. attributed empty statements (`__attribute__ ((fallthrough));`).
I don't like tis approach however. The best way would probably be to
remove this fall-through from the code. However, to keep the diff
minimal, and since ndp will change in the future, I went for warning
the compiler using comments.
The compiler checks comments for several *fall through* regexs to
decide whether a fallthrough was intentional or not.
You can read more about this gcc option in [1]. A note about
fallthrough comment regexs is at the bottom of this article.
[1] https://developers.redhat.com/blog/2017/03/10/wimplicit-fallthrough-in-gcc-7/
2017-05-30 14:23:37 +02:00
Hauke Petersen
bb90e293a2
net/gcoap: make input parameters const
2017-05-26 16:34:40 +02:00
Martine Lenders
d4693648ba
Merge pull request #7095 from kaspar030/add_headerguard_check_script
...
dist: tools: add headerguard check script
2017-05-24 18:08:29 +02:00
0fcc7d3834
cleanup: apply headerguard script output
2017-05-24 17:54:02 +02:00
Ken Bannister
9d37be2729
gcoap: Add server-side Observe registration and notifications.
2017-05-23 17:55:04 -04:00
Hauke Petersen
ba5635889c
net/gcoap: make gcoap_op_state return count directly
2017-05-22 13:50:59 +02:00
Hauke Petersen
cd4109100f
net/gcoap: fixed coding style issue
2017-05-22 13:47:36 +02:00
Hauke Petersen
31dfe382a3
net/gnrc/eth: enable filtering of L2 addresses
2017-05-18 15:24:25 +02:00
Hauke Petersen
145e4761c1
net/gnrc/802154: enable filtering of L2 addresses
2017-05-18 15:24:25 +02:00
Hauke Petersen
e8b0e0b9e7
net: added L2FILTER option to netopt
2017-05-18 15:24:25 +02:00
Hauke Petersen
fdadfe279c
net: added link layer address filter module
2017-05-18 15:24:25 +02:00
Martine Lenders
1fdad5b184
gnrc_tcp: fix return on closed state
2017-05-17 18:39:38 +02:00
Sebastian Meiling
f0ae5d2dd8
Merge pull request #6969 from brummer-simon/gnrc_tcp-replace_msg_queue
...
gnrc_tcp: improvement: Replace tcbs msg queue with mbox
2017-05-17 15:13:03 +02:00
Sebastian Meiling
9944642f92
Merge pull request #6997 from brummer-simon/gnrc_tcp-abort_call
...
gnrc_tcp: improvement: abort() - call
2017-05-17 15:08:12 +02:00
Simon Brummer
42e15ed7c4
gnrc_tcp: improvement: Replace tcbs msg queue with mbox
2017-05-17 13:02:52 +02:00
Simon Brummer
b08b12ec8f
gnrc_tcp: improvement: abort() - call
2017-05-17 13:01:28 +02:00
smlng
1be74bc7a5
gnrc, tcp: set param THREAD_CREATE_STACKTEST for mem stats in ps
2017-05-15 13:16:18 +02:00
f5a4124866
Merge pull request #6976 from miri64/conn/cleanup/rm
...
net: remove conn API
2017-05-12 16:09:00 +02:00
smlng
cc24aab5a5
gnrc, tcp: fix assert
2017-05-12 09:39:25 +02:00
Martine Lenders
13770361bb
net: remove conn API
...
conn was deprecated in 38217347
. 3 Releases later and now that no module
is using it RIOT-internally anymore, I think it is time to say goodbye.
2017-04-28 15:23:54 +02:00
Martine Lenders
3897b75096
Merge pull request #6974 from miri64/nhdp/cleanup/port-to-sock
...
nhdp: port to sock
2017-04-27 14:27:14 +02:00
Martine Lenders
ddda31c509
Merge pull request #6972 from brummer-simon/gnrc_tcp-cleanup-gnrc_tcp_tcb_init
...
gnrc_tcp: cleanup: shortend gnrc_tcp_tcb_init()
2017-04-26 14:46:52 +02:00
Martine Lenders
53a9dc36ed
nhdp: port to sock
2017-04-26 14:41:45 +02:00
Sebastian Meiling
c08cf4a596
Merge pull request #6968 from smlng/net/gnrc_tcp/cleanup
...
gnrc_tcp: optimize and cleanup operations on TCB list
2017-04-26 13:58:28 +02:00
Simon Brummer
2f0a17b80f
gnrc_tcp: cleanup: shortend gnrc_tcp_tcb_init()
2017-04-26 13:37:42 +02:00
smlng
ba09fad7ed
gnrc_tcp: optimize and cleanup operations on TCB list
2017-04-26 11:59:01 +02:00
Martine Lenders
92fe842149
Merge pull request #6961 from miri64/ipv6_addr/fix/off-by-one
...
ipv6_addr: provide fix for off-by-x error
2017-04-26 07:57:16 +02:00
Sebastian Meiling
9480488e92
Merge pull request #6742 from brummer-simon/gnrc_tcp-cleanup-minor_changes
...
gnrc_tcp: cleanup: minor changes
2017-04-25 22:05:54 +02:00
smlng
41c43fd837
rpl: make parent lifetime consistent with other timers
2017-04-25 20:09:41 +02:00
Simon Brummer
a9da0dc4f2
gnrc_tcp: cleanup: various minor changes
2017-04-25 20:02:44 +02:00
Martine Lenders
eef90c06fb
ipv6_addr: provide fix for off-by-x error
2017-04-25 19:19:43 +02:00
Ken Bannister
7c19ad65e2
gcoap: Fix compilation error when client token length macro set to 0.
2017-04-24 22:21:53 -04:00
smlng
d11754031a
gnrc: cleanup and corrections in gnrc_pkt
2017-04-22 20:56:54 +02:00
Martine Lenders
38f383c68d
Merge pull request #6703 from OlegHahm/cppcheck_fixes
...
dist: enable cppcheck warnings for all files
2017-04-19 08:18:47 +02:00
smlng
25e62a7087
net, icmpv6: correct debug output
2017-04-18 11:57:40 +02:00
Oleg Hahm
fae24057df
conn: udp: eliminate redundant assignment
2017-04-14 14:36:16 +02:00
Oleg Hahm
a9cc8babba
gnrc: ndp: suppress wrong cppcheck warnings
2017-04-14 14:36:15 +02:00
Oleg Hahm
45cd9ad5c4
gnrc: 6lowpan-nd: suppress wrong cppcheck warnings
2017-04-14 14:36:15 +02:00
Oleg Hahm
191797bc6b
gnrc: 6lowpan-nd: removed superfluous check
2017-04-14 14:36:15 +02:00
Martine Lenders
c2c2516a53
gnrc: fix cppcheck warnings
2017-04-14 14:36:14 +02:00
cfd10c394a
adapt to changed byteorder.h
2017-04-13 11:35:35 +02:00
Martine Lenders
a5d444bd82
Merge pull request #6889 from BytesGalore/rpl_rem_forward_declaration
...
rpl: remove unnecessary forward declaration
2017-04-11 14:13:38 +02:00
BytesGalore
3ec69a2b2b
rpl: remvove forward declaration
2017-04-11 11:38:06 +02:00
kYc0o
e2e1500c6d
f tftp: address @aabadie comments.
2017-04-04 14:02:36 +02:00
kYc0o
9ee1e1f156
tftp: send DACK until server receives it
2017-04-04 01:55:46 +02:00
kYc0o
1f70d172c6
tftp: disable debug
2017-04-04 01:55:46 +02:00
Joakim Nohlgård
0ba9fd3456
6lo: Avoid null ptr dereference when DAC=1, DAM=00, M=1
2017-04-02 18:42:01 +02:00
Martine Lenders
33991832d1
Merge pull request #6694 from kaspar030/add_sock_dns_client
...
sys: net: add sock dns client
2017-03-29 10:14:38 +02:00
Martine Lenders
ad38750587
Merge pull request #6693 from miri64/sntp/enh/real-time-types
...
sntp: extend API for common real time types
2017-03-29 09:05:56 +02:00
Martine Lenders
f2c9d0c810
Merge pull request #6529 from miri64/od/enh/reduce-func
...
od: simplify od module to only provide od_hex_dump
2017-03-29 00:10:41 +02:00
7af03ab624
sys: net: introduce simple sock DNS client
2017-03-28 20:49:53 +02:00
2a955ad631
sys: net: sock: add utility functions
2017-03-28 19:16:27 +02:00
Martine Lenders
4ed199a9ad
gnrc_pktbuf: adapt pktbuf to od change
2017-03-28 19:14:59 +02:00
Martine Lenders
29842bb5e4
netdev2: rename to netdev and remove gnrc_netdev
...
With some minor hand-edits I used the following chain of commands:
```sh
git rm sys/include/net/gnrc/netdev.h
git grep --name-only -i netdev2 | \
xargs sed -i -e 's/^\(NETDEV\)2\(.*\)\( [("]\)/\1\2 \3/g' \
-e 's/\(netdev\)2\(.*\)\( \/\*\*<\)/\1\2 \3/I' \
-e 's/\(netdev\)2/\1/gI'
git add -p
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
grep "netdev2" | xargs -I'{}' dirname '{}' | uniq | \
grep "netdev2" | while read dir; do
new_dir="$(echo "$dir" | sed "s/netdev2/netdev/g")"
git mv -f "$dir" "$new_dir"
done
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
grep "netdev2" | while read file; do
new_file="$(echo "$file" | sed "s/netdev2/netdev/g")"
git mv -f "$file" "$new_file"
done
git commit --amend
git grep --name-only "\<drivers_netdev_netdev\>" | \
xargs sed -i "s/\<drivers_netdev_netdev\>/drivers_netdev_api/g"
git add -p
git commit --amend
```
2017-03-15 09:31:20 +01:00
Martine Lenders
01f76715aa
Merge pull request #6627 from zhuoshuguo/add_support_for_multicast_for_gnrc_mac
...
gnrc_mac: add support for multicast pkt.
2017-03-14 09:52:59 +01:00
Oleg Hahm
d523c33015
doc: gnrc: fix doxygen and add missing doc
2017-03-10 14:56:28 +01:00
Martine Lenders
c513eb1027
sntp: fix for new xtimer API and some bugs
2017-03-06 13:38:25 +01:00
Sebastian Meiling
f6022a283d
Merge pull request #6541 from brummer-simon/gnrc_tcp-cleanup
...
gnrc_tcp: cleanup
2017-03-01 09:34:49 +01:00
smlng
3c0a2f6953
gnrc, ipv6: add static link local ipv6 address
2017-02-28 20:09:40 +01:00
Hauke Petersen
bb71986ecf
net: added emCute - introducing MQTT-SN support
2017-02-28 16:58:29 +01:00
Simon Brummer
1ae3b51224
gnrc_tcp: cleanup: removed unnecessary includes
2017-02-26 17:31:23 +01:00
Simon Brummer
fd007d5307
gnrc_tcp: cleanup: fixed outdated comments
2017-02-20 21:58:05 +01:00
zhuoshuguo
07bd84c914
gnrc_mac: add support for multicast pkt.
2017-02-18 13:15:31 +01:00
Hauke Petersen
05c4e314c9
net/gnrc: remove deprecated nomac
2017-02-15 10:07:34 +01:00
Martine Lenders
5e983db605
gnrc_zep: remove gnrc_zep
...
This ZEP implementation is based on `gnrc_netdev`, it is complicated to
use, I'm not even sure anyone used it except me or if it is working
still. See #6121 for a better port of ZEP.
2017-02-07 17:41:28 +01:00
smlng
5b2b7674d8
gnrc/pktdump: add tcp_hdr_print
2017-02-07 13:42:41 +01:00
smlng
43de60daf0
net: add tcp_hdr_print
2017-02-07 13:42:41 +01:00
Martine Lenders
37f6eb63f8
udp: fix formatter of checksum in udp_hdr_print()
2017-02-07 10:09:51 +01:00
Martine Lenders
b272e904fd
icmpv6: fix formatter of checksum in icmpv6_hdr_print()
2017-02-07 10:09:46 +01:00
Simon Brummer
d4c477aa01
gnrc_tcp: cleanup: correct copyright updates and corrected doxygen comments
2017-02-06 18:26:45 +01:00
Simon Brummer
7e7b832219
gnrc_tcp: cleanup: Enforce coding convention
2017-02-04 10:19:59 +01:00
Simon Brummer
4857f16ee8
gnrc_tcp: cleanup: Restrict lines to 100 char boundries
2017-02-02 08:29:29 +01:00
Simon Brummer
a8b8b64036
gnrc_tcp: cleanup: update doxygen headers
2017-02-02 08:29:29 +01:00
Simon Brummer
62c0efb20a
gnrc_tcp: cleanup: removed trailing underscores from include guards
2017-02-02 08:29:29 +01:00
Simon Brummer
bc0bf3bc4f
gnrc_tcp: cleanup: removed internal fsm structs from public headers
2017-02-02 08:29:29 +01:00
Simon Brummer
67ed2a0ad8
gnrc_tcp: cleanup: internal/common.h added
2017-02-02 08:29:29 +01:00
Simon Brummer
e25fd0dd46
gnrc_tcp: Improved Option Handling
2017-02-01 08:28:59 +01:00
Sebastian Meiling
b81e6b8898
Merge pull request #6511 from smlng/pr/tcp/mode_hdr_file
...
tcp: move header file and adapt includes
2017-01-31 19:25:41 +01:00
smlng
540fb53ac0
tcp: move header file and adapt includes
2017-01-31 19:14:54 +01:00
smlng
7fdd473271
pktdump: add icmpv6 print
2017-01-30 15:24:14 +01:00
Martine Lenders
2fd69653af
gnrc_ndp: do not add new neighbors as TENTATIVE on 6LR
2017-01-23 14:02:26 +01:00
Sebastian Meiling
7f7329ea71
Merge pull request #4744 from brummer-simon/devel-gnrc_tcp
...
gnrc_tcp: initial implementation
2017-01-23 09:32:34 +01:00
Simon Brummer
abd307b89d
gnrc_tcp : initial implementation
2017-01-22 09:27:58 +01:00
Ken Bannister
af1eca907f
gcoap: Rebase messaging on sock API
2017-01-20 22:00:25 -05:00
Ken Bannister
fa815993ae
gcoap: Move from gnrc directory up to net directory
2017-01-20 16:14:13 -05:00
Oleg Hahm
7ee7801c10
*: remove trailing underscores from header guards
2017-01-19 18:30:53 +01:00
Oleg Hahm
4f4214235b
timex: unambiguous time conversion macros
2017-01-19 13:18:08 +01:00
smlng
e28d14f77f
gnrc, sock_udp: correct includes
2017-01-18 13:23:12 +01:00
smlng
a9cb29c46b
gnrc_sock_udp: optimized remote ep handling
2017-01-18 13:23:12 +01:00
smlng
e2cf221a58
gnrc_sock_udp: get source port from dynmic port range
...
- get a new source port from a predefined range
- check if port already in use, if required
- refinded consistency checks for params of send()
2017-01-18 13:23:12 +01:00
smlng
2c5f07b62b
gnrc_sock: add dynamic port range
2017-01-18 13:23:12 +01:00
Hauke Petersen
61378430e2
sys/net/gnrc: added XBee-to-GNRC glue code
2017-01-10 11:47:31 +01:00
zhuoshuguo
6a0ac75d2c
gnrc_mac: add mac tx and rx internal types and API.
2017-01-04 13:59:16 +01:00
smlng
18ec3105f2
cppcheck: fix warning in nhdp_address
2016-12-23 21:00:23 +01:00
smlng
645ea902dd
cppcheck: grnc/netif/hdr fix cppcheck warnings
2016-12-20 16:49:10 +01:00
Martine Lenders
ee7f0013b8
Merge pull request #6199 from zhuoshuguo/fix_gnrc_priority_queue_doc
...
gnrc_priority_queue: fix doxygen document.
2016-12-16 16:05:17 +01:00
Martine Lenders
490b907cd3
Merge pull request #6086 from miri64/gnrc_pktbuf_static/fix/i5748
...
gnrc_pktbuf_static: fix #5748
2016-12-16 07:18:38 +01:00
Martine Lenders
5e236cdc16
gnrc_pktbuf_static: fix #5748
2016-12-15 20:57:32 +01:00
Cenk Gündoğan
4ebf6363df
gnrc_netdev2_eth: check bytes_expected > 0
2016-12-14 14:40:11 +01:00
smlng
ad698267fb
gnrc_pktbuf: add asserts
...
- fix static analyzer warning
- update @pre doc accordingly
2016-12-13 18:18:11 +01:00
Martine Lenders
50b1e7b6a5
gnrc_sock_udp: fix possibly dereferenced NULL pointer ( #6203 )
2016-12-13 09:03:57 +01:00
zhuoshuguo
944e1462ce
gnrc_priority_queue: fix doxygen document.
2016-12-10 18:56:13 +01:00
Martine Lenders
be702411e2
Merge pull request #6069 from zhuoshuguo/gnrc_mac_internal_helper
...
gnrc_netif: add fetch-address and fetch-netif-flag functionalities.
2016-12-02 14:46:52 +01:00
zhuoshuguo
d749962134
gnrc_netif: add fetch-address and fetch-netif-flag functionalities.
2016-12-02 13:22:47 +01:00
Francisco Acosta
84d0d61279
Merge pull request #5608 from gebart/pr/xtimer-ticks
...
xtimer: Allow arbitrary timer frequency, second attempt
2016-11-29 23:00:31 +01:00
Joakim Nohlgård
7c48c891a0
xtimer: Update xtimer usage to match API changes
2016-11-29 20:44:31 +01:00
Peter Kietzmann
e547ff1d60
Merge pull request #6013 from haukepetersen/opt_periph_uartreturntypes
...
periph/uart: added names to return values
2016-11-29 19:14:09 +01:00
Martine Lenders
bd533dd785
gnrc_sock: move net/af.h include to sock_types.h
2016-11-18 12:33:01 +01:00
3af5e3e315
sys: net: uhcpc: port to sock
2016-11-14 14:50:04 +01:00
742387acc0
Merge pull request #6102 from smlng/pr/gcoap/fix_compiler_error
...
gcoap: fix compiler error on macOS
2016-11-11 14:00:40 +01:00
Martine Lenders
c227bd567d
Merge pull request #6106 from miri64/net/enh/nano-spec-fix
...
net: fix header dumps for nanospec newlib
2016-11-11 02:09:19 +01:00
Martine Lenders
11d3cd8efa
net: fix header dumps for nanospec newlib
2016-11-10 21:21:28 +01:00
smlng
ebd89a76f4
gcoap: fix compiler error on macOS
2016-11-10 14:13:29 +01:00
2972f8fd86
net: gnrc: gcoap: make use of DEBUG_EXTRA_STACKSIZE
2016-11-10 13:57:02 +01:00
Martine Lenders
9ce5a5b02c
Merge pull request #6083 from miri64/gnrc_sock_ip/fix/fix-memcpy-type
...
gnrc_sock_ip: fix memcpy()/memset() sizeof-type
2016-11-09 22:38:06 +01:00
Martine Lenders
653e36277c
gnrc_sock_ip: fix memcpy()/memset() sizeof-type
...
The type in the `sizeof()` is just plain wrong. This fixes it.
2016-11-09 21:24:28 +01:00
e0164660eb
Merge pull request #6064 from miri64/gnrc_sixlowpan_nhc/fix/forwarding
...
gnrc_sixlowpan_nhc: fix forwarding case
2016-11-09 15:56:21 +01:00
Martin Elshuber
b582e64b09
gnrc_sixlowpan_iphc.c: Updated comments some logic
2016-11-08 13:04:12 +01:00
Martin Elshuber
faa47a0e03
gnrc_sixlowpan_iphc: Fixed encoding when COMP=0
...
Summary:
Even ehen COMP is cleared, the algorithm always elides part of the address when a matching
context is found.
This behviour occurs because in the line
if ((src_ctx != NULL) || ipv6_addr_is_link_local(&(ipv6_hdr->src)))
the COMP bit is not tested.
This patch fixes the problem by setting [src|dst]_ctx to NULL if the
context must not be used.
2016-11-07 19:53:04 +01:00
Martine Lenders
1605b506c9
gnrc_sixlowpan_nhc: fix forwarding case
2016-11-07 15:46:56 +01:00
Martine Lenders
dc907b76fa
gcoap: use generic netreg initializers
...
PR #5526 introduced mbox support for netreg so using these functions
is now required.
2016-11-03 12:56:58 +01:00
Martine Lenders
6dac4bd530
Merge pull request #5950 from zhuoshuguo/add_packet_queue_module_to_gnrc_mac
...
gnrc: Add priority packet queue module to gnrc
2016-11-01 07:45:31 +01:00
Ken Bannister
f3431fb49e
gcoap: initial commit
2016-10-31 22:41:52 -04:00
zhuoshuguo
0ebe2a0309
gnrc: add priority packet queue module.
2016-10-31 16:53:01 +01:00
Oleg Hahm
1c58f108b0
Merge pull request #6020 from lluminita/sntp_implementation
...
sntp: initial import
2016-10-30 22:41:48 +01:00
Luminita
cf3f02c2e1
sntp: initial import
2016-10-30 22:00:02 +01:00
Martine Lenders
60d7b7efa2
gnrc_sock_udp: fixed minor bug
2016-10-30 18:48:41 +01:00
Martine Lenders
eb50b33fb5
gnrc_sock: actually **bind** implicitly
2016-10-29 20:58:27 +02:00
Hauke Petersen
0d4a0a156f
sys/slip: use named UART return values
2016-10-28 10:32:00 +02:00
Martine Lenders
9508c8f5a5
tests: provide gnrc_sock_ip tests
2016-10-26 15:20:39 +02:00
Martine Lenders
1a6ebf2aae
gnrc_sock_ip: provide port for sock_ip
2016-10-26 15:20:39 +02:00
Martine Lenders
b971c575ad
gnrc_sock_udp: provide port for sock_udp
2016-10-26 15:20:38 +02:00
Martine Lenders
0016463687
all: fix for new netreg_entry_t structure
2016-10-25 22:17:18 +02:00
Martine Lenders
97adff5eac
gnrc_netreg: add arbitrary callback support
2016-10-25 21:35:57 +02:00
Martine Lenders
b84d955921
gnrc_netreg: add mbox support
2016-10-25 21:31:54 +02:00
Hauke Petersen
bc232a5642
Merge pull request #5524 from miri64/gnrc_netreg/api/helper-macro
...
gnrc_netreg: introduce helper macro/function for entry init
2016-10-25 21:21:25 +02:00
Martine Lenders
dc45cd2610
gnrc: use new netreg helper functions everywhere
2016-10-25 18:47:30 +02:00
Dennis Kirsch
8c25ffeba8
gnrc_netif_hdr: Fix debug output format of if_pid, rssi and lqi
2016-10-17 10:11:08 +02:00
Peter Kietzmann
359f3b5fc7
Merge pull request #5897 from miri64/ieee802154/enh/cleanup
...
ieee802154: clean-up (Intra-PAN behavior + broadcast)
2016-10-04 14:10:00 +02:00
DipSwitch
6a484d19cb
ndp: fix debug in message in gnrc_ndp_internal_send_nbr_sol
2016-10-03 11:56:22 +02:00
Martine Lenders
a0454b3787
ieee802154: remove need for IEEE802154_BCAST flag
2016-09-30 14:57:05 +02:00
Martine Lenders
9f29e56020
netdev2_ieee802154: remove NETDEV2_IEEE802154_PAN_COMP flag
2016-09-30 13:09:26 +02:00
Martine Lenders
ff2f9983f0
Merge pull request #5880 from OlegHahm/fix_debug_newlines
...
debug: add missing line breaks
2016-09-28 15:21:28 +02:00
Martine Lenders
6f0018f66a
Merge pull request #5694 from miri64/gnrc/enh/0-length-payload
...
gnrc_pktbuf: allow for 0-sized payload snips
2016-09-28 07:09:23 +02:00
Oleg Hahm
b428979a1d
debug: add missing line breaks
2016-09-27 23:38:41 +02:00
Martine Lenders
5dad8f1edd
gnrc_pktbuf: allow for 0-sized payload snips
2016-09-27 21:49:57 +02:00
Cenk Gündoğan
ad6677b33f
gnrc_rpl: netstats_rpl: introduce statistics
2016-09-27 20:40:04 +02:00
Martine Lenders
9874a6d69a
Merge pull request #5811 from makomi/gnrc
...
sys/net/gnrc: fix cppcheck errors/ warnings
2016-09-05 13:06:04 +02:00
Matthias Kolja Miehl
95baea86d6
sys/net/gnrc: gnrc_zep: fix nullPointer error
2016-09-05 02:24:11 +02:00
Matthias Kolja Miehl
0e1d749340
sys/net/gnrc: gnrc_rpl_control_messages: fix variableScope
2016-09-05 02:24:05 +02:00
Matthias Kolja Miehl
b108a57637
sys/net/gnrc: gnrc_ipv6_ext: fix variableScope
2016-09-05 02:23:59 +02:00
Martine Lenders
b43ffab953
Merge pull request #5515 from miri64/csma_sender/fix/adaptations
...
csma_sender: fixes and adaptions
2016-09-02 10:12:38 +02:00
Martine Lenders
dd7fb1c63b
Merge pull request #5228 from OlegHahm/gnrc_ipv6_hdr_get
...
gnrc ipv6: convenient function to get the header
2016-09-01 23:16:49 +02:00
Peter Kietzmann
cd548cad46
Merge pull request #5751 from miri64/gnrc_udp/fix/consider-netif-hdr
...
gnrc_udp: consider netif header in send dispatch
2016-08-30 23:10:13 +02:00
Martine Lenders
9ba68cc88d
Merge pull request #5749 from miri64/gnrc_udp/fix/missing-duplication
...
gnrc_udp: add missing duplitation step
2016-08-30 22:35:00 +02:00
smlng
c1fe8d5d9d
gnrc_rpl: fix prefix length
2016-08-25 16:35:17 +02:00
Martine Lenders
2c5fbab3ff
Merge pull request #5525 from miri64/gnrc/enh/dispatch-send
...
gnrc: use gnrc_netapi_dispatch_send() instead of manual iteration
2016-08-25 14:21:19 +02:00
Martine Lenders
bd230d3b63
gnrc_ipv6: gnrc_icmpv6: use dispatch_receive helper function
2016-08-18 13:25:07 +02:00
Martine Lenders
b869102450
gnrc_udp: consider netif header in send dispatch
2016-08-15 19:33:50 +02:00
Martine Lenders
af180ef2f1
gnrc_udp: add missing duplitation step
2016-08-15 17:23:19 +02:00
Martine Lenders
72d177074b
gnrc: use gnrc_netapi_dispatch_send() instead of manual iteration
2016-08-12 14:06:58 +02:00
Martine Lenders
cf11a0dab7
Merge pull request #5485 from jfischer-phytec-iot/pr@add-opt-netdev
...
add testmode and cca mode option to netdev
2016-08-05 15:51:56 +02:00
Martine Lenders
49521dcfd9
Merge pull request #5495 from miri64/netdev2/enh/type-changes
...
netdev2: some parameter type changes
2016-08-05 14:10:13 +02:00
Martine Lenders
d587046462
Merge pull request #5551 from miri64/gnrc_ipv6/enh/copy-flags
...
gnrc_ipv6: copy user flags from old netif headers
2016-08-05 14:09:31 +02:00
Martine Lenders
bd2429f299
cpu: drivers: adapt devices for netdev2 parameter type change
2016-08-03 12:30:51 +02:00
Johann Fischer
d111f1f465
netopt.c: extend _netopt_strmap
2016-07-27 00:15:27 +02:00
Martine Lenders
f844008a12
gnrc_netif_hdr: print flags
2016-07-26 21:06:36 +02:00
Martine Lenders
6d72cdb595
gnrc_ipv6: copy user flags from old netif headers
...
Upper layers might want to utilize the flags (e.g. to tell 6LoWPAN to elide
UDP checksums). This change allows for this by copying non-addressing related
flags to the address resolution generated netif header from the user generated
netif header.
2016-07-26 21:06:36 +02:00
Oleg Hahm
a2b9defc8b
gnrc ipv6: convenient function to get the header
2016-07-22 16:34:52 +02:00
ec897a868c
core, gnrc_netreg: remove redundant or unneeded clist.h include
2016-07-18 13:17:31 +02:00
Martine Lenders
e9bbd54f58
Merge pull request #5033 from Yonezawa-T2/validate_ipv6_size
...
gnrc_ipv6: validates payload size
2016-06-07 17:50:28 +02:00
Yonezawa-T2
0de34c91c6
gnrc_ipv6: validates payload size
2016-06-07 10:01:23 +09:00
Martine Lenders
3c9e8ac80d
csma_sender: allow for multi-interface configuration
2016-06-05 14:29:03 +02:00
Martine Lenders
90201bfb6e
csma_sender: assure preconditions
2016-06-05 14:28:31 +02:00
Martine Lenders
a3f2cdd6ea
csma_sender: port to netdev2
2016-06-05 13:57:26 +02:00
Martine Lenders
925013cd4c
csma_sender: doc fixes
2016-06-05 13:57:10 +02:00
Martine Lenders
26acd3b7ae
csma_sender: some style fixes
2016-06-05 13:57:09 +02:00
Martine Lenders
70b3b1426b
csma_sender: proper prefixing for public functions and macros
2016-06-05 13:57:09 +02:00
Martine Lenders
c1c797496c
csma_sender: adapt for changes in master
2016-06-05 13:57:09 +02:00
Martine Lenders
1b74fcab6e
csma_sender: fix dependencies
2016-06-05 13:57:02 +02:00
Martine Lenders
8426ca99ca
Merge pull request #4178 from rousselk/csma-sender
...
New 'csma_sender' helper module
2016-06-04 14:49:21 +02:00
Martine Lenders
98949f5cb4
Merge pull request #5498 from kaspar030/make_msg_content_ptr_void_star
...
core: change msg.content.ptr type to void *
2016-06-03 13:59:25 +02:00
Martine Lenders
c3dcfcf640
Merge pull request #5504 from Yonezawa-T2/sixlowpan_print_elided_address
...
sixlowpan_print: fix dump for elided source/destination address
2016-06-03 12:28:25 +02:00
Yonezawa-T2
7a030004ad
sixlowpan_print: fix dump for elided source/destination address
2016-06-03 18:56:05 +09:00
Peter Kietzmann
e8e9619f01
Merge pull request #5501 from Yonezawa-T2/gnrc_sixlowpan_iphc_propagate_error
...
gnrc_sixlowpan_iphc: propagate UDP decode error
2016-06-03 10:07:06 +02:00
Peter Kietzmann
c6e18a91d0
Merge pull request #5500 from Yonezawa-T2/gnrc_sixlowpan_iphc_debug_format
...
gnrc_sixlowpan_iphc: fix compile error for debug output
2016-06-03 09:46:58 +02:00
Yonezawa-T2
ba4b099d93
gnrc_sixlowpan_iphc: propagate UDP decode error
2016-06-03 11:35:22 +09:00
Yonezawa-T2
a6c14dadb3
gnrc_sixlowpan_iphc: fix compile error for debug output
2016-06-03 11:33:08 +09:00
7718f114cb
all: remove pointer casts for msg.content.ptr
2016-06-02 23:13:42 +02:00
3ad195963d
drivers: netdev2: rename isr_arg
2016-06-02 11:11:40 +02:00
d7b17684e4
drivers: net: adapt to removed event_callback argument
2016-06-02 11:11:40 +02:00
Cenk Gündoğan
0613c8faf4
gnrc_rpl: validation configurable on compile-time
2016-06-01 09:07:55 +02:00
Cenk Gündoğan
25baea1e50
gnrc_rpl: separate validation from msg handling
2016-06-01 09:05:24 +02:00
Cenk Gündoğan
2f9a37a624
gnrc_rpl: move len macros to header file
2016-06-01 09:05:24 +02:00
Cenk Gündoğan
a10151d5f0
Merge pull request #5440 from cgundogan/pr/auto_init/rpl
...
auto_init: initialize gnrc_rpl
2016-06-01 07:59:41 +02:00
Aaron Sowry
63a87fb639
Implement NETOPT_ACK_REQ configuration option.
...
Allows setting the acknowledgement request bit of 802.15.14
headers via netdev.
2016-06-01 10:11:28 +12:00
Cenk Gündoğan
1b4607ab43
auto_init: initialize gnrc_rpl
2016-05-31 22:13:32 +02:00
Cenk Gündoğan
5c42d430ec
rpl_p2p: rm non-existing fib flag
2016-05-31 11:03:19 +02:00
Oleg Hahm
6707c20b7d
netstats: initial import of IPv6 netstats
2016-05-25 14:44:53 +02:00
Cenk Gündoğan
218ec47426
Merge pull request #5447 from cgundogan/pr/ndp/check_null
...
gnrc_ndp: check nc_entry before using it
2016-05-18 07:30:21 +02:00
Oleg Hahm
00ebb4b2ed
gnrc: netapi: assert for correct ACK msg type
2016-05-17 22:33:49 +02:00
Cenk Gündoğan
1791ef5581
gnrc_ndp: check nc_entry before using it
2016-05-17 09:52:16 +02:00
Martine Lenders
4a13324abb
Merge pull request #5281 from authmillenon/gnrc_ipv6/fix/ext-fix-with-nhc
...
gnrc_ipv6: fix asserts for NHC
2016-04-27 08:39:39 +02:00
Martine Lenders
b8787b64c4
Merge pull request #5267 from cgundogan/pr/gnrc_rpl/reduce_scope_now
...
gnrc_rpl: reduce scope of now
2016-04-22 18:23:37 +02:00
Martine Lenders
bf135c4750
Merge pull request #5362 from cgundogan/pr/gnrc_ipv6/remove_unnecessary_check
...
gnrc_ipv6: remove superfluous check for if_entry
2016-04-22 18:18:43 +02:00
Martine Lenders
82a3aae8be
gnrc_ipv6: fix asserts for NHC
2016-04-22 10:11:38 +02:00
Yonezawa-T2
3e70191aee
Merge pull request #2842 from FrancescoErmini/drivers_xbee_encryption
...
drivers/xbee: add optional AES encryption support
2016-04-21 10:26:06 +09:00
Francesco Ermini
9fa4684203
drivers/xbee: encryption support
...
add encryption to drivers
fix new line at the end of file
add shell command for enable encryption and set encryption key on a given device
modify _net_if_set_encrypt_key to support any key length
modify _net_if_set_encrypt_key to support any key length of the key
modify blank line
fix ace before tab in indent
fix ace before tab indent
fix ace before tab indent an error
fix trailing white space
drivers/xbee: encryption support
add encryption to drivers
fix new line at the end of file
add shell command for enable encryption and set encryption key on a given device
modify _net_if_set_encrypt_key to support any key length
modify _net_if_set_encrypt_key to support any key length of the key
modify blank line
fix ace before tab in indent
fix ace before tab indent
fix ace before tab indent an error
fix trailing white space
modify drivers/xbee/xbee.c
fix white spaces on xbee.c
Update xbee encryption driver
white line at end xbee.h
fix error
fix sc_netif.c
fix rebase master interactive
drivers/xbee: encryption support
add encryption to drivers
fix new line at the end of file
add shell command for enable encryption and set encryption key on a given device
modify _net_if_set_encrypt_key to support any key length
modify _net_if_set_encrypt_key to support any key length of the key
modify blank line
fix ace before tab in indent
fix ace before tab indent
fix ace before tab indent an error
fix trailing white space
drivers/xbee: encryption support
add encryption to drivers
fix new line at the end of file
add shell command for enable encryption and set encryption key on a given device
modify _net_if_set_encrypt_key to support any key length
modify _net_if_set_encrypt_key to support any key length of the key
modify blank line
fix ace before tab in indent
fix ace before tab indent
fix ace before tab indent an error
fix trailing white space
modify drivers/xbee/xbee.c
fix white spaces on xbee.c
Update xbee encryption driver
white line at end xbee.h
fix error
fix rebase conflict 4
fix same missing in patches changes
fix ascii to hex index parser
fix syntax rules
fix syntax issue 2
add _netopt_strmap NETOPT_ENCRYPTION e NETOPT_ENCRYPTION_KEY
fix trailng white spaces
2016-04-20 17:43:09 +02:00
kYc0o
d071b2a23d
Merge pull request #5309 from authmillenon/gnrc_ndp/fix/gua-hack
...
gnrc_ndp: don't let addresses timeout
2016-04-20 14:36:51 +02:00
Hauke Petersen
4ace70199e
Merge pull request #5326 from authmillenon/gnrc_ipv6/fix/revert5179
...
gnrc_ipv6: Revert #5179
2016-04-20 14:34:07 +02:00
Martine Lenders
8968b7602f
gnrc_ndp: don't let addresses timeout
...
This is a temporary quick-fix for #5122 to not have GUAs removed on an
interface.
It solves the issue by both not letting the registration run out on the router
and by not letting the lifetime of an auto-configured address expire.
2016-04-20 13:31:53 +02:00
Cenk Gündoğan
66507c8cfe
gnrc_ipv6: remove superfluous check for if_entry
2016-04-20 09:41:45 +02:00
Martine Lenders
84a9ddb2db
gnrc_sixlowpan_iphc: fix comparison signage
2016-04-20 06:55:24 +02:00
Oleg Hahm
5d65d59b34
Merge pull request #5232 from gebart/pr/jfischer-nhc-fix
...
gnrc_sixlowpan_iphc.c: handle forwarded GNRC_NETTYPE_IPV6 packet
2016-04-19 14:09:11 +02:00
Martine Lenders
f86bf8c9cd
gnrc_rpl: use non-stack variable for link-local matching
2016-04-18 17:14:27 +02:00
Oleg Hahm
8690a888f5
Merge pull request #5295 from OlegHahm/msg_init_queue_assert
...
core: assert correct msq queue size on creation
2016-04-17 14:49:54 +02:00
Martine Lenders
d64b922db0
Revert "gnrc ipv6: replace check by assert"
...
This reverts commit 856e1ee0d2
.
2016-04-17 14:06:54 +02:00
Oleg Hahm
bb35913840
core: assert correct msq queue size on creation
...
The return value was never checked. Hence, this runtime check was rather
pointless. Better assert the correct size during development.
2016-04-17 13:55:21 +02:00
592558ff33
sys: net: gnrc: fix IS_WIRED netopt call
2016-04-13 15:22:36 +02:00
Hauke Petersen
5fe57b4659
Merge pull request #4725 from kaspar030/ethos_br_hack
...
simplified border router setup
2016-04-12 17:39:07 +02:00
DipSwitch
af96279c40
gnrc/nhdp: Remove _t from struct names
2016-04-11 21:46:54 +02:00
edb5f08e5f
sys: net: gnrc_uhcpc: use IS_WIRED for border interface, fix log prefix
2016-04-11 17:03:28 +02:00
8f2e1d2a3f
sys: net: gnrc: uhcp: consider non-ethernet device as wireless
2016-04-11 17:03:28 +02:00
228d642abe
sys: net: gnrc: uhcpc: only start if multiple interfaces found
2016-04-11 17:03:28 +02:00
376b5646ea
sys: net: gnrc: uhcpc: fix pedantic errors
2016-04-11 17:03:28 +02:00
4fb07a852d
sys: net: add UHCP protocol code and gnrc client implementation
2016-04-11 17:03:28 +02:00
Cenk Gündoğan
c0790aaa52
gnrc_sixlowpan_ctx: use correct member for ctx id in debug
2016-04-11 01:26:18 +02:00
kYc0o
82696da9f1
Merge pull request #5191 from malosek/inet_csum_16bit_fix
...
sys: net: crosslayer: fixed inet csum for 16bit platforms
2016-04-10 18:00:09 +02:00
kYc0o
6df58ac767
gnrc: use correct l2addr print len
2016-04-10 16:31:38 +02:00
Cenk Gündoğan
6f9d3a15ac
gnrc_rpl: reduce scope of now
2016-04-08 19:55:07 +02:00
Oleg Hahm
a59e100d41
ieee802154: replace literals for lengths by macros
2016-04-04 15:24:47 +02:00
BytesGalore
8589e8f5bc
fib: removed obsolete check for default route match
2016-04-02 23:15:33 +02:00
BytesGalore
2bbd2d14d3
fib: use return constants for universal_address_compare()
2016-04-02 10:02:09 +02:00
Johann Fischer
f405891b68
gnrc_sixlowpan_iphc.c: handle forwarded GNRC_NETTYPE_IPV6 packet
2016-04-02 07:52:47 +02:00
Yonezawa-T2
c4bc42419b
netdev2_tap: continue reading even if no spaces left in pktbuf
...
On OS X, `netdev2_tap` suspends monitoring file descriptor until `_recv` is
called. If no spaces in left in pktbuf, `gnrc_netdev2_eth` does not call `_recv`
that results in deadlock.
With this commit, `gnrc_netdev2_eth` calls `_recv` with NULL buffer and non-zero
length parameter, that indicates the driver to drop frame and resume working.
2016-03-31 16:59:12 +09:00
Peter Kietzmann
dcafbb8d0c
Merge pull request #4835 from authmillenon/netdev2_test/feat/init
...
netdev2_test: initial import
2016-03-30 16:59:08 +02:00
Martine Lenders
97de8aa52b
netdev2_test: initial import
...
Imports a generic framework to test and experiment with netdev2-based
modules.
2016-03-30 15:56:25 +02:00
Oleg Hahm
230e105599
Merge pull request #4738 from authmillenon/gnrc_ipv6/fix/accept-dst-for-all-if
...
gnrc_ipv6: accept packets for global dst at all interfaces
2016-03-30 15:05:35 +02:00
Martine Lenders
5532f92057
gnrc_ipv6: accept packets for global dst at all interfaces
2016-03-30 14:54:48 +02:00
Oleg Hahm
1f4d73dde1
Merge pull request #4801 from OlegHahm/netstats
...
netstats: introduce L2 netstats
2016-03-30 14:42:49 +02:00
Cenk Gündoğan
9dbfdcac0b
Merge pull request #4279 from BytesGalore/fib_prefix_handling_change
...
fib: changed handling of the net prefix by the FIB
2016-03-30 11:19:49 +02:00
BytesGalore
1bc9c3bfd2
fib: changed handling of the net prefix
...
Until now the prefix length has been determined automatically by the FIB
This PR changes it to be provided as msb(yte) in the global_flags of an entry
2016-03-30 10:05:05 +02:00
Yonezawa-T2
35cf255330
rpl: fix compile error in DEBUG
2016-03-30 14:16:06 +09:00
malo
06f0d4ea17
sys: net: crosslayer: fixed inet csum for 16bit platforms
...
Signed-off-by: malo <malo@25cmsquare.io>
2016-03-29 23:31:10 +02:00
Oleg Hahm
021e94ee6a
netdev2: introduce linklayer netstats
2016-03-29 22:34:09 +02:00
Martine Lenders
6504671a33
Merge pull request #5179 from OlegHahm/ipv6_recv_assert_instead_check
...
gnrc ipv6: replace check by assert
2016-03-29 19:42:00 +02:00
Oleg Hahm
376874284b
Merge pull request #3721 from cgundogan/pr/rpl/gnrc_rpl_p2p
...
rpl: introducing P2P-RPL
2016-03-29 19:04:27 +02:00
Yonezawa-T2
1ce140d910
debug: fix compilation error for %p formatter
2016-03-29 11:46:29 +09:00
Oleg Hahm
028c9d8029
Merge pull request #5139 from authmillenon/gnrc_ndp/fix/unset-isrouter-on-rtr-sol
...
gnrc_ndp: unset isRouter flag for neighbor sending RS
2016-03-28 19:29:33 +02:00
Martine Lenders
802136dd9a
gnrc_ndp: unset isRouter flag for neighbor sending RS
2016-03-28 19:16:51 +02:00
Martine Lenders
6aacfa8a42
Merge pull request #5176 from OlegHahm/netstats_only
...
net: introduce netstats
2016-03-26 11:29:52 +01:00
Oleg Hahm
d6498162f2
netdev2: introduce netstats
2016-03-25 21:43:16 +01:00
Oleg Hahm
856e1ee0d2
gnrc ipv6: replace check by assert
...
The existence of netif is mandatory here.
2016-03-25 17:30:50 +01:00
kYc0o
f92b025b85
vtimer: get rid of
2016-03-24 17:10:54 +01:00
Cenk Gündoğan
c7a29918ca
Merge pull request #5169 from cgundogan/pr/gnrc_netif/DELETE_ALL_INTERFACES
...
gnrc_ipv6_netif: remove existing interfaces on INIT
2016-03-24 16:34:54 +01:00
Cenk Gündoğan
8bc65a9626
gnrc_ipv6_netif: remove existing interfaces on INIT
2016-03-24 16:10:51 +01:00
Cenk Gündoğan
b5c09bfc41
rpl: introducing p2p-rpl
2016-03-24 12:12:07 +01:00
Martine Lenders
1724ab50fc
Merge pull request #4654 from Yonezawa-T2/fix_ipv6_ext
...
ipv6_ext: fixed extension header handling
2016-03-24 10:53:00 +01:00
Yonezawa-T2
6443a2bb5c
gnrc_pktbuf: Adds a function to duplicate packet chain
2016-03-24 18:20:28 +09:00
Oleg Hahm
a65e6aad59
Merge pull request #5118 from OlegHahm/udp_build_hdr_simplification
...
gnrc: simplify hdr_build functions
2016-03-23 15:31:58 +01:00
Martine Lenders
9a60fb30b7
Merge pull request #5136 from cgundogan/pr/gnrc_rpl/netif_addr
...
gnrc_rpl: add netif_addr to DODAG
2016-03-23 15:27:42 +01:00
Oleg Hahm
cba3ba71ab
gnrc netreg: remove generic hdr build function
2016-03-23 15:20:12 +01:00
Oleg Hahm
32af3f962e
gnrc ipv6: make address parameters const
2016-03-23 15:20:12 +01:00
Oleg Hahm
991c71cf27
gnrc ipv6: use ipv6_addr_t ptr for hdr_build
2016-03-23 15:20:12 +01:00
Oleg Hahm
fc919ea28e
netreg: assert correct param length for hdr_build
2016-03-23 15:20:12 +01:00
Oleg Hahm
360413a033
gnrc ipv6 hdr: remove len params from hdr_build
2016-03-23 15:20:11 +01:00
Oleg Hahm
487f6e480f
gnrc udp: simplify gnrc_udp_hdr_build
...
Directly using 16 bit port numbers instead of casting uint8_t pointers.
2016-03-23 15:20:11 +01:00
Cenk Gündoğan
c0a8ce39ac
Merge pull request #5141 from cgundogan/pr/gnrc_rpl/remove_parent_create_new_fib_entry
...
gnrc_rpl: new default route when old one was deleted
2016-03-23 15:13:53 +01:00
Oleg Hahm
ec78d1308e
Merge pull request #5146 from cgundogan/pr/gnrc_rpl/remove_superfluous_trickle_reset
...
gnrc_rpl: remove superfluous trickle reset
2016-03-23 11:41:39 +01:00
Cenk Gündoğan
eae0e4c724
gnrc_rpl: new default route when old one was deleted
2016-03-23 11:37:33 +01:00
Cenk Gündoğan
b280984862
gnrc_rpl: add netif_addr to DODAG
2016-03-23 10:37:38 +01:00
Cenk Gündoğan
095e4558df
Merge pull request #5135 from cgundogan/pr/gnrc_rpl/proper_iface_handling
...
gnrc_rpl: proper interface handling
2016-03-23 10:34:47 +01:00
Cenk Gündoğan
3b9fda6d03
gnrc_rpl: proper interface handling
2016-03-23 10:12:01 +01:00
Cenk Gündoğan
b1249a5db1
gnrc_rpl: remove superfluous trickle reset
2016-03-23 10:06:04 +01:00
Yonezawa-T2
f0acefd0af
gnrc_ipv6_nc: fix compilation error at debug output
2016-03-23 13:32:38 +09:00
Oleg Hahm
d1ccfea80a
Merge pull request #5129 from cgundogan/pr/gnrc_rpl/minor_cleanup
...
gnrc_rpl: minor enhancements
2016-03-22 17:26:21 +01:00
Oleg Hahm
1787cb6ed2
Merge pull request #5019 from cgundogan/pr/fib/flush
...
fib: flush entries
2016-03-22 17:16:48 +01:00
Cenk Gündoğan
fc75ff9b29
gnrc_rpl: minor fixes and enhancements
2016-03-22 16:50:16 +01:00
Yonezawa-T2
bc5b0c3140
ipv6_ext: fixed extension header handling
2016-03-22 12:45:08 +09:00
Cenk Gündoğan
771757c84f
Merge pull request #5082 from cgundogan/pr/gnrc_rpl/dodag_conf_optional_on_join
...
gnrc_rpl: make DODAG_CONF optional when joining DODAG
2016-03-21 18:22:44 +01:00
Martine Lenders
f42738ed22
gnrc_netdev2: do not override res for for ieee802154
...
`res` is used to set the frame header iovec's length afterwards so overriding
it with a negative number is kind of a bad idea ;-).
2016-03-17 00:20:39 +01:00
Cenk Gündoğan
39255ee8f8
gnrc_rpl: make DODAG_CONF optional when joining DODAG
2016-03-16 14:31:49 +01:00
Cenk Gündoğan
46e983afc7
Merge pull request #5081 from cgundogan/pr/gnrc_rpl/rename_req_opts_to_dio_opts
...
gnrc_rpl: shell: rename req_opts to dio_opts
2016-03-16 14:20:46 +01:00
Cenk Gündoğan
b15c1a2bd1
gnrc_rpl: rename req_opts to dio_opts
2016-03-16 14:16:15 +01:00
Cenk Gündoğan
6f6ec3c8a5
gnrc_ipv6_nc: refactor nc_remove function
2016-03-16 13:51:21 +01:00
Martine Lenders
0a3b56e0b4
Merge pull request #5006 from immesys/fix-rtr-adv
...
ndp: change rtr adv src to link local
2016-03-16 12:42:12 +01:00