1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

2963 Commits

Author SHA1 Message Date
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
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
34092a3eba sys: net: gnrc: ndp: fix type used for NETOPT_SRC_LEN 2015-09-03 23:33:41 +02:00
Hauke Petersen
076e9db374 Merge pull request #3402 from kaspar030/simplify_shell
sys: simplify shell
2015-09-03 15:27:01 +02:00
Thomas Eichinger
fa11195e38 Merge pull request #3393 from thomaseichinger/pr/fix_osx_warnings_errors
native: fix warning error OS X
2015-09-03 14:04:45 +02:00
13995e878f sys: shell: get rid of some parameters 2015-09-03 13:33:18 +02:00
Thomas Eichinger
c5a141393c shell/netif: fix wrong type for formating 2015-09-03 11:49:57 +02:00
Thomas Eichinger
3d9b656e8a gnrc/ndp: fix warning about double parentheses 2015-09-03 11:49:57 +02:00
Thomas Eichinger
cfea6439f6 native: fix formating warnings on OS X 2015-09-03 11:49:57 +02:00
Martine Lenders
fc6896b0c7 Merge pull request #3049 from authmillenon/ng_ndp/feat/rtr-dscvry
gnrc_ndp_router: Initial import of router behavior of router discovery
2015-09-03 00:22:40 +02:00
Martine Lenders
10e571df5e gnrc: adapt for gnrc_ndp_router 2015-09-02 23:28:37 +02:00
Oleg Hahm
4fa3bb89ea Merge pull request #3744 from authmillenon/gnrc_ipv6_nc/enh/6lo-nd
gnrc_ipv6_nc: adapt neighbor cache for different ND implementations
2015-09-02 21:54:35 +02:00
Martine Lenders
abe63b3f71 gnrc_ndp_router: initial import 2015-09-02 21:42:10 +02:00
Thomas Eichinger
d9c9c87cf3 ng_netdev_eth: functions are not used 2015-09-02 17:34:47 +02:00
Martine Lenders
c367477d44 gnrc: adapt for gnrc_ndp_host 2015-09-02 17:31:10 +02:00
Martine Lenders
b033ff590b gnrc_ndp_host: initial import 2015-09-02 17:31:09 +02:00
Martine Lenders
a65804027f gnrc_ipv6_nc: adapt neighbor cache for different ND implementations 2015-09-02 14:21:40 +02:00
Oleg Hahm
df21f1b59d Merge pull request #3761 from kaspar030/fix_wired_flag_assignment
sys: net: fix GNRC_IPV6_NETIF_FLAGS_IS_WIRED assignment
2015-09-02 14:06:32 +02:00
Oleg Hahm
6786da07e2 Merge pull request #3628 from authmillenon/ng_ndp/enh/0-length-addr
gnrc_ndp: add support for address-less link-layers
2015-09-02 13:53:22 +02:00
2ddf3c7429 sys: net: fix GNRC_IPV6_NETIF_FLAGS_IS_WIRED assignment 2015-09-02 13:37:26 +02:00
Martine Lenders
522a7f92db Merge pull request #3756 from OlegHahm/ipv6_netif_doc_enhancement
gnrc: ipv6: netif: documentation update
2015-09-02 13:06:28 +02:00
Martine Lenders
df827d9c34 Merge pull request #3752 from authmillenon/gnrc_ipv6_netif/fix/wired-flag
gnrc_ipv6_netif: IS_WIRED flag collides with Home Agent flag
2015-09-02 13:00:27 +02:00
Martine Lenders
6e0a44705b sc_ipv6_nc: add capability for address-less link-layers 2015-09-02 12:51:15 +02:00
Oleg Hahm
a5b4642c0a gnrc: ipv6: netif: documentation update
Added a hint to router advertisements to the IPv6 netif flag documentation.
2015-09-02 12:28:27 +02:00
Martine Lenders
a980155250 ng_ndp: add support for address-less link-layers 2015-09-02 12:01:10 +02:00
Cenk Gündoğan
14f3a11d33 Merge pull request #3757 from OlegHahm/gnrc_slip_auto_init_rename
auto_init: rename ng_slip to gnrc_slip
2015-09-02 08:53:00 +02:00
Cenk Gündoğan
4a9d08e268 Merge pull request #3745 from authmillenon/gnrc_ipv6_netif/enh/rtr-disc-prep
gnrc_ipv6_netif: prepare for router discovery
2015-09-01 19:25:08 +02:00
Oleg Hahm
3edfb772f3 auto_init: rename ng_slip to gnrc_slip 2015-09-01 19:11:30 +02:00
Martine Lenders
b81a4dd695 gnrc_ipv6_netif: prepare for router discovery 2015-09-01 18:50:40 +02:00
daniel-k
6f705a5189 at86rf2xx: implement CSMA settings 2015-09-01 18:45:47 +02:00
Martine Lenders
41e86bfc20 gnrc_ipv6_netif: reassign IS_WIRED flag 2015-09-01 12:49:24 +02:00
Oleg Hahm
eac7f3e3ce Merge pull request #3697 from OlegHahm/netopt_wireless_ro
gnrc: link-type flag
2015-09-01 11:54:48 +02:00
Oleg Hahm
7b967a1e75 shell: show link-type for IPv6 interfaces 2015-09-01 11:32:16 +02:00
Oleg Hahm
61a61c35b1 gnrc netif: add link-type indicator for IPv6 IFs 2015-09-01 11:32:16 +02:00
Oleg Hahm
4dbd491097 netopt: introduced link type (wired or wireless) 2015-09-01 11:32:16 +02:00
Oleg Hahm
b514eeab04 Merge pull request #3706 from OlegHahm/fib_size_parameter
fib: add size parameter
2015-09-01 11:28:55 +02:00
Oleg Hahm
751c7438dc fib: use memset for (de)initialization 2015-09-01 11:10:00 +02:00
Oleg Hahm
86cabbd102 fib: add data struct for meta information
In order to properly make use of different FIB tables, handling of different sizes is required. The fib_table_t provides a pointer to the array of entries and its size.
2015-09-01 11:09:10 +02:00
Lotte Steenbrink
9cfd2c5200 shell.h: fix tiny typo in documentation 2015-08-31 17:09:39 -07:00
Martine Lenders
170fa70d9e Merge pull request #3708 from authmillenon/gnrc/fix/i3707
gnrc(_udp|_ipv6): write protect preceding headers and hand actually hand them over on send
2015-08-31 22:07:37 +02:00
Martine Lenders
82924c6dd6 gnrc_ndp: adapt for API change in gnrc_ndp_internal 2015-08-31 18:03:12 +02:00
Martine Lenders
a913c01e99 gnrc_ndp_internal: add capability to add external options to NAs 2015-08-31 18:03:12 +02:00
Martine Lenders
27148ed0b3 Merge pull request #3734 from authmillenon/sixlowpan/api/6lo-nd-types
sixlowpan: initial import of 6LoWPAN-ND submodule
2015-08-31 15:35:41 +02:00
Martine Lenders
2fd1d9dc91 sixlowpan: initial import of 6LoWPAN-ND submodule 2015-08-31 15:18:42 +02:00
Martine Lenders
ef1a8ac483 ndp: update for 6LoWPAN-ND option types 2015-08-31 15:18:42 +02:00
Martine Lenders
d731d24d3a gnrc_ndp_node: put next_hop_actual in correct scope
In the if-block the pointer gets free'd as soon as the if-block is
exited. This PR prevents that.
2015-08-31 13:19:45 +02:00
René Kijewski
5ef0f8d1ff Merge pull request #3717 from authmillenon/doc/fix/net
doc: add net to sys group
2015-08-30 15:24:01 +02:00
Martine Lenders
8708c32f0a doc: add net to sys group 2015-08-30 14:00:33 +02:00
Cenk Gündoğan
eff4653d44 rpl: options validity check 2015-08-29 10:13:39 +02:00
Cenk Gündoğan
ec3274994f rpl: dio validity check 2015-08-29 10:13:39 +02:00
Cenk Gündoğan
6738fd67ba rpl: dis validity check 2015-08-29 10:13:39 +02:00
Cenk Gündoğan
b96e6b508a rpl: dao-ack validity check 2015-08-29 10:13:39 +02:00
Cenk Gündoğan
8bbcb3ba51 rpl: dao validity check 2015-08-29 10:13:39 +02:00
Cenk Gündoğan
050671c235 Merge pull request #3687 from cgundogan/pr/rpl/poisoning_cleanup_timer
rpl: reduce poisoning timer to clean dodags faster
2015-08-29 10:00:57 +02:00
Martine Lenders
5863dd908e Merge pull request #3740 from authmillenon/gnrc_ipv6/doc/dispatch_rcv
gnrc_ipv6: add comment why calling *netapi_dispatch_receive is impossible
2015-08-29 09:34:20 +02:00
Cenk Gündoğan
2584bc1adf Merge pull request #3679 from cgundogan/pr/rpl/trickle_reset_infinite_dio
rpl: reset trickle if INFINITE_RANK DIO from child recvd
2015-08-29 09:31:18 +02:00
Martine Lenders
0c6e6b7ba4 gnrc_ipv6: add comment why *netapi_dispatch_receive is not possible 2015-08-29 09:23:51 +02:00
Martine Lenders
e58cbecc7d Merge pull request #3738 from cgundogan/pr/netapi/gnrc_netapi_dispatch
gnrc_netapi: generic dispatch
2015-08-28 16:10:32 +02:00
Cenk Gündoğan
7d2129ea56 gnrc_netapi: generic dispatch 2015-08-28 15:44:22 +02:00
Martine Lenders
36389281de icmpv6: update for 6LoWPAN-ND message types 2015-08-27 23:37:58 +02:00
Cenk Gündoğan
b8c0498fb4 rpl: allow 0 as instance id 2015-08-27 14:38:08 +02:00
Cenk Gündoğan
02071ca826 rpl: reset trickle if INFINITE_RANK DIO from child recvd 2015-08-27 08:49:38 +02:00
Cenk Gündoğan
dce62132f6 rpl: reduce poisoning timer to clean dodags faster 2015-08-27 08:12:50 +02:00
BytesGalore
b16b8a9609 Merge pull request #3718 from cgundogan/pr/rpl/make_funcs_global
rpl: make _root_dodag_init and _gnrc_rpl_send global functions
2015-08-26 22:25:23 +02:00
BytesGalore
ebd18f4903 Merge pull request #3678 from cgundogan/pr/rpl/parse_opt_from_pref_parent
rpl: parse DIO and options only for DIOs from pref. parent
2015-08-26 22:22:00 +02:00
Cenk Gündoğan
d57e603b9f rpl: make _root_dodag_init and _gnrc_rpl_send global 2015-08-26 22:09:58 +02:00
Oleg Hahm
4a8e897c0e doc: minor fixing for crypto module
Moves the crypto module documentation to the right group and streamline the doxygen keywords.
2015-08-26 10:42:50 +02:00
Martine Lenders
293c5322de Merge pull request #3137 from authmillenon/slip/fix/some-fixes
gnrc_slip: Fixes
2015-08-25 22:19:37 +02:00
René Kijewski
2e3a636b7e embUnit: simplify strcmp() implementation
The logic of `stdimpl_strcmp()` was needlessly complicated and not
understood by scan-build. This change fixes the warning and makes the
code more readable.

Found via scan-build.
2015-08-25 21:17:40 +02:00
René Kijewski
80fe12e483 ubjson: initialize variable in error case too
For an invalid input `ubjson_get_i32()` did not return a proper error
code. Because of that `_ubjson_read_length()` could have operated on
uninitialized data.

Found via scan-build.
2015-08-25 21:17:30 +02:00
bd40b2c56b Merge pull request #3661 from authmillenon/auto_init/api/auto_init_gnrc_netif
sys: auto_init: rename auto_init_ng_netif to auto_init_gnrc_netif
2015-08-25 21:17:19 +02:00
Martine Lenders
8609678bcd ng_slip: port to ng_netapi_dispatch_receive() 2015-08-25 20:40:52 +02:00
Martine Lenders
b66ada2ae7 ng_slip: fix auto initialization 2015-08-25 20:40:52 +02:00
Martine Lenders
b47c4af50b ng_slip: fix some bugs 2015-08-25 20:40:51 +02:00
6d1aab7126 Merge pull request #2926 from kaspar030/wtimer
sys: add new timer subsystem
2015-08-25 19:20:07 +02:00
Andreas "Paul" Pauli
8855f593e2 Merge pull request #3676 from authmillenon/doc/fix/net
doc: fix and update net and net_gnrc documentation
2015-08-25 18:48:01 +02:00
Martine Lenders
f81f43ea38 gnrc_udp: fix #3707 2015-08-25 18:12:59 +02:00
Martine Lenders
8a07f8c548 gnrc_ipv6: fix #3707 2015-08-25 17:48:17 +02:00
808a8bc899 sys: xtimer: introduce new timer subsystem 2015-08-25 13:20:35 +02:00
02bc3ffb79 sys: timex: add "U" specifiers to constant definitions 2015-08-25 13:18:16 +02:00
Martine Lenders
882080460a Merge pull request #3660 from authmillenon/af/api/initial
af: initial import of global AF_ definition header
2015-08-25 09:14:44 +02:00
Martine Lenders
ac0e2f4371 net: remove redefinitions and their dependencies throughout the stack 2015-08-24 13:13:53 +02:00
Martine Lenders
ecb2bb5c2b af: initial import of global AF_ definition header 2015-08-24 13:13:52 +02:00
Martine Lenders
4cc2742a1a gnrc_ipv6: make IPv6 dependencies optional 2015-08-24 00:45:07 +02:00
Cenk Gündoğan
b604c99155 rpl: rename defines from NG_ to GNRC_ 2015-08-23 18:29:16 +02:00
Martine Lenders
4f68b81361 doc: expand nettype doc + simplify @brief 2015-08-22 14:27:00 +02:00
Martine Lenders
2cbeab4521 doc: fix and update net and net_gnrc documentation 2015-08-22 14:27:00 +02:00
Martine Lenders
a3dfd908f5 Merge pull request #3685 from OlegHahm/dont_forward_ll
gnrc_ipv6: do not forward link-local packets
2015-08-22 00:02:08 +02:00
Martine Lenders
c1e24d449e Merge pull request #3584 from cgundogan/pr/seqno
sys: Serial Number Arithmetic (RFC1982)
2015-08-21 23:55:08 +02:00
Oleg Hahm
0c14734a02 gnrc_ipv6: do not forward link-local packets 2015-08-21 23:46:43 +02:00
Oleg Hahm
8977cc1175 Merge pull request #3675 from authmillenon/gnrc_ipv6/fix/check-mtu
gnrc_ipv6: check link MTU before sending
2015-08-21 23:45:52 +02:00
Cenk Gündoğan
fce30a1d6c sys/seq: Serial Number Arithmetic 2015-08-21 23:30:04 +02:00
Cenk Gündoğan
04a8c159d1 Merge pull request #3674 from authmillenon/gnrc_sixlowpan/fix/max-datagram-size
gnrc_sixlowpan: don't send packets that exceed maximum datagram size
2015-08-21 23:08:53 +02:00
Martine Lenders
52c57be621 gnrc_sixlowpan: don't send packets that exceed maximum datagram size 2015-08-21 22:51:54 +02:00
Martine Lenders
e5b03dfddd netdev_eth: return payload length instead of frame length 2015-08-21 19:05:54 +02:00
Martine Lenders
942d774a44 shell: ifconfig: add support for IPv6 MTU 2015-08-21 19:05:53 +02:00
Martine Lenders
d88ae14d90 gnrc_ipv6: check link MTU before sending 2015-08-21 19:05:53 +02:00
Martine Lenders
f1864fd2b6 gnrc_ipv6_netif: initialize MTU from device, if possible 2015-08-21 19:05:52 +02:00
Oleg Hahm
79ac710ee5 Merge pull request #3677 from cgundogan/pr/rpl/cleanup
rpl: minor cleanup
2015-08-21 14:59:36 +02:00
Cenk Gündoğan
5ee36c6ac4 rpl: minor code cleanup 2015-08-21 13:54:39 +02:00
Cenk Gündoğan
baa57a6fc9 rpl: parse DIO and options only from pref. parent 2015-08-21 13:17:07 +02:00
d18cb7a9c3 sys: add netopt to string map function and netopt module 2015-08-21 11:03:56 +02:00
Oleg Hahm
155b91bd06 Merge pull request #3655 from OlegHahm/fib_multiple_instances
fib: allow for multiple instances of FIB
2015-08-20 16:39:13 +02:00
Oleg Hahm
1f7da4e436 Merge pull request #3659 from cgundogan/pr/rpl/dao_global_instance
rpl: omit dodag id in DAO(-ACK) for global instances
2015-08-20 15:54:51 +02:00
Oleg Hahm
4267212502 fib: allow for multiple instances of FIB 2015-08-20 15:47:27 +02:00
Oleg Hahm
bf00a19998 Merge pull request #3670 from cgundogan/pr/universal_address/docfix
universal_address: minor dox fixes
2015-08-20 14:48:56 +02:00
Cenk Gündoğan
5322205d34 universal_address: minor doc fixes 2015-08-20 13:59:43 +02:00
Martine Lenders
ab9d57dec5 gnrc_sixlowpan_iphc: set correct length for IPv6 header 2015-08-20 12:35:44 +02:00
Cenk Gündoğan
2ae99d9073 rpl: remove superfluous ifdef MODULE_IPV6_ADDR 2015-08-20 08:41:10 +02:00
Cenk Gündoğan
0894343092 rpl: omit dodag id in DAO(-ACK) for global instances 2015-08-20 08:41:10 +02:00
Martine Lenders
d438984ae5 Merge pull request #3669 from cgundogan/pr/gnrc/ipv6/remove_padding
gnrc_ipv6.c: remove padding added by lower layers
2015-08-20 08:35:03 +02:00
Cenk Gündoğan
29ccba3e2f gnrc_ipv6.c: remove padding added by lower layers 2015-08-20 00:10:37 +02:00
Joakim Gebart
56b0beeebe Merge pull request #3107 from gebart/pr/cppsupport
c++: Define some support functions required by GCC
2015-08-19 21:49:24 +02:00
Martine Lenders
6dc125e08b gnrc_sixlowpan: compare with actual packet size for fragmentation
Not with the uncompressed version
2015-08-19 17:51:54 +02:00
Martine Lenders
c2706ef492 auto_init: rename auto_init_ng_netif to auto_init_gnrc_netif 2015-08-19 17:21:28 +02:00
Martine Lenders
4d3c55f42b ng_slip: fix DEBUG output 2015-08-19 00:07:55 +02:00
Oleg Hahm
4d00996521 Merge pull request #3645 from authmillenon/gnrc/api/master-mv
gnrc: make all gnrc modules sub-modules of gnrc
2015-08-18 23:38:00 +02:00
Martine Lenders
58ff31bfe9 gnrc: make all gnrc modules sub-modules of gnrc 2015-08-18 23:00:07 +02:00
Martine Lenders
3ab2907a6e Merge pull request #3656 from authmillenon/ipv6_addr/doc/fix
ipv6_addr: adapt doc to proposed changes in #3608
2015-08-18 22:36:23 +02:00
Martine Lenders
6b22e15a54 Merge pull request #3657 from cgundogan/pr/rpl/doc_verbose
rpl: make urls in doc more verbose
2015-08-18 20:23:44 +02:00
Martine Lenders
cb63a4e221 Merge pull request #3489 from cgundogan/ng_rpl_prefix_info
ng_rpl: auto address configuration
2015-08-18 20:23:21 +02:00
Martine Lenders
70d40f17b0 Merge pull request #3653 from authmillenon/gnrc_rpl/fix/deps
gnrc_rpl: fix dependencies
2015-08-18 20:22:30 +02:00
Martine Lenders
d0f530da8e Merge pull request #3602 from authmillenon/ndp/api/take-out-msg-types
ndp: move type definitions out of ng_ context
2015-08-18 20:22:08 +02:00
Cenk Gündoğan
28dbd1f9fa rpl: make urls in doc more verbose 2015-08-18 19:07:15 +02:00
Martine Lenders
618a765bdc ndp: move type definitions out of ng_ context 2015-08-18 19:01:29 +02:00
Cenk Gündoğan
94b8d69dd9 ng_rpl: auto address configuration 2015-08-18 19:00:01 +02:00
Martine Lenders
4283b1515d gnrc_rpl: fix dependencies
The dependency conditional for RPL was at the very end of
`Makefile.dep`, giving depending modules no chance to pull in their
dependencies.

