Oleg Hahm
dae4253618
Merge pull request #4519 from OlegHahm/fib_remove_superfluous_things
...
FIB: remove superfluous things
2016-01-27 16:12:08 +01:00
Martine Lenders
94bbd055a5
Merge pull request #4640 from cgundogan/pr/random/initval
...
sc_random: use a default seed if no xtimer is present
2016-01-27 02:20:11 +01:00
Oleg Hahm
a1ece30c55
fib: remove superfluous parameter
2016-01-26 23:52:18 +01:00
Cenk Gündoğan
d2555af269
sc_random.c: use a default seed if no xtimer is present
2016-01-26 23:28:18 +01:00
Martine Lenders
5ddcf09627
gnrc_ipv6_netif: don't advertise routers without GUAs
2016-01-26 23:25:07 +01:00
Martine Lenders
131cae626c
Merge pull request #3362 from authmillenon/ng_neterr/feat/initial
...
[RFC] gnrc: initial import of an asynchronous error reporting API
2016-01-26 21:35:30 +01:00
Cenk Gündoğan
617796241e
Merge pull request #4295 from authmillenon/gnrc_ipv6_nc/enh/l2addr-lookup
...
gnrc_ipv6_nc: introduce L2 address lookup function
2016-01-26 19:30:01 +01:00
Martine Lenders
d38a9db966
Merge pull request #4551 from authmillenon/sema/fix/post
...
sema: some API fixes
2016-01-26 19:12:41 +01:00
Oleg Hahm
a822271d09
Merge pull request #4374 from authmillenon/sema/fix/timer-pre-set
...
sema: pre-set timeout-timer for sema_wait_timed_msg()
2016-01-26 19:05:12 +01:00
Peter Kietzmann
4d7c068e0d
Merge pull request #4267 from authmillenon/gnrc_pktbuf_static/enh/max_byte_counter
...
gnrc_pktbuf_static: add stat variable for maximum packet buffer byte
2016-01-26 18:45:49 +01:00
Oleg Hahm
3d494c8bf9
Merge pull request #3184 from authmillenon/ng_icmpv6_error/feat/init
...
gnrc_icmpv6_error: initial import
2016-01-26 18:23:54 +01:00
Martine Lenders
a23b9c3310
Merge pull request #4652 from Lotterleben/conn_documentation
...
conn: add more detailed documentation (WIP)
2016-01-26 18:09:36 +01:00
Lotte Steenbrink
be72f2c1cf
conn: add more detailed documentation
2016-01-26 16:54:29 -08:00
Hauke Petersen
bc0a589886
Merge pull request #4680 from authmillenon/od/fix/nano-specs
...
od: fix for nano-specs
2016-01-26 18:09:17 +01:00
test
8d1f91f128
ndp: check for A flag in received PIO
2016-01-26 14:34:48 +01:00
Martine Lenders
da5abe1bcd
gnrc_sixlowpan_nd: use gnrc_ipv6_nc_get_l2_addr()
2016-01-26 10:19:16 +01:00
Martine Lenders
0b787b9e02
gnrc_ndp_node: use gnrc_ipv6_nc_get_l2_addr()
2016-01-26 10:19:16 +01:00
Martine Lenders
0e0eef1273
gnrc_ipv6: use gnrc_ipv6_nc_get_l2_addr()
2016-01-26 10:19:15 +01:00
Martine Lenders
7b21f95df5
gnrc_ipv6_nc: introduce L2 address lookup function
2016-01-26 10:19:15 +01:00
Cenk Gündoğan
c8839b71d8
Merge pull request #4661 from Yonezawa-T2/rpl_propagete_prefix_route
...
gnrc_rpl_control_messages: propagete prefix route via DAO message
2016-01-25 15:51:52 +01:00
Martine Lenders
f99e9e0161
od: piggy-back style fixes
2016-01-24 23:51:41 +01:00
Martine Lenders
2173a33eab
od: fix for nano-specs
2016-01-24 23:46:38 +01:00
Martine Lenders
da23ffe096
gnrc: initial import of an asynchroneous error reporting API
2016-01-23 16:42:19 +01:00
Martine Lenders
4d877c7bf7
gnrc_pktbuf_static: add stat variable for maximum packet buffer byte
2016-01-23 16:41:01 +01:00
Martine Lenders
96075ed2c1
sema: introduce static initializer
2016-01-23 16:38:56 +01:00
Martine Lenders
d5af07c759
sema: style fixes
2016-01-23 16:38:56 +01:00
Martine Lenders
632c9a2bd0
sema: harmonize sema_post return with rest of API
2016-01-23 16:38:55 +01:00
Martine Lenders
47a2df7423
sema: piggy-back some style fixes
2016-01-23 16:35:21 +01:00
Martine Lenders
1dc388fea0
sema: pre-set timeout-timer for sema_wait_timed_msg()
2016-01-23 16:35:21 +01:00
Martine Lenders
70c3d29036
gnrc_icmpv6_error: initial import
2016-01-23 16:04:05 +01:00
Oleg Hahm
e772ef5c39
shell: netif: initialize local variable
2016-01-21 15:00:59 +01:00
Yonezawa-T2
eaf2153681
gnrc_rpl_control_messages: propagete prefix route via DAO message
2016-01-21 11:11:38 +09:00
Thomas Eichinger
d60bfc0ae2
Merge pull request #4574 from haukepetersen/opt_stdiodefs
...
boards: use default values for STDIO defines
2016-01-20 11:48:46 +01:00
Cenk Gündoğan
40f5aeba8a
Merge pull request #4414 from cgundogan/pr/rpl/fix_netapi_commands_handling
...
rpl: fix netapi commands handling
2016-01-13 09:09:33 +01:00
Yonezawa-T2
b37d6337bf
shell: fixed ncache arguments parsing
2016-01-13 10:02:36 +09:00
Cenk Gündoğan
7269cdbf03
rpl: fix netapi commands handling
2016-01-11 18:30:29 +01:00
Oleg Hahm
08ada181b3
Merge pull request #4588 from OlegHahm/posix_socket_sa_family_type
...
posix socket: align size of sa_family_t with Linux
2016-01-08 15:12:52 +01:00
Johann Fischer
2f94d669d7
gnrc_pktbuf_static.c: fix overflow in gnrc_pktbuf_realloc_data
...
This patch fixes overflow, which is caused by
(pkt->size - aligned_size). This happens if pkt->size and
new size are unaligned and the difference
between pkt->size and new size is less than four.
2016-01-07 15:17:52 +01:00
Oleg Hahm
35074a6ad1
posix socket: align size of sa_family_t with Linux
...
Linux defines `sa_family_t` as `unsigned short int`. In order to be compatible with Linux code, RIOT should define it the same way.
2016-01-07 11:12:35 +01:00
Martine Lenders
94e4a08f45
Merge pull request #4447 from Yonezawa-T2/fix_gnrc_bugs
...
fixes several bugs on GNRC network stack
2016-01-07 03:38:11 +01:00
Yonezawa-T2
cf35763584
fib: add debug outputs
2016-01-07 10:12:46 +09:00
Yonezawa-T2
c9c83c7dc7
nc: cancel timer set by gnrc_ndp_rtr_sol_handle
in gnrc_ipv6_nc_remove
.
2016-01-07 10:12:46 +09:00
Yonezawa-T2
542e045bba
gnrc_ipv6_netif: fixed crash when ENABLE_DEBUG is 1.
...
When ENABLE_DEBUG is 1, `out` is dereferenced unconditionally, but
`_parse_options` in `gnrc_rpl_control_messages.c` calls it with NULL.
Clarified `out` must not NULL and fixed `_parse_options`.
2016-01-07 10:08:37 +09:00
Yonezawa-T2
5cb904b57e
gnrc_sixlowpan_nd: fixed crash on gnrc_sixlowpan_nd_next_hop_l2addr.
...
When `gnrc_ndp_node_next_hop_l2addr` cannot resolve L2 address, it creates a
temporary neighbor cache entry with interface `KERNEL_PID_UNDEF` (unless the
interface is already known) to send a neighbor solicitation. When another packet
directed to the same address is going to sent before receiving a neighbor
advertisement, `gnrc_sixlowpan_nd_next_hop_l2addr` gets the temporary neighbor
cache entry and calls `gnrc_ipv6_netif_get` with `KERNEL_PID_UNDEF`, resulting
get a `NULL`. We must check `NULL` before dereference it.
FYI, both `gnrc_ndp_node_next_hop_l2addr` and
`gnrc_sixlowpan_nd_next_hop_l2addr` are enabled when
`gnrc_sixlowpan_border_router_default` module is enabled with `GNRC_NETIF_NUMOF`
is greater than 1:
gnrc_sixlowpan_border_router_default
→ gnrc_ipv6_router_default
→ gnrc_ndp_router (if GNRC_NETIF_NUMOF > 1)
→ gnrc_ndp_node
→ gnrc_ndp_node_next_hop_l2addr is called from _next_hop_l2addr
gnrc_sixlowpan_border_router_default
→ gnrc_sixlowpan_nd_border_router
→ gnrc_sixlowpan_nd_router
→ gnrc_sixlowpan_nd
→ gnrc_sixlowpan_nd_next_hop_l2addr is called from _next_hop_l2addr
2016-01-07 10:02:49 +09:00
Martine Lenders
86bf9ae4c4
Merge pull request #4584 from BytesGalore/quickfix_default_route_shell
...
shell fib: recognize the default route as net prefix
2016-01-06 15:33:44 +01:00
BytesGalore
b8ba3f589f
shell fib: recognize the default route as net prefix
2016-01-06 15:51:44 +01:00
Cenk Gündoğan
c7dec59241
Merge pull request #4580 from authmillenon/shell/fix/nano
...
shell: commands: fix selective outputs for nano specs
2016-01-06 14:23:27 +01:00
Martine Lenders
a4a8e83ac7
Merge pull request #4446 from Yonezawa-T2/neighbor_discovery_option_for_6lowpan
...
gnrc_ndp: fixed ND Option handling for 6LoWPAN
2016-01-06 14:03:43 +01:00
Yonezawa-T2
639f7dc020
gnrc_ndp: fixed ND Option handling for 6LoWPAN
...
The forms of the Source/Target Link-layer Address option for 6LoWPAN are defined
in RFC 4944 Section 8:
https://tools.ietf.org/html/rfc4944#section-8
The address is 16 bit if length is 1, 64 bit if length is 2.
2016-01-06 09:38:47 +09:00
Martine Lenders
950b80cce7
shell: commands: fix nano specs issues for ifconfig command
2016-01-05 23:17:07 +01:00