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

2082 Commits

Author SHA1 Message Date
Martine Lenders
dcfa2681d6 ng_ipv6_ext: initial import of extension header handling 2015-05-17 21:46:56 +02:00
8e1370b7bc sys: auto_init: only auto init network interfaces when module is actually selected 2015-05-17 21:23:10 +02:00
Oleg Hahm
8658a346bd ng_ieee802154: add data type for EUI-64 2015-05-17 21:06:48 +02:00
a89b382297 drivers: xbee: adapt to new auto_init_ng_netif scheme 2015-05-17 21:02:00 +02:00
3c00ff0c9b drivers: adapt ng_at86rf2xx to new auto_init_ng_netif scheme 2015-05-17 21:02:00 +02:00
e655137d72 sys: auto_init: introduce new auto initialization scheme for network interfaces 2015-05-17 21:02:00 +02:00
Martine Lenders
4f1d7adfc6 Merge pull request #2910 from authmillenon/ng_ndp/feat/addr-res
ng_ndp: initial import of address resolution
2015-05-17 10:45:12 +02:00
Martine Lenders
db33a1047e shell: add examplery ng_ipv6_nc_still_reachable() 2015-05-17 09:15:03 +02:00
Martine Lenders
ee11a2ae56 ng_ndp: initial import of the address resolution 2015-05-17 09:15:03 +02:00
Martine Lenders
c35a869a90 Merge pull request #3002 from authmillenon/ng_icmpv6_echo/fix/set-id
ng_icmpv6_echo: fix setting of ID field
2015-05-17 02:47:17 +02:00
Martine Lenders
ad001abbe7 Merge pull request #2909 from authmillenon/ipv6_netif/enh/opt
ipv6_netif: prepare for NDP
2015-05-16 21:50:49 +02:00
Oleg Hahm
aec03a11ee Merge pull request #2995 from jfischer-phytec-iot/fix@ip-rm-addr-of-op
sys/net/network_layer/sixlowpan/ip.c: remove unnecessary address-of-operator
2015-05-16 19:50:23 +02:00
Oleg Hahm
5ad4b1f915 Merge pull request #2996 from jfischer-phytec-iot/fix@icmp-prefix-l-param
sys/.../icmp.c: fix wrong ndp_add_prefix_info parameter
2015-05-16 19:50:07 +02:00
Oleg Hahm
be707befbc Merge pull request #2997 from jfischer-phytec-iot/fix@icmp-prefix-search
sys/.../icmp.c: fix prefix search
2015-05-16 19:42:39 +02:00
Martine Lenders
5f1d6f4f43 Merge pull request #2999 from jfischer-phytec-iot/fix@ip-get-best-src-addr
sys/.../ip.c: fix ipv6_net_if_get_best_src_addr
2015-05-16 19:30:05 +02:00
Martine Lenders
e032cda53d Merge pull request #2998 from authmillenon/ng_icmpv6/fix/preset-csum-field
ng_icmpv6: pre-set checksum field to 0 for sending
2015-05-16 19:22:29 +02:00
Martine Lenders
d8285cd3d2 ng_icmpv6_echo: fix setting of ID field 2015-05-16 18:35:48 +02:00
Martine Lenders
9899153fb4 ipv6_netif: piggy-back fix for DEBUG messages 2015-05-16 15:04:56 +02:00
Martine Lenders
5e9a4acd29 shell: adapt sc_netif 2015-05-16 15:03:17 +02:00
Martine Lenders
70d7fae538 ipv6_netif: prepare for NDP 2015-05-16 15:03:16 +02:00
Ludwig Ortmann
6d0a8b222b sys/compat/hwtimer: fix unused fcpu warning 2015-05-16 14:17:14 +02:00
Martine Lenders
87cf93668c ng_icmpv6: pre-set checksum field to 0 for sending 2015-05-16 12:57:43 +02:00
Johann Fischer
7087bdcb50 sys/.../ip.c: fix ipv6_net_if_get_best_src_addr
This patch fixes ipv6_net_if_get_best_src_addr,
the function seems not to be finished.
The patch also adds a filter for the prefixes,
it is necessary because the prefixes are stored
in the same list as the addresses.
2015-05-16 12:33:30 +02:00
Johann Fischer
41cc10520d sys/.../icmp.c: fix prefix search
Replace equal operator inside ndp_prefix_info_search by not equal.
Otherwise, the existing prefix can not be found.
2015-05-16 12:25:43 +02:00
Johann Fischer
b20a7b0a27 sys/.../icmp.c: fix wrong ndp_add_prefix_info parameter
Inside the function recv_rtr_adv, ndp_add_prefix_info was called
with the wrong parameter.
2015-05-16 11:35:28 +02:00
Johann Fischer
fd72aaa9ac sys/net/network_layer/sixlowpan/ip.c: remove unnecessary address-of-operator 2015-05-16 11:06:46 +02:00
Cenk Gündoğan
cf86479e31 ng_ipv6/netif: fix debug in _add_addr_to_entry() 2015-05-16 08:31:57 +02:00
Martine Lenders
2f9054cb70 ng_nettype: adapt for new ethertype 2015-05-15 22:17:02 +02:00
Martine Lenders
02b31292df ng_ethertype: add unknown ethertype
Wireshark uses `0x0000` to disect a protocol. This PR introduces
`NG_ETHERTYPE_UNKNOWN` == `0xffff` so we can use it experimentally
(since it is not disected by Wireshark).
2015-05-15 22:14:14 +02:00
Martine Lenders
0df6729c35 ng_ipv6: fix for API change in #2908 2015-05-15 20:18:38 +02:00
Lotte Steenbrink
e4dfd06c6d fib: rename register function in fib.c too 2015-05-14 18:51:56 -07:00
Martine Lenders
51be1104fc Merge pull request #2979 from Lotterleben/ndp_nc_duplicate_fix
ipv6_nc: no more duplicates if empty entries are found before
2015-05-15 13:22:33 +02:00
Lotte Steenbrink
09a67e050d ipv6_nc: no more duplicates if empty entries are found before 2015-05-14 08:27:15 -07:00
Oleg Hahm
9c72f69de1 Merge pull request #2902 from authmillenon/ng_ipv6/enh/6in6
ng_ipv6: add 6in6 encapsulation support
2015-05-14 15:37:22 +02:00
Oleg Hahm
4d64b98f2c Merge pull request #2756 from jremmert-phytec-iot/pr@ng_kw2xrf
driver/kw2xrf: added ng_netdev implementation for the Freescale kw2x radio
2015-05-14 12:51:00 +02:00
Lotte Steenbrink
6a0a2e8bd6 Merge pull request #2915 from BytesGalore/fib_register_rrp_with_prefix
net/network_layer/fib: added prefix consideration for RRP registration/signaling
2015-05-14 12:01:59 +02:00
Lotte Steenbrink
e32b1cca16 Merge pull request #2975 from authmillenon/ipv6_nc/enh/opt2
ipv6_nc: Make interface optional
2015-05-14 09:21:54 +02:00
Martine Lenders
343bec5593 ipv6_nc: Make interface optional 2015-05-14 04:21:41 +02:00
Oleg Hahm
46a3e8ac83 Merge pull request #2977 from gebart/pr/auto-init-eui64-no-memcpy
sys/net: do not use memcpy for single uint32_t copy
2015-05-13 20:29:28 +02:00
BytesGalore
85bf1c2ade net/network_layer/fib: added prefix consideration for RRP registration/signaling 2015-05-13 20:08:11 +02:00
Oleg Hahm
05f47b2a81 Merge pull request #2974 from sgso/fix_unspecified_src_addr_in_ng_ipv6
ng_ipv6: set default values for src and dst in ng_ipv6_hdr_build()
2015-05-13 19:02:44 +02:00
Jonas
3287e71d45 Initial import of tests for kw2x radio
squash: driver: fixed typo to pass doccheck

squash: driver: bug fixes after test

squash: adapted Makefiles for correct build behaviour

restructured, no spi interaction in isr anymore

major bugfixes and restructurization

comments addressed

introduce new netconf option, ..AUTOCCA

squash: minor bugfix and add auto-init mechanism

squash: minor fixes to make travis happy
2015-05-13 13:06:59 +02:00
Martine Lenders
d1c2f7f72b Merge pull request #2908 from authmillenon/ipv6_nc/enh/opt
ipv6_nc: prepare for NDP
2015-05-13 11:05:39 +02:00
Joakim Gebart
f8204d79d0 sys/net: do not use memcpy for single uint32_t copy
Saves two unnecessary function calls.
2015-05-13 09:52:36 +02:00
Sebastian Sontberg
c0ec7eb892 ng_ipv6: set default values for src and dst in ng_ipv6_hdr_build()
Later in the handling of IPv6 headers, the source address is only
automatically chosen and filled into the header if the unspecified
address is found in the src field, but it's never set to that value.

The default destination address is set to '::1'.
2015-05-13 00:51:25 +02:00
Martine Lenders
396b913f3d shell: adapt ipv6_nc shell commands 2015-05-12 20:06:09 +02:00
Martine Lenders
3e3f7bdf3c ipv6_nc: simplify API usage for NDP
* Bonus: simplify DEBUG output.
2015-05-12 20:06:09 +02:00
Martine Lenders
87e5f3acaa Merge pull request #2964 from authmillenon/icmpv6/enh/listed-payload
icmpv6: add ability to add listed payload in ng_icmpv6_build
2015-05-12 20:01:30 +02:00
Martine Lenders
dd1b4ec5a7 ng_ipv6: add 6in6 encapsulation support 2015-05-12 19:19:21 +02:00
Martine Lenders
11e5fb3c9e Merge pull request #2728 from authmillenon/ipv6_netif/enh/auto-link-local
ipv6_netif: auto-add corresponding link-local addresses
2015-05-12 19:08:14 +02:00
daniel-k
ca772815ed net/ng_netreg: fix wrong documentation for ng_netreg_register() 2015-05-11 17:26:45 +02:00
Martine Lenders
ed6764f33b icmpv6: add ability to add listed payload in ng_icmpv6_build 2015-05-11 01:27:12 +02:00
Lotte Steenbrink
d743972891 Merge pull request #2960 from authmillenon/shell/fix/ncache-output
shell: fix table output of neighbor cache
2015-05-10 23:25:09 +02:00
Martine Lenders
74e58f953b shell: fix table output of neighbor cache 2015-05-10 14:06:03 +02:00
Oleg Hahm
4d85caee0f Merge pull request #2953 from OlegHahm/ng_sizeof
net: use sizeof(stack) for thread_create
2015-05-10 12:27:05 +02:00
Oleg Hahm
e9145fb911 Merge pull request #2939 from gebart/pr/whitespace-fixes1
Whitespace fixes
2015-05-09 23:46:31 +02:00
Oleg Hahm
c3a60fcea1 net: use sizeof(stack) for thread_create 2015-05-09 20:48:53 +02:00
Oleg Hahm
23d3c636e5 Merge pull request #2922 from authmillenon/ng_ipv6/fix/debug-output
ng_ipv6: fix debug output
2015-05-09 19:57:35 +02:00
Oleg Hahm
ca0d510655 Merge pull request #2943 from OlegHahm/fix_multicast_interface
ng_ipv6: set interface for multicast
2015-05-09 18:40:35 +02:00
Martine Lenders
5ec625b06c Merge pull request #2941 from cgundogan/ng_ipv6_netif_doc_fix2
ng_ipv6/netif: doc fix (interfaces => interface)
2015-05-09 18:36:36 +02:00
Martine Lenders
f3857e9f32 Merge pull request #2945 from authmillenon/sixlowpan_frag/fix/another
sixlowpan_frag: another bugfix for reassembly
2015-05-09 18:36:27 +02:00
Oleg Hahm
332eb13184 ng_ipv6: set interface for multicast
If no interface is given for a multicast, but the node has only one, it
must be set.
2015-05-09 16:23:28 +02:00
Martine Lenders
2c1b516c8e sixlowpan_frag: another bugfix for reassembly 2015-05-09 16:18:16 +02:00
Oleg Hahm
d3250abdbe ng_udp: add CREATE_STACKTEST to thread creation 2015-05-09 14:29:09 +02:00
Martine Lenders
926e1937cc Merge pull request #2935 from authmillenon/netif_hdr/fix/print-addr_len-0
netif_hdr: print 0-length L2 addresses correctly
2015-05-09 12:20:16 +02:00
Martine Lenders
59e4d92fa5 Merge pull request #2938 from cgundogan/ng_ipv6_addr_doc_fix
ng_ipv6/addr: minor doc fix
2015-05-09 12:18:04 +02:00
Cenk Gündoğan
eed5d6ea16 ng_ipv6/netif: doc fix (interfaces => interface) 2015-05-09 10:22:56 +02:00
Joakim Gebart
45c3498091 sys/net/routing/Makefile: Unix line endings 2015-05-09 09:18:31 +02:00
Joakim Gebart
77cd875e8e sys/net/transport_layer/socket_base/socket.c: trailing whitespace 2015-05-09 09:18:18 +02:00
Cenk Gündoğan
58e52b5896 ng_ipv6/addr: minor doc fix 2015-05-09 09:09:00 +02:00
Joakim Gebart
1026e47f8b sys/net/include/socket_base.h: trailing space 2015-05-09 09:06:44 +02:00
Joakim Gebart
21c15bd6f5 sys/net/include/l2_ping.h: trailing space 2015-05-09 09:06:18 +02:00
Joakim Gebart
50ad4e7374 sys/include/net/ng_protnum.h: trailing spaces 2015-05-09 09:05:45 +02:00
Martine Lenders
ec61db5234 netif_hdr: print 0-length L2 addresses correctly 2015-05-08 19:08:21 +02:00
Martine Lenders
bc41cfc93f sixlowpan_frag: Fix some debug messages for nano-specs 2015-05-08 18:32:29 +02:00
Martine Lenders
0514e11805 sixlowpan_frag: fix reassembly buffer garbage collection 2015-05-08 18:32:12 +02:00
Oleg Hahm
ffbd4f6bd2 Merge pull request #2925 from OlegHahm/ng_at86_cleanup
at86rf231: minor cleanup
2015-05-08 14:18:11 +02:00
Oleg Hahm
38ed6a8112 doxygen: cosmetics 2015-05-07 20:46:56 +02:00
BytesGalore
a1be18a1d0 net/network_layer/fib: fixed print type for printing routes 2015-05-07 17:13:55 +02:00
b0ebdbfc89 Merge pull request #2913 from kaspar030/hwtimer_compat
sys: add hwtimer compatibility layer for periph timers
2015-05-07 13:08:26 +02:00
Oleg Hahm
c8aff36237 netconf: added option to en/disable the SFD IRQ
Also includes the implementation for the AT86RF231
2015-05-06 15:58:02 +02:00
0921bce5dd sys: add hwtimer layer for periph timers 2015-05-06 12:04:53 +02:00
Martine Lenders
ab21f5dfc1 ng_ipv6: fix debug output 2015-05-06 11:30:54 +02:00
Sebastian Sontberg
d0ea7c2a0c ng_icmpv6_echo: fix call to undefined function 2015-05-04 14:50:18 +02:00
Oleg Hahm
d1bfa2f2ff Merge pull request #2555 from authmillenon/ng_icmpv6/feat/initial
ng_icmpv6: Initial import
2015-05-01 11:37:42 +02:00
Lotte Steenbrink
3b3eaab98d Merge pull request #2896 from Lotterleben/aodvv2_fix_rreqtable_redundancy_check
aodvv2: fix check for redundant RREQ
2015-05-01 10:29:13 +02:00
Martine Lenders
229f49ad5d shell: add icmpv6_echo shell handler 2015-05-01 08:34:11 +02:00
Martine Lenders
86133b8404 ng_icmpv6_echo: initial import 2015-05-01 08:34:11 +02:00
Martine Lenders
da2ec1b89e ng_icmpv6_error: add preliminary header 2015-05-01 08:34:11 +02:00
Martine Lenders
591ef1826f ng_icmpv6: Initial import 2015-05-01 08:29:01 +02:00
haukepetersen
a4358bfdee sys/auto-init: added mechanism to init network ifs 2015-04-30 15:08:49 +02:00
Hauke Petersen
195a8d88cd Merge pull request #2892 from authmillenon/ng_ipv6/enh/use-netapi-rcv
ng_ipv6: use netapi_receive()
2015-04-30 11:00:52 +02:00
Martine Lenders
4741a01e36 Merge pull request #2721 from authmillenon/ipv6_nc/feat/iterators
ipv6_nc: add iterators
2015-04-30 08:59:44 +02:00
Martine Lenders
af1f7b4336 ng_ipv6: use netapi_receive() 2015-04-29 22:34:55 +02:00
Martine Lenders
188c1a4ca9 shell: add support for nc iterators 2015-04-29 21:22:29 +02:00
Martine Lenders
a767f66d72 ipv6_nc: add iterators 2015-04-29 21:22:28 +02:00
Martine Lenders
398788d638 ng_udp: remove unused variable 2015-04-29 21:10:29 +02:00
Oleg Hahm
832c6a949c Merge pull request #2874 from authmillenon/sixlowpan_frag/fix/rbuf-fixes
ng_sixlowpan: fixes
2015-04-29 15:48:49 +02:00
Lotte Steenbrink
3d4e98eb1d Merge pull request #2833 from authmillenon/ng_net/feat/hdr-print
ng_net: add header print functions
2015-04-29 12:05:04 +02:00
Martine Lenders
90ece67f94 Merge pull request #2880 from authmillenon/ng_udp/fix/csum
ng_udp: fix checksum calculation for extension headers
2015-04-29 12:01:31 +02:00