Also it pulled in the deprecated module `net_help`, though it did not
use any of it's functions (it just included `inet_pton.h` for `AF_INET6`).
2015-08-18 18:59:02 +02:00
Martine Lenders
391522e1a8 ipv6_addr: adapt doc to proposed changes in #3608 2015-08-18 18:54:26 +02:00
Oleg Hahm
e5d5c37362 Merge pull request #3654 from OlegHahm/rpl_scan_findings
RPL: clang analyzer findings
2015-08-18 18:53:36 +02:00
Oleg Hahm
147bf75d5b Merge pull request #3599 from authmillenon/icmpv6/api/take-hdrs-out
icmpv6: put message definitions in their own files
2015-08-18 18:17:28 +02:00
Oleg Hahm
687cc6e175 rpl: removed superfluous assignment 2015-08-18 17:53:29 +02:00
Oleg Hahm
2e1b90f107 rpl: added assertions for null pointer checks 2015-08-18 17:53:11 +02:00
Martine Lenders
89009ae2f1 icmpv6: put message definitions in their own files 2015-08-18 17:30:23 +02:00
Martine Lenders
93031c9b60 sixlowpan: move non-GNRC stuff to its own module 2015-08-18 17:03:47 +02:00
Martine Lenders
87c222d2fa Merge pull request #3595 from authmillenon/gnrc/api/mv
gnrc: rename ng_netbase to gnrc
2015-08-18 16:59:34 +02:00
Oleg Hahm
e3edf34527 Merge pull request #3050 from cgundogan/ng_rpl_fib
ng_rpl: port to the new network stack
2015-08-18 16:48:29 +02:00
Martine Lenders
b969eeb217 gnrc: rename ng_netbase to gnrc 2015-08-18 16:11:55 +02:00