Thomas Eichinger
e93fd66dbb
sys/cbor: change array initializer from const variable to #define
...
OS X clang complains "folded to constant array as an extension"
[-Wgnu-folding-constant]
2015-09-30 15:29:32 +02:00
Martine Lenders
001fdc5275
Merge pull request #3998 from gebart/pr/xtimer-long-term-fast-cpu-bug
...
sys/xtimer: Avoid race incrementing multiple periods in _timer_callback
2015-09-30 12:40:08 +02:00
Cenk Gündoğan
d2a02ea582
Merge pull request #3985 from authmillenon/gnrc_pktbuf_static/fix/stats
...
gnrc_pktbuf_static: fix order of calling
2015-09-30 11:21:40 +02:00
Joakim Nohlgård
b365ab45cb
sys/xtimer: Avoid race incrementing multiple periods in _timer_callback
...
On a fast CPU with a slow timer (e.g. XTIMER_SHIFT > 0) it is possible
that now == _xtimer_now() when spinning for the overflow. In the extreme
case When this happens _next_period() will be called more than once
until the timer overflows for real.
Fault observed in real life when running on a 32.768 kHz timer on a
~96 MHz clocked mulle (Kinetis K60, Cortex-M4). _next_period() was
called 9 times during the same ISR call before the 32 kHz timer
overflowed.
2015-09-30 10:21:33 +02:00
Cenk Gündoğan
3f238980f7
rpl: incremental instance id generation
2015-09-29 19:34:59 +02:00
Cenk Gündoğan
f14ab00658
Merge pull request #3719 from cgundogan/pr/rpl/dodag_conf_prefix_info_request
...
rpl: make dodag_conf and prefix_info options requestable
2015-09-29 18:44:55 +02:00
Martine Lenders
f413e9b413
Merge pull request #3987 from authmillenon/gnrc_ipv6_nc/fix/undef-iface
...
gnrc_ipv6_nc: interface in neighbor cache may be undefined but legal
2015-09-29 18:29:35 +02:00
Cenk Gündoğan
6dce4e2069
Merge pull request #3983 from gebart/pr/rpl-debug-fix
...
rpl: Remove unused variable when building with ENABLE_DEBUG=1
2015-09-29 18:03:22 +02:00
Cenk Gündoğan
4cc5564c87
Merge pull request #3982 from authmillenon/gnrc_ipv6_whitelist/feat/initial
...
gnrc_ipv6_whitelist: initial import
2015-09-29 17:55:42 +02:00
Martine Lenders
891450d29d
gnrc_netapi: recover from message send errors
2015-09-29 16:58:08 +02:00
Martine Lenders
7861434e34
gnrc_ipv6_nc: interface in neighbor cache may be undefined but legal
2015-09-29 16:13:47 +02:00
Martine Lenders
e20451edd8
gnrc_pktbuf_static: fix order of calling
2015-09-29 15:27:49 +02:00
Joakim Nohlgård
b85ae4eeb3
rpl: Remove unused variable when building with ENABLE_DEBUG=1
...
Fixes
/data/riotbuild/riotbase/sys/net/gnrc/routing/rpl/gnrc_rpl.c:28:13: error: 'addr_str' defined but not used [-Werror=unused-variable]
static char addr_str[IPV6_ADDR_MAX_STR_LEN];
^
when building with #define ENABLE_DEBUG (1)
2015-09-29 13:20:58 +02:00
effb15a2cc
Merge pull request #3313 from gebart/pr/eINT-fixes
...
eINT/dINT fixes
2015-09-29 12:39:16 +02:00
Martine Lenders
a5c23f4c90
shell: provide shell command for whitelist
2015-09-28 16:59:53 +02:00
Martine Lenders
5291f3b2bd
gnrc_ipv6_whitelist: initial import
2015-09-28 16:59:53 +02:00
Joakim Nohlgård
0c41304dcd
sys/xtimer: Fix small typo in documentation
2015-09-28 14:23:27 +02:00
Joakim Nohlgård
983b299745
sys/xtimer: xtimer_set: Reduce scope on target variable
2015-09-28 14:23:23 +02:00
Joakim Nohlgård
7f254c6d12
sys/xtimer: rename _ms_to_sec -> _us_to_sec to reflect actual functionality
...
The function divides the argument by 1000000, (microsecond to seconds)
2015-09-28 14:23:16 +02:00
Oleg Hahm
4cfb8140e4
Merge pull request #3978 from LudwigOrtmann/pr/namechange
...
documentation: update my name (Ortmann -> Knüpfer)
2015-09-28 10:38:41 +02:00
Cenk Gündoğan
f4660e8ff5
rpl: request DODAG_CONF and PREFIX_INFO option from parent when joining a DODAG
2015-09-28 09:23:37 +02:00
Oleg Hahm
775a85565b
Merge pull request #3976 from OlegHahm/6lowpan_unused_variable_fix
...
6lowpan: eliminate unused compiler warning
2015-09-27 21:01:06 +02:00
Oleg Hahm
57888f99a7
6lowpan: eliminate unused compiler warning
...
Fixes the bug that was introduced in b1ae07ca82
where the wrong datagram size was used.
2015-09-27 20:25:56 +02:00
Oleg Hahm
75a6c63137
Merge pull request #3975 from OlegHahm/doxygen_fixes_and_cleanup
...
Doxygen: some fixes and cleanup
2015-09-27 20:01:03 +02:00
Ludwig Knüpfer
eda6328e21
documentation: update my name (Ortmann -> Knüpfer)
2015-09-27 18:58:30 +02:00
Oleg Hahm
f035bced0c
doc: put network devices and sensors in subgroups
2015-09-27 18:25:43 +02:00
Oleg Hahm
71fd517aba
Merge pull request #3972 from authmillenon/gnrc_ipv6/fix/multi-iface-dup
...
gnrc_ipv6: fix multi-interface packet duplication
2015-09-26 18:51:42 +02:00
Oleg Hahm
dad04d7635
Merge pull request #3963 from Kijewski/drop-skipjack
...
crypto: remove skipjack support
2015-09-26 11:50:20 +02:00
Joakim Nohlgård
49ef26dd7c
Merge pull request #3971 from gebart/pr/xtimer-core-reference-now
...
xtimer-core: Use xtimer_now as reference time instead of future timer target
2015-09-26 07:13:43 +02:00
Martine Lenders
a19b0d8262
gnrc_ipv6: fix multi-interface packet duplication
2015-09-26 06:09:54 +02:00
Martine Lenders
f334a9aa1b
gnrc_ipv6: remove unnecessary parameter to _send_multicast_over_iface
2015-09-26 06:09:37 +02:00
DipSwitch
9b726fe217
6low_frag: Fix RSSI, LQI and flags dropping in fragmentation reassembly
2015-09-26 01:06:02 +02:00
Oleg Hahm
b1ae07ca82
6lowpan: replace duplicate function call
...
datagram_size is already set to the value returned by gnrc_pkt_len(), no need to call it again.
2015-09-25 22:42:28 +02:00
Oleg Hahm
6f720306c9
doc: pnet should be part of POSIX sockets
2015-09-25 21:07:16 +02:00
Oleg Hahm
526f6fd5f8
doc: fix doxygen group for some gnrc headers
2015-09-25 21:07:16 +02:00
Joakim Nohlgård
75d0281ef3
xtimer-core: Use xtimer_now as reference time instead of future timer target
2015-09-25 16:12:06 +02:00
Martine Lenders
5cf4bd661b
Merge pull request #3968 from authmillenon/gnrc/fix/6lbr
...
6LBR: fixes
2015-09-25 12:04:39 +02:00
Martine Lenders
a225987d3e
gnrc 6Lo-ND rtr: fix array sizes for 6LBR
2015-09-25 11:26:58 +02:00
Martine Lenders
893008f1e2
gnrc_ndp_internal: fix variable scope
2015-09-25 10:53:13 +02:00
Martine Lenders
217f8a26d8
gnrc_ndp_internal: fix coding style
2015-09-25 10:52:51 +02:00
Martine Lenders
39ade25511
gnrc_ndp_internal: prevent non-terminating loop
2015-09-25 10:51:01 +02:00
161a76680f
Merge pull request #3923 from kaspar030/add_threadsafe_ringbuffer
...
sys: add threadsafe ringbuffer
2015-09-25 10:32:52 +02:00
aa321eb3f0
sys: uart_stdio: use thread-safe ringbuffer
2015-09-25 09:08:34 +02:00
185f63f768
sys: add thread-safe ringbuffer implementation
2015-09-25 09:08:34 +02:00
Martine Lenders
8621407f00
GNRC 6LR: don't include PIOs for other interface's prefixes
2015-09-25 01:11:53 +02:00
Martine Lenders
884f2c768a
Merge pull request #3964 from authmillenon/gnrc_ndp/fix/ltime-0
...
gnrc_ndp: lifetimes might be 0 in RA options
2015-09-25 01:02:30 +02:00
Martine Lenders
16151b06f7
gnrc_ndp: lifetimes might be 0 in RA options
2015-09-25 00:07:51 +02:00
René Kijewski
cecb4c8c56
crypto: remove skipjack support
...
Unused, unmaintained, buggy code for an unknown algorithm.
2015-09-25 00:05:18 +02:00
Martine Lenders
7bbb5d62b0
6lowpan IPHC: set dest context to DCI field not SCI
2015-09-24 23:21:15 +02:00
Martine Lenders
225dcaaf34
gnrc_ipv6_nc: leave UNMANAGED entries UNMANAGED
2015-09-24 21:21:25 +02:00
Oleg Hahm
cc0101472e
6lowpan: do garbage collect unreachable NCEs
...
RFC6775 says "if NUD on the router determines that the host is UNREACHABLE (based on the logic in [RFC4861]), the NCE SHOULD NOT be deleted but rather retained until the Registration Lifetime expires." Since this is a "SHOULD NOT" and not a "MUST NOT", we can still remove these NCEs to circumvent NCEs going into UNREACHABLE and never leave this state again. Actually removing these entries from the cache seems also be the better choice for memory constraint device.
2015-09-24 17:33:38 +02:00
Martine Lenders
8b2e4d5ffa
socket_base: remove deprecated header files
2015-09-24 15:45:37 +02:00
Martine Lenders
ae46d5d6a0
Merge pull request #3953 from OlegHahm/6lowpan_slaac_fixes
...
6lowpan: make SLAAC work
2015-09-24 14:14:41 +02:00
Oleg Hahm
63fda9e900
6lowpan: remove tentative flag for local addresses
...
There's no real need for this flag, but it causes problem during address registration.
2015-09-24 13:33:10 +02:00
Oleg Hahm
c5b1156909
IPv6 nd: missing parameter for debug function
2015-09-24 13:17:21 +02:00
Oleg Hahm
bb287ae7e8
6lowpan netif: set prefixes for 6LBR first
...
By adding a newly added prefix first, it is assured that the following router advertisement will already disseminate it via the PIO.
2015-09-24 13:15:38 +02:00
Hauke Petersen
7cb3f9bd5e
Merge pull request #3716 from kaspar030/ng_cc110x
...
drivers: add cc110x driver
2015-09-24 11:49:38 +02:00
Martine Lenders
5e2b4b6b23
Merge pull request #3951 from OlegHahm/6lowpan_nd_pio_fixes
...
6lowpan nd: PIO fixes
2015-09-24 02:52:45 +02:00
Martine Lenders
109b2ab522
Merge pull request #3950 from authmillenon/gnrc_sixlowpan_iphc/fix/set-mcast-ctx
...
gnrc_sixlowpan_iphc: actually set context for unicast prefix based comp
2015-09-24 02:33:16 +02:00
Oleg Hahm
fee9ad77cb
ipv6: init addresses w/ infinite validity time
2015-09-24 02:27:42 +02:00
Oleg Hahm
9b7b1bae37
6lowpan: prefixes are initially all null pointers
...
Since the prefixes list stores pointers, one need to check for null pointers first.
2015-09-24 02:27:42 +02:00
Oleg Hahm
ba023aecb8
6lowpan nd: use correct upper limit for iterating
...
While iterating over the prefixes the wrong upper limit was used for the for loop.
2015-09-24 02:27:42 +02:00
Martine Lenders
3c69d7bec3
Merge pull request #3949 from OlegHahm/iphc_set_DAC
...
6lowpan IPHC: set stateful compression mode f. dst
2015-09-24 02:25:48 +02:00
Martine Lenders
1372b9b779
gnrc_sixlowpan_iphc: actually set context for unicast prefix based comp
2015-09-24 02:15:35 +02:00
Oleg Hahm
e9d6eb8170
6lowpan IPHC: set stateful compression mode f. dst
...
For destionation addresses the stateful compression mode bit wasn't set.
2015-09-24 02:15:21 +02:00
Martine Lenders
dd7b96c840
Merge pull request #3750 from authmillenon/shell/feat/6ctx
...
shell_commands: provide command for 6Lo context administration at 6LBR
2015-09-24 02:08:35 +02:00
Martine Lenders
dd69fd0cd3
gnrc_ndp_internal: add missing include
2015-09-24 01:36:54 +02:00
Martine Lenders
cc9aa3550d
shell_commands: provide command for 6Lo context administration
2015-09-24 01:36:53 +02:00
Oleg Hahm
0cc4f57fc0
6lowpan: do not send NAs for new MC addresses
2015-09-24 00:03:06 +02:00
14d0ef6c4d
drivers: add cc110x driver
2015-09-23 18:55:11 +02:00
Martine Lenders
771e7f40cd
gnrc_ipv6_netif: a RA source MUST be link-local
2015-09-23 18:34:47 +02:00
Martine Lenders
320aa47200
Merge pull request #3876 from authmillenon/nhdp/enh/use-conn
...
nhdp: use conn instead of socket_base
2015-09-23 18:00:10 +02:00
Oleg Hahm
30885a2a2d
pktbuf: correct size for printing chunk dumps
2015-09-23 16:44:45 +02:00
Martine Lenders
e06e85d65c
gnrc_slip: reorder received packet correctly
2015-09-23 16:14:33 +02:00
Oleg Hahm
830bf36061
Merge pull request #3928 from authmillenon/gnrc_sixlowpan_nd/fix/opt-check
...
gnrc_sixlowpan_nd: fix 6ctx option check
2015-09-23 01:47:43 +02:00
Oleg Hahm
2a41861154
Merge pull request #3937 from OlegHahm/ipv6_nc_debug_fix
...
IPv6 nc: missing debug parameter
2015-09-22 23:35:13 +02:00
Martine Lenders
4508e22da8
Merge pull request #3646 from authmillenon/posix/feat/sockets
...
posix: redo socket API to use conn
2015-09-22 23:04:03 +02:00
Martine Lenders
624530c7d0
posix: redo socket API to use conn
2015-09-22 22:24:52 +02:00
Oleg Hahm
171fb8e65c
IPv6 nc: missing debug parameter
2015-09-22 21:55:29 +02:00
Martine Lenders
67786b4a8b
Merge pull request #3936 from authmillenon/gnrc_ndp_node/fix/link-local-always-on-link
...
gnrc_ndp_node: always assume link-local dst to be on-link
2015-09-22 21:25:57 +02:00
Martine Lenders
5d7501677f
gnrc_ipv6: iface might be from input on next hop determination
2015-09-22 20:43:29 +02:00
Martine Lenders
2a61ac936a
gnrc_ndp_node: always assume link-local dst to be on-link
2015-09-22 19:49:48 +02:00
Oleg Hahm
d1bd2ae0a3
Merge pull request #3931 from OlegHahm/6lbr_pick_right_next_hop
...
6lowpan: IPv6 next hop shouldn't supersede 6lo
2015-09-22 18:48:42 +02:00
Martine Lenders
4419a0a441
Merge pull request #3932 from cgundogan/pr/rpl/linklocal
...
rpl: fix src addr of outgoing control messages
2015-09-22 17:17:41 +02:00
Cenk Gündoğan
cb152c1455
rpl: fix src addr of outgoing control messages
2015-09-22 16:26:43 +02:00
Martine Lenders
8df17de95b
Merge pull request #3925 from authmillenon/gnrc_pktbuf_static/fix/short_snip
...
gnrc_pktbuf_static: fix marking of pktsnips with short payload
2015-09-22 16:20:22 +02:00
Oleg Hahm
a24b0f2b79
6lowpan: IPv6 next hop shouldn't supersede 6lo
...
If 6LoWPAN next hop determination and address resolution succeeds, it should not be superseded by IPv6 ND.
2015-09-22 16:12:00 +02:00
Martine Lenders
542c1e82ac
gnrc_sixlowpan_nd: fix 6ctx option check
2015-09-22 14:36:44 +02:00
Oleg Hahm
a0957b11d6
Merge pull request #3926 from OlegHahm/some-scan-build-warnings
...
clean up: Some scan build warnings
2015-09-22 11:43:20 +02:00
Martine Lenders
3448569eb8
Merge pull request #3916 from OlegHahm/6lowpan_rtr_adv_mc_timer
...
6lowpan nc: rtr sol timer expects an interface
2015-09-22 11:28:44 +02:00
René Kijewski
d2afdf5079
crypto: memcpy()
in overlapping data in ccm
...
`memcpy()` must not be used if the input and output ranges overlap,
because it is undefined if the data if copied from front to the end or
vice versa.
Found via valgrind.
2015-09-22 11:01:56 +02:00
René Kijewski
7af7d37531
base64: remove unused calculation in base64_encode
...
Found via scan-build.
2015-09-22 11:01:56 +02:00
René Kijewski
05eb6e73d9
bloom: fix calloc invocation
...
Fix array member type (`char` vs `uint8_t`).
Found via scan-build.
2015-09-22 11:01:55 +02:00
Oleg Hahm
f0e2f50713
6lowpan nc: rtr sol timer expects an interface
2015-09-22 10:53:08 +02:00
Martine Lenders
e5c6e3da54
gnrc_pktbuf_static: fix marking of pktsnips with short payload
2015-09-22 10:50:57 +02:00
Oleg Hahm
c006381fd8
Merge pull request #3917 from OlegHahm/6lbr_rtr_sol_adv_fixes
...
6lowpan: some border router fixes
2015-09-21 23:55:55 +02:00
Oleg Hahm
f3f4d61f93
sixlowpan nd: 6LBR shouldn't send rtr sol over 6lo
2015-09-21 23:21:22 +02:00
Oleg Hahm
38b384c713
6lowpan: 6LBR should sent only one rtr adv
...
On a 6lo interface the border router should only send one router advertisement with its new address as source address.
2015-09-21 23:21:22 +02:00
Martine Lenders
9ce1c6df05
nhdp: use conn instead of socket_base
2015-09-21 21:37:13 +02:00
Martine Lenders
fda6155071
Merge pull request #3615 from authmillenon/conn/feat/initial
...
conn: Initial import of a light-weight network application API
2015-09-21 20:47:08 +02:00
Martine Lenders
ef9acf6aee
gnrc: add GNRC-specific conn implementation
2015-09-21 16:56:27 +02:00
Martine Lenders
b87a3eab89
conn: Initial import of a light-weight network application API
2015-09-21 16:56:27 +02:00
Oleg Hahm
4b6626f8b2
Merge pull request #3902 from OlegHahm/xtimer_initialize_variables
...
xtimer: initialize struct members
2015-09-21 11:35:18 +02:00
Oleg Hahm
682bde25d9
6lowpan nd: check right NCE in AR handling
...
When checking the address registration option, the address has to be passed in order to check the correct neighbor cache entry.
2015-09-21 09:25:12 +02:00
Oleg Hahm
effe7bbde0
6lowpan: 6LBR need to initialize rtr adv interval
2015-09-20 21:42:20 +02:00
Oleg Hahm
1a0a1d6fb9
ndp: assert that rtr adv interval is never 0
2015-09-20 21:42:20 +02:00
Martine Lenders
8a554abfa6
Merge pull request #3904 from authmillenon/gnrc_sixlowpan_nd_router/fix/version-casting
...
gnrc_sixlowpan_nd_router: cast before shifting
2015-09-20 20:53:53 +02:00
Martine Lenders
7f1db3b2d0
Merge pull request #3903 from gebart/pr/gebart-nohlgard-name
...
all: Update @gebart family name, email
2015-09-20 20:53:35 +02:00
Martine Lenders
c1310d5500
Merge pull request #3889 from OlegHahm/6lowpan_nd_rtr_adv
...
6lowpan nd: send router advertisements on 6LR
2015-09-20 20:51:47 +02:00
Oleg Hahm
6f2d90a95c
6lowpan nd: send rtr adv on new address
2015-09-20 18:16:28 +02:00
Oleg Hahm
9641f8c39c
6lowpan nd: send rtr adv after receiving a rtr adv
...
A router should turn into a router after receiving a valid router advertisement.
2015-09-20 18:15:27 +02:00
Martine Lenders
f3b9e5fa8e
gnrc_sixlowpan_nd_router: cast before shifting
...
`avr-gcc` was complaining about shifting the value out of the width of
type. This is a fix for that.
2015-09-20 16:04:30 +02:00
Joakim Nohlgård
98c465008b
all: Update @gebart family name, email
2015-09-20 13:47:39 +02:00
Oleg Hahm
38148c2d48
xtimer: initialize struct members
...
The xtimer_t struct members target and long_target are used in _is_set() function in xtimer_remove(), but will be uninitialized.
2015-09-20 02:00:55 +02:00
Oleg Hahm
e15bdd257a
debug: replace __FILE__ by RIOT_RELATIVE_FILE
2015-09-20 01:51:47 +02:00
Oleg Hahm
fac95806a8
sys: replace DEBUGF with corresponding DEBUG calls
2015-09-20 01:51:47 +02:00
Joakim Gebart
0cfe6d15dc
sys/posix/pthread: Replace dINT by disableIRQ
2015-09-19 10:35:58 +02:00
Martine Lenders
b3c16b3abc
Merge pull request #3892 from authmillenon/gnrc_sixlowpan_nd/fix/nd-state-machine
...
gnrc_sixlowpan_nd: activate NC state machine
2015-09-19 04:04:45 +02:00
Martine Lenders
53fd4b6239
sc_ipv6_nc: Use more letters for type
...
I was myself a little confused when I saw `R` for a registered address,
since I interpreted it as "router" (though the node wasn't supposed to
be a router). After a wild goose chase for wrongly set flags through the
code I found that `R` stands for "REGISTERED". To prevent such a thing
in the future I opted for fixing this in the output.
2015-09-18 15:59:33 +02:00
Martine Lenders
c24fc4b2d6
Merge pull request #3875 from authmillenon/gnrc_sixlowpan_nd/fix/register-new-addr
...
gnrc_sixlowpan_nd: register new addresses for AAC
2015-09-18 01:45:16 +02:00
Martine Lenders
802e229bcb
gnrc_sixlowpan_nd: register new addresses for AAC
2015-09-18 00:23:12 +02:00
Martine Lenders
1682b76866
gnrc_ndp_internal: adapt nbr_sol send function to get src
2015-09-18 00:23:12 +02:00
Martine Lenders
79c1240590
gnrc_sixlowpan_nd: activate NC state machine
2015-09-18 00:12:19 +02:00
Martine Lenders
fdd255367c
Merge pull request #3878 from authmillenon/net_help/clean/rm
...
net_help: remove net_help module
2015-09-17 15:24:23 +02:00
Oleg Hahm
b19592c478
Merge pull request #3883 from OlegHahm/6lowpan_nd_nce_tentative
...
6lowpan nd: tentative NCE is like no NCE
2015-09-17 14:27:38 +02:00
Martine Lenders
15e6e65b11
Merge pull request #3841 from OlegHahm/slip_write_blocking
...
gnrc slip: use blocking uart writing
2015-09-17 13:55:56 +02:00
Martine Lenders
97aa4da198
net_help: remove net_help module
...
Its functionality is now divided up into several helper modules that are
already used through-out RIOT.
2015-09-17 13:32:39 +02:00
Oleg Hahm
d8824bd0c5
6lowpan nd: tentative NCE is like no NCE
2015-09-17 12:47:56 +02:00
Martine Lenders
4afecc9a87
Merge pull request #3860 from OlegHahm/gnrc_various_fixes
...
gnrc: various fixes
2015-09-17 12:40:33 +02:00
Oleg Hahm
73fe4d4e55
gnrc slip: use blocking uart writing
2015-09-17 11:48:43 +02:00
Oleg Hahm
3c6202e8ed
sixlowpan nd: ignore empty eui64 in neighbor cache
2015-09-17 11:11:26 +02:00
Oleg Hahm
d7546d0f0c
sixlowpan nd: add missing breaks for switch-case
2015-09-17 11:11:26 +02:00
Oleg Hahm
c25223cc58
ipv6 netif: don't add automatic link local address
2015-09-17 11:11:26 +02:00
Cenk Gündoğan
35df5b6857
Merge pull request #3612 from authmillenon/posix/api/inet_ntop_inet_pton
...
posix: net_help: move inet_pton/inet_ntop completely to POSIX
2015-09-17 11:08:40 +02:00
Oleg Hahm
fdf5c70ebd
ndp: another leftover from renaming...
2015-09-17 10:19:17 +02:00
Martine Lenders
108043594a
Merge pull request #3846 from OlegHahm/6lbr_address_resolution
...
6lowpan nd: always perform l2 lookup for 6LBR
2015-09-17 10:14:12 +02:00
Martine Lenders
371240e8de
Merge pull request #3874 from authmillenon/gnrc_sixlowpan_nd/fix/resched-nbr-sol
...
gnrc_sixlowpan_nd: fix reschedule of neighbor solicitations
2015-09-17 10:07:41 +02:00
Oleg Hahm
60be8fac83
sixlowpan nd: check for a potential NCE first
2015-09-17 08:56:28 +02:00
Oleg Hahm
3fee605300
6lowpan nd: always perform l2 lookup for 6LBR
2015-09-17 08:47:56 +02:00
Martine Lenders
8f2b2e15d2
Merge pull request #3836 from cgundogan/pr/ndp/rm_dupl_pio
...
ndp: pio - check if prefix has been processed before
2015-09-17 02:40:08 +02:00
Martine Lenders
08a3f0baf5
posix: net_help: move inet_pton/inet_ntop completely to POSIX
2015-09-17 02:36:08 +02:00
Martine Lenders
f1046b4e75
Merge pull request #3864 from authmillenon/posix/api/rm-strings
...
posix: remove strcasecmp functions and macros
2015-09-17 02:33:48 +02:00
Martine Lenders
1761b7b648
Merge pull request #3873 from OlegHahm/sixlowpan_nd_router_lifetime
...
6lowpan nd: set router lifetime to a default value
2015-09-17 02:30:31 +02:00
Oleg Hahm
a1158092a4
sixlowpan nd: move set_rtr_adv function to router
2015-09-17 02:08:52 +02:00
Martine Lenders
e76f1cf27f
Merge pull request #3840 from OlegHahm/sixlowpan_nd_stale_null_pointer
...
6lowpan nd: fix null pointer handling in staling
2015-09-17 01:38:21 +02:00
Martine Lenders
a19a04c753
Merge pull request #3853 from OlegHahm/6lowpan_nd_router_fixes
...
6lowpan nd router fixes
2015-09-17 01:37:39 +02:00
Martine Lenders
b1e98e3337
gnrc_sixlowpan_nd: fix reschedule of neighbor solicitations
2015-09-17 01:28:11 +02:00
Oleg Hahm
b28dd897f2
6lowpan nd: set router lifetime to a default value
2015-09-17 01:23:37 +02:00
Oleg Hahm
af0ed51559
Merge pull request #3839 from OlegHahm/6lr_fixes
...
6lowpan nd: router fixes
2015-09-17 00:43:40 +02:00
Oleg Hahm
46fcb4632c
6lowpan nd: fix null pointer handling in staling
2015-09-17 00:19:04 +02:00
Oleg Hahm
9deb315b6d
sixlowpan nd: remove superfluous check in stale
2015-09-17 00:12:08 +02:00
Oleg Hahm
b15660033a
sixlowpan nd: send actually router advertisements
2015-09-16 23:59:43 +02:00
Oleg Hahm
dbb754e131
6lbr: check registered flag only for 6LoWPAN ifs
2015-09-16 23:58:55 +02:00
Oleg Hahm
bf22190434
6lowpan nd: set rtr adv flag on rtr adv reception
...
A 6LoWPAN router should turn into a 6LoWPAN router as soon as it has
been configured by receiving an advertisement itself.
2015-09-16 23:53:47 +02:00
Oleg Hahm
596ef55641
6lowpan nd: join all routers multicast group
...
A 6LR should join the all routers multicast group as soon as it turns
into a router which is indicated by setting the router advertisement
flag.
2015-09-16 23:53:08 +02:00
Cenk Gündoğan
92cbc1f254
ndp: pio - check if prefix has been processed before
2015-09-16 22:58:45 +02:00
Oleg Hahm
d2541c84cc
Merge pull request #3852 from cgundogan/pr/pktbuf/debug
...
gnrc_pktbuf_static: fix DEBUG
2015-09-16 16:42:24 +02:00
Martine Lenders
1486967a4b
posix: remove strcasecmp functions and macros
2015-09-16 15:40:58 +02:00
Cenk Gündoğan
55c938636b
gnrc_pktbuf_static: fix DEBUG
2015-09-16 14:35:02 +02:00
a719e7d61f
sys: xtimer: some updates
...
- more robust underflow protection in xtimer_usleep_until()
- use relative target in xtimer_spin()
- honour reference in isr when spinning until timer target
- add XTIMER_BACKOFF to xtimer_spin_until() target when backing off in
_timer_set_absolute()
- doxygen updates
2015-09-16 12:34:31 +02:00
40812e722e
sys: xtimer: use relative spin in absolute set functions
2015-09-16 11:13:42 +02:00
9203115cdc
sys: xtimer: fix xtimer_spin_until() for <32bit timers, add safety microsecond to xtimer_spin()
2015-09-16 11:13:41 +02:00
48611c0572
sys: xtimer: avoid setting timers multiple times from within ISR
2015-09-16 11:13:41 +02:00
bd19a903ab
sys: xtimer: add slow-timer-read compensation + test application
2015-09-16 11:13:41 +02:00
a0d78cf989
sys: xtimer: disable timer before shooting in isr handler
2015-09-16 10:58:56 +02:00
691fe95546
sys: xtimer: use XTIMER_SHIFT in mask, add doxygen
2015-09-16 10:58:56 +02:00
cb0337d77e
sys: xtimer: xtimer_set(): shoot directly if offset <= 1
2015-09-16 10:58:56 +02:00
5a485c3f73
sys: net: fib: switch to xtimer
2015-09-16 10:58:56 +02:00
Cenk Gündoğan
3609dce47d
sc_gnrc_rpl: adjust rpl shell for xtimer usage
2015-09-16 10:58:56 +02:00
Cenk Gündoğan
50392b6256
rpl: switch to xtimer
2015-09-16 10:58:56 +02:00
6f21fd806c
sys: posix: pthread_cond: remove unnecessary define
2015-09-16 10:58:54 +02:00
e27ce2465f
sys: xtimer: add xtimer_wakeup64
2015-09-16 10:58:54 +02:00
fcb666dff9
sys: shell: mersenne: adapt to xtimer
2015-09-16 10:58:51 +02:00
cd715fedf6
sys: compat: remove hwtimer_compat
2015-09-16 10:58:51 +02:00
5e7036eed9
sys: introduce vtimer_compat
2015-09-16 10:58:51 +02:00
2cee6b036b
sys: remove vtimer
2015-09-16 10:58:51 +02:00
844f8a491c
sys: ps: adapt to xtimer
2015-09-16 10:58:51 +02:00
Cenk Gündoğan
067c029f92
sc_gnrc_rpl: adjust to xtimer for trickle
2015-09-16 10:58:51 +02:00
Cenk Gündoğan
052ad7cd51
trickle: switch to xtimer
2015-09-16 10:58:50 +02:00
Cenk Gündoğan
4b7a3ed236
rpl/structs.h: include vtimer
2015-09-16 10:58:50 +02:00
Cenk Gündoğan
12bcc46f15
gnrc_sixlowpan_iphc: move assert to a valid position
2015-09-16 09:54:08 +02:00
Oleg Hahm
f8f74468b3
Merge pull request #3822 from authmillenon/ipv6_addr/enh/opt-ipv4-sup
...
ipv6_addr: make IPv4 compatible addresses optional
2015-09-15 10:47:36 +02:00
Oleg Hahm
f762d2aab2
Merge pull request #3830 from DipSwitch/fix_udp_documentation
...
doc: Fix documentation for UDP
2015-09-13 19:10:45 +02:00
Martine Lenders
345a5795e5
Merge pull request #3825 from OlegHahm/gnrc_scan_build_fixes
...
gnrc: scan build fixes
2015-09-12 16:41:37 +02:00
Martine Lenders
609867000e
Merge pull request #3831 from cgundogan/pr/ndp/pio_prefix_len
...
ndp: assertify pio prefix len check and include 0 and 128
2015-09-12 16:06:41 +02:00
Martine Lenders
e7bbbf080b
Merge pull request #3813 from OlegHahm/sixlowpan_nd_router_deps
...
gnrc: 6lowpan-nd: some broken router dependencies
2015-09-12 15:58:11 +02:00
Martine Lenders
93f555ef69
Merge pull request #3782 from OlegHahm/RIOT_assert
...
core: RIOT's own assert macro
2015-09-12 13:12:34 +02:00
Cenk Gündoğan
14d899bf83
ndp: assertify pio prefix len check and include 0 and 128
2015-09-12 13:11:01 +02:00
Oleg Hahm
a182977161
gnrc ipv6: 6lowpan router needs sol. node address
2015-09-12 12:56:28 +02:00
DipSwitch
684eff4541
doc: Fix documentation for UDP
2015-09-12 12:54:56 +02:00
Oleg Hahm
dc225e2861
6lowpan nd: check for link-local first
2015-09-11 22:56:23 +02:00
Oleg Hahm
e65cc8dc6d
shell: initialize l2 addr length variable
2015-09-11 21:44:25 +02:00
Oleg Hahm
000caf4e87
shell: exit early if no IPv6 interface is found
2015-09-11 21:44:25 +02:00
Oleg Hahm
04022be770
gnrc: netdev2: eth: check for empty multicast
2015-09-11 21:44:25 +02:00
Martine Lenders
85c1c17090
ipv6_addr: make IPv4 compatible addresses optional
2015-09-11 20:03:46 +02:00
Martine Lenders
93a92dfa03
Merge pull request #3134 from authmillenon/ng_sixlowpan/feat/6lo-nd
...
gnrc_sixlowpan_nd_border_router: initial import of border router behavior of 6LoWPAN-ND
2015-09-11 19:58:36 +02:00
Martine Lenders
05a3e056f2
Merge pull request #3821 from authmillenon/gnrc_ndp/fix/add-pio
...
gnrc_ndp: add PIO to router advertisements
2015-09-11 19:58:01 +02:00
Martine Lenders
b9fcd2bfea
Merge pull request #3608 from authmillenon/ipv4_addr/api/initial
...
ipv4_addr: initial import
2015-09-11 18:41:23 +02:00
Martine Lenders
3079b305a7
Merge pull request #3611 from authmillenon/posix/api/consolidate-include-paths
...
posix: consolidate include paths
2015-09-11 17:06:16 +02:00
Martine Lenders
4da5c8095c
gnrc: adapt for gnrc_sixlowpan_nd_border_router
2015-09-11 16:45:43 +02:00
Martine Lenders
e6c96cde53
gnrc_sixlowpan_nd_border_router: initial import
2015-09-11 16:45:38 +02:00
Martine Lenders
db56507ff9
ipv4_addr: initial import
2015-09-11 16:32:36 +02:00
Martine Lenders
e51786910d
gnrc_ndp: add PIO to router advertisements
...
The PIOs for the configured prefixes were generated, but never added to
the packet, causing some problems in the packet buffer.
Fixes #3815 (possibly)
2015-09-11 15:54:57 +02:00
Oleg Hahm
81a8d0e3b3
Merge pull request #3820 from authmillenon/shell/fix/output_sc_netif
...
shell: fix output for ifconfig
2015-09-11 15:52:12 +02:00
Cenk Gündoğan
540022d224
Merge pull request #3814 from cgundogan/pr/rpl/prefix_memset
...
rpl: use memset before using prefix
2015-09-11 14:51:37 +02:00
Oleg Hahm
5e69ec4a28
Merge pull request #3330 from authmillenon/ng_sixlowpan/doc/behavior
...
gnrc_sixlowpan: document behavior for blackbox testing
2015-09-11 14:39:40 +02:00
Martine Lenders
14ae02d768
sc_netif: piggy-back some style fixes
2015-09-11 13:14:21 +02:00
Martine Lenders
3364782614
shell: fix output for ifconfig
2015-09-11 13:13:55 +02:00
Martine Lenders
2364621eb2
gnrc_ndp: fix setting of addresses by PIO
2015-09-11 11:51:08 +02:00
Martine Lenders
a6625e86d3
gnrc_sixlowpan: document behavior for blackbox testing
2015-09-11 11:28:33 +02:00
Cenk Gündoğan
d18834a941
rpl: use memset before using prefix
2015-09-10 20:43:09 +02:00
Oleg Hahm
e064985c1b
gnrc ipv6 netif: missing flags for 6lowpan router
2015-09-10 19:38:38 +02:00
Martine Lenders
2bb3376e5e
Merge pull request #3811 from DipSwitch/ndp_option_parse
...
ndp: fix bug in option parsing of RTR_ADV and add debug support
2015-09-10 15:26:30 +02:00
Martine Lenders
94979362cc
Merge pull request #3810 from DipSwitch/ndp_fix_pi_opt
...
ndp: fix NDP PI option length validation and option processing in RTR_ADV msg
2015-09-10 15:07:10 +02:00
DipSwitch
80a4834d98
ndp: fix bug in option parsing of RTR_ADV and add debug support
2015-09-10 14:30:38 +02:00
Martine Lenders
639fd0068e
Merge pull request #3807 from OlegHahm/sixlowpan_nd_rtr_sol
...
gnrc: 6lowpan: router solicitation retransmission fixes
2015-09-10 13:54:56 +02:00
Oleg Hahm
46939f9c25
6lowpan: boundaries for rtr sol retransmissions
...
Also avoid setting the retransmission time to 0.
2015-09-10 13:16:17 +02:00
DipSwitch
d770561616
ndp: fix the NDP PI option length checking
2015-09-10 11:28:36 +02:00
Oleg Hahm
8b16f3ef06
Merge pull request #3749 from authmillenon/gnrc_sixlowpan_nd_router/feat/initial
...
gnrc_sixlowpan_nd_router: initial import of router behavior of 6LoWPAN-ND
2015-09-10 10:49:36 +02:00
Martine Lenders
40912d3d66
gnrc: adapt for gnrc_sixlowpan_nd_router
2015-09-10 02:13:45 +02:00
Martine Lenders
132f5e1b9c
gnrc_sixlowpan_nd_router: initial import
2015-09-10 02:13:44 +02:00
Oleg Hahm
b4c00d5f6e
gnrc: ndp: fix PIO address validity check
2015-09-10 01:31:32 +02:00
Oleg Hahm
5576ab7c40
gnrc: ndp: reset router solicitation counter
...
The counter should be reseted after the reception of a router advertisement.
2015-09-09 23:48:34 +02:00
Martine Lenders
84768b1747
Merge pull request #3748 from authmillenon/gnrc_sixlowpan_nd/feat/initial
...
gnrc_sixlowpan_nd: initial import of host behavior of 6LoWPAN-ND
2015-09-09 11:58:01 +02:00
Martine Lenders
ea3426eee5
gnrc: adapt for gnrc_sixlowpan_nd
2015-09-09 11:16:10 +02:00
Martine Lenders
2a1c243ad2
gnrc_sixlowpan_nd: initial import
2015-09-08 20:37:36 +02:00
Cenk Gündoğan
bad1a74b65
Merge pull request #3797 from DipSwitch/rpl_allow_instanceID_0
...
rpl: RPL Instance ID 0 must be allowed
2015-09-08 10:02:28 +02:00
DipSwitch
36d60d0c4b
rpl: Use PadN instead of 4 Pad1 options in DIS
2015-09-08 09:26:48 +02:00
DipSwitch
a3062dd8c2
rpl: RPL Instance ID 0 must be allowed
2015-09-08 09:20:20 +02:00
Oleg Hahm
3ea86c7c7a
gnrc: ipv6: netif: obey naming conventions
2015-09-07 18:32:41 +02:00
Hauke Petersen
44d4c46fc0
Merge pull request #3790 from kaspar030/fix_xtimer_usleep_until_doxygen
...
sys: xtimer: fix xtimer_usleep_until doxygen
2015-09-07 17:12:07 +02:00
Hauke Petersen
0242be0293
Merge pull request #3784 from kaspar030/workaround_shell_inline_putchar
...
sys: shell: work around inlined putchar
2015-09-07 17:10:44 +02:00
Martine Lenders
a4905b72d4
posix: consolidate include paths
2015-09-07 16:46:48 +02:00
9b07294e5b
sys: xtimer: fix xtimer_usleep_until doxygen
2015-09-07 14:23:01 +02:00
Oleg Hahm
8afecdd8a6
Merge pull request #3658 from OlegHahm/ipv6_fib
...
universal_addresses: configure sizes according to the used modules
2015-09-07 10:14:08 +02:00
Oleg Hahm
23a60e6270
universal_address: determine biggest address size
2015-09-07 09:18:30 +02:00
Oleg Hahm
7d2f414476
universal_address: make size dependent on FIB size
2015-09-07 09:18:29 +02:00
8bb6f31500
Merge pull request #2800 from kaspar030/add_driver_encx24j600
...
drivers: add driver for encx24j600 ethernet chips
2015-09-05 17:03:23 +02:00
383ada9349
sys: xtimer: always set long_target, even for short timers
2015-09-05 09:13:26 +02:00
d7b9053e23
sys: shell: work around inlined putchar
2015-09-04 19:38:16 +02:00
Hauke Petersen
7701aed546
Merge pull request #3164 from kaspar030/remove_uart0
...
sys: remove uart0
2015-09-04 18:54:30 +02:00
bd698bf574
drivers: add encx24j600 ethernet driver
2015-09-04 18:49:08 +02:00
48baf5ddcf
Merge pull request #3683 from kaspar030/add_gnrc_netdev2_support
...
sys: net: add gnrc netdev2 support
2015-09-04 18:00:18 +02:00
e17b664e3d
sys: remove chardev_thread
2015-09-04 17:46:23 +02:00
a13bc46f3e
sys: remove uart0
2015-09-04 17:46:23 +02:00
Oleg Hahm
e2639d7f83
core: use enums for panic
2015-09-04 16:14:35 +02:00
Oleg Hahm
2d231611c7
Merge pull request #3771 from OlegHahm/ipv6_netif_more_addresses_for_router
...
ipv6: netif: compute maximum addresses
2015-09-04 16:08:14 +02:00
ef972735dc
sys: net: replace dev_eth with netdev2, adapt native tap driver
2015-09-04 15:39:04 +02:00
78b4bf6f58
sys: net: gnrc: add basic netdev2 support
2015-09-04 15:39:04 +02:00
Oleg Hahm
049b9868f3
ipv6: netif: compute maximum addresses
...
RPL and ND routers need additional addresses
2015-09-04 14:52:54 +02:00