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

2078 Commits

Author SHA1 Message Date
Martine Lenders
cba4e5b8f1 pktdump: fix printf formatting
%zu would be the correct format string for `size_t`, but with nano-specs
this is not outputted.
2015-04-28 21:16:47 +02:00
Martine Lenders
067a3498c5 netif_hdr: add print function 2015-04-28 21:16:47 +02:00
Martine Lenders
32e27c3ff3 ipv6_hdr: add print function 2015-04-28 21:16:47 +02:00
Martine Lenders
797de13f01 ng_udp: fix setting of length field
udp_slip contains the UDP header already so this line technically adds
the length of the UDP header twice.
2015-04-28 21:02:52 +02:00
Cenk Gündoğan
b557000c20 rpl: remove global variable indicating the root node 2015-04-28 18:13:40 +02:00
Martine Lenders
3ba2a59cf5 ng_udp: fix checksum calculation for extension headers 2015-04-28 17:05:25 +02:00
BytesGalore
2ffe2e6f1f Merge pull request #2633 from cgundogan/rpl_remove_rpl_get_my_dodag_from_parent_delete
rpl: remove rpl_get_my_dodag() dependency in rpl_delete_all_parents()
2015-04-28 16:24:21 +02:00
BytesGalore
2a8aa7add5 net/network_layer/fib: added clearing flags for expired entries 2015-04-28 14:30:04 +02:00
Hauke Petersen
b15b291e0a net: added ng header for ieee802154 2015-04-27 18:56:59 +02:00
haukepetersen
e66e1dcfbe net/ng_netreg: added include of ng_udp.h 2015-04-26 21:53:07 +02:00
haukepetersen
1441e2fd02 sys/auto_init: added initialization of ng_udp 2015-04-26 21:53:07 +02:00
haukepetersen
b1d8752711 net: added NG_UDP implementation 2015-04-26 21:53:07 +02:00
8921a370dc Merge pull request #2582 from authmillenon/shell/feat/ifconfig-ipv6-output
shell: add ng_ipv6 support for ifconfig
2015-04-26 17:58:27 +02:00
Martine Lenders
cb07cd05e2 shell: add ng_ipv6 support for ifconfig 2015-04-26 14:00:48 +02:00
Martine Lenders
8a5e0d7d82 Merge pull request #2781 from authmillenon/ng_sixlowpan_frag/feat/initial
ng_sixlowpan: Initial import of datagram fragmentation
2015-04-26 03:20:15 +02:00
Martine Lenders
73d9739258 ng_sixlowpan: Initial import of datagram fragmentation 2015-04-26 02:21:20 +02:00
Oleg Hahm
2d8021ac06 Merge pull request #2857 from authmillenon/ipv6_addr/enh/rename-hdr-check
ipv6_addr: rename ng_ipv6_hdr_is_ipv6_hdr() to something less silly
2015-04-25 17:42:12 +02:00
Martine Lenders
e7860a40cc Merge pull request #2846 from haukepetersen/ng_sc_netif_options
sys/shell: added RAWMODE option to netif sc
2015-04-24 19:26:59 +02:00
Martine Lenders
e2f6fb6b0f Merge pull request #2856 from authmillenon/ng_ipv6/enh/1-if-opt
ng_ipv6: optimize multi-interface support
2015-04-24 19:01:29 +02:00
Hauke Petersen
3f7b705379 sys/shell: added option RAWMODE to netif cmds 2015-04-24 14:53:08 +02:00
Martine Lenders
5a0d222dcd shell: add support for (un-)setting 6LoWPAN support on an interface 2015-04-23 16:23:42 +02:00
Martine Lenders
1d744650cf Merge pull request #2614 from authmillenon/ng_sixlowpan/feat/initial
ng_sixlowpan: initial import
2015-04-23 16:17:43 +02:00
Martine Lenders
5412e0e68b ng_sixlowpan: initial import 2015-04-23 11:29:53 +02:00
Martine Lenders
07e2dbaf7e ng_sixlowpan_netif: initial import 2015-04-23 11:29:51 +02:00
Martine Lenders
82a1f53ff0 ng_ipv6: optimize multi-interface support 2015-04-23 10:57:51 +02:00
Lotte Steenbrink
e6e45ad567 Merge pull request #2736 from authmillenon/shell/fix/netif-return
shell: fix netif command for return values
2015-04-23 10:18:11 +02:00
Martine Lenders
3e9db4371f ipv6_addr: rename ng_ipv6_hdr_is_ipv6_hdr() to something less silly 2015-04-23 02:26:48 +02:00
Martine Lenders
99c190d3ae ng_ipv6: fix scope of netif header in multicast 2015-04-23 01:43:51 +02:00
Martine Lenders
8e4edf2b72 Merge pull request #2454 from authmillenon/ng_ipv6/feat/initial
ng_ipv6: initial import
2015-04-23 01:10:12 +02:00
Martine Lenders
b6c1dda1f4 Merge pull request #2854 from authmillenon/pktbuf/doc/enhance-pktbuf_add-doc
pktbuf: clarify doc of pktbuf_add()
2015-04-23 00:43:31 +02:00
Martine Lenders
a09909585b shell: fix netif command for return values 2015-04-22 23:34:10 +02:00
Oleg Hahm
126eba73a9 Merge pull request #2606 from cgundogan/rpl_remove_multiple_instance_check
rpl: remove unnecessary check for multiple instances
2015-04-22 23:14:27 +02:00
Martine Lenders
02af5da9bb Merge pull request #2778 from authmillenon/shell/feat/netif-promisc
shell: sc_netif: add set/unset for flags
2015-04-22 23:11:39 +02:00
Martine Lenders
a0c6db6591 ng_ipv6: initial import 2015-04-22 22:12:07 +02:00
Martine Lenders
d994908db4 pktbuf: clarify doc of pktbuf_add()
Fixes #2853
2015-04-22 19:22:41 +02:00
Martine Lenders
c9078b44ab Merge pull request #2845 from haukepetersen/ng_add_netconf_rawmode
net/ng_netconf: added option for setting RAW mode
2015-04-22 17:31:46 +02:00
Martine Lenders
9238b33906 Merge pull request #2837 from OlegHahm/yadf
Yet another doxygen fix
2015-04-22 15:30:23 +02:00
Martine Lenders
94dc48da09 shell: sc_netif: add set/unset for promiscous mode 2015-04-22 15:28:27 +02:00
haukepetersen
96a1c6f74b net/ng_netconf: added option for setting RAW mode 2015-04-21 18:58:58 +02:00
Oleg Hahm
2f3f40587a doc: doxygen fix until sixlowpan is merged
* sixlowpan doxygen group does not yet exist
2015-04-21 18:53:37 +02:00
Oleg Hahm
9edf0b76db doc: aodv specific stuff shouldn't show up in core 2015-04-21 18:53:36 +02:00
Martine Lenders
ac25058f26 Merge pull request #2727 from watr-li/unaligned-access-cortex-m0
Fix unaligned access on Samr21/Cortex-M0
2015-04-21 12:18:03 +02:00
Oleg Hahm
d274fc4a83 Merge pull request #2811 from josephnoir/topic/pthread_cond_osx
Add fix for clockid_t on OS X
2015-04-21 11:25:55 +02:00
Martine Lenders
c660fdfdac Merge pull request #2785 from authmillenon/ng_sixlowpan_ctx/feat/initial
ng_sixlowpan: initial import of a context buffer
2015-04-20 10:22:35 +02:00
Oleg Hahm
09c07e918d Merge pull request #2831 from OlegHahm/transceiver_broadcast
Use transceiver specific broadcast
2015-04-20 10:16:08 +02:00
Martine Lenders
79af989ef6 Merge pull request #2829 from authmillenon/ipv6_addr/fix/init-prefix
ipv6_addr: add missing mask to prefix initialization
2015-04-20 10:05:57 +02:00
Oleg Hahm
8926fa2269 rpl: added debug output for DAO default case 2015-04-19 20:56:05 +02:00
Oleg Hahm
3dd3bbb461 transceiver: use transceiver specific broadcast 2015-04-19 20:35:11 +02:00
Martine Lenders
7cbca8064d Merge pull request #2830 from sgso/fix-pktdump-ipv6-header-version-dump
pktdump: fix formatting of snips and false illegal version warning
2015-04-19 18:22:05 +02:00
Sebastian Sontberg
b228e1a936 pktdump: fix formatting of snip dumps 2015-04-19 16:48:25 +02:00
Oleg Hahm
ca3cae112c ps: updated authorship 2015-04-19 16:36:05 +02:00
Oleg Hahm
5e94995bfb ps: removed unnecessary prototype from header 2015-04-19 16:36:05 +02:00
Oleg Hahm
a31aa449a6 ps: added doxygen documentation 2015-04-19 16:36:05 +02:00
Oleg Hahm
89b32aefe3 ps: thread_print_all() had the wrong module prefix 2015-04-19 16:36:05 +02:00
Sebastian Sontberg
a8c55ff844 pktdump: fix mishap in ip version header dump 2015-04-19 15:16:45 +02:00
Martine Lenders
3a72e5346b unittests: add tests for ng_sixlowpan_ctx 2015-04-18 15:42:42 +02:00
Martine Lenders
39ed4baa92 ng_sixlowpan: initial import of a context buffer 2015-04-18 15:42:42 +02:00
Martine Lenders
43d5fe1e8e ipv6_addr: add missing mask to prefix initialization 2015-04-18 15:40:02 +02:00
Lotte Steenbrink
02efbadc48 aodvv2: fix check for redundant RREQ 2015-04-16 09:34:42 -07:00
Martine Lenders
f58eac2188 Merge pull request #2807 from authmillenon/ipv6_addr/fix/prefix-init
ipv6_addr: do not null remaining bits in prefix initialization
2015-04-16 18:06:21 +02:00
Martine Lenders
534a2f93bf Merge pull request #2814 from authmillenon/pktbuf/fix/remove-fix-return
pktbuf: fix snip-was-head case for pktbuf_remove_snip
2015-04-16 15:47:41 +02:00
Martine Lenders
480924afc0 Merge pull request #2741 from authmillenon/pktdump/feat/dump-ipv6
pktdump: add IPv6 header dump
2015-04-16 15:46:40 +02:00
Martine Lenders
798b9c782a Merge pull request #2816 from authmillenon/pktdump/fix/reply-to-getset
pktdump: reply to netapi get/set
2015-04-16 15:44:07 +02:00
Martine Lenders
62c8d6ba8f Merge pull request #2697 from authmillenon/pktdump/feat/snip-dump
pktdump: dump data of packet snips structured
2015-04-16 15:38:34 +02:00
Joseph Noir
e3a5bb25af Add fix for clockid_t on OS X 2015-04-16 11:43:51 +02:00
Oleg Hahm
22689437fb Merge pull request #2764 from Lotterleben/aodvv2_improve_offers_improvement
AODVv2: fix check if a route offers an improvement
2015-04-16 09:50:40 +02:00
Lotte Steenbrink
b1c3ca458a ng_udp: improve debug output
This PR corrects the faulty debug output from ng_udp.c:151 and unifies
all debug messages with the prefix ``udp: cannot send packet``.
2015-04-15 20:09:35 -07:00
Lotte Steenbrink
aca795ddb2 Merge pull request #2810 from Lotterleben/aodvv2_na_mcast_init
AODVv2: rm unnecessary initialization of na_mcast
2015-04-15 16:06:06 +02:00
Lotte Steenbrink
7f4fc9269d Merge pull request #2812 from BytesGalore/fib_shell_return_values
sys/shell: added missing return values for FIB command handler
2015-04-15 16:05:42 +02:00
Oleg Hahm
a18e9bb443 Merge pull request #2809 from authmillenon/netreg_hdr/fix/unused-parameters
netreg: ignore payload on default case in header build
2015-04-15 10:01:48 +02:00
Martine Lenders
cc95939050 pktdump: reply to netapi get/set
Since some layers need to get options from their neighboring layers the
previous behavior is potentially stack breaking when testing with this
module since no reply is given to this requests, reply blocking the
requesting thread in the process.
2015-04-14 17:09:16 +02:00
Martine Lenders
526d9d7ead pktdump: add IPv6 header dump 2015-04-14 14:21:45 +02:00
Martine Lenders
f34df829dc pktdump: dump data of packet snips structured 2015-04-14 14:20:33 +02:00
Martine Lenders
2c46c79fd5 pktbuf: fix snip-was-head case for pktbuf_remove_snip 2015-04-14 13:48:36 +02:00
e9fb853a81 Merge pull request #2804 from authmillenon/pktbuf/api/pktbuf_remove
pktbuf: add helper function to remove snips from packet
2015-04-14 12:30:14 +02:00
Lotte Steenbrink
82caf87128 Merge pull request #2796 from BytesGalore/aodv_return_on_socket_fail
routing/aodv: added return on failed socket creation for receiver thread
2015-04-14 11:43:36 +02:00
BytesGalore
bbaddc756d sys/shell: added missing return values 2015-04-14 11:41:10 +02:00
Martine Lenders
1230fc4070 ipv6_addr: do not null remaining bits in prefix initialization 2015-04-14 11:12:28 +02:00
Cenk Gündoğan
ac5e9af4e5 Merge pull request #2607 from cgundogan/rpl_update_rt_table_for_all_dodags
rpl: update routing table information for all dodags
2015-04-14 11:11:43 +02:00
Martine Lenders
dde61699f0 netreg: ignore payload on default case in header build 2015-04-14 10:43:03 +02:00
Cenk Gündoğan
19c2ab8bc2 rpl: remove rpl_get_my_dodag() dependency in rpl_delete_all_parents() 2015-04-14 10:09:47 +02:00
Martine Lenders
67602bb443 Merge pull request #2600 from authmillenon/ipv6_nc/feat/mc-translation
[RFC] ng_netif_hdr: add flags for multicast and broadcast
2015-04-14 10:08:22 +02:00
Martine Lenders
37d214ba1a pktbuf: add helper function to remove snips from packet 2015-04-14 02:06:03 +02:00
Cenk Gündoğan
d27cd45a81 rpl: update routing table information for all dodags 2015-04-13 18:59:22 +02:00
BytesGalore
feff423f07 routing/aodv: added return on failed socket cration for receiver thread 2015-04-13 11:59:12 +02:00
BytesGalore
c47563a745 Merge pull request #2789 from Lotterleben/aodvv2_mutex_fix
AODVv2: fix mutex for route message creation
2015-04-13 11:08:44 +02:00
Martine Lenders
d47cd80945 Merge pull request #2779 from kaspar030/fix_ipv6_addr_string_max_length
sys: net: ipv6: fix max ipv6 address string length
2015-04-11 19:26:01 +02:00
Lotte Steenbrink
5de25a7bd7 AODVv2: fix check if route offers improvement 2015-04-11 06:51:08 -07:00
Lotte Steenbrink
ae88d122e4 rm unnecessary initialization of na_mcast 2015-04-11 02:37:43 -07:00
BytesGalore
580ae0a63d Merge pull request #2786 from Lotterleben/fib_typos
FIB: fix documentation typos
2015-04-10 16:41:13 +02:00
BytesGalore
073f117ad6 Merge pull request #2788 from Lotterleben/fib_parenteses_fix
FIB: remove extraneous parentheses
2015-04-10 16:39:29 +02:00
Lotte Steenbrink
436a105ff7 AODVv2: fix mutex for route message creation 2015-04-10 07:13:35 -07:00
Lotte Steenbrink
0666827d25 FIB: remove extraneous parentheses 2015-04-10 04:33:46 -07:00
Peter Kietzmann
821cf81608 Merge pull request #2773 from kaspar030/make_pktdump_internals_static
sys: net: ng_pktdump: mark internal functions as static
2015-04-10 13:15:25 +02:00
Lotte Steenbrink
d2e6e7ba17 FIB: fix some typos 2015-04-10 03:15:20 -07:00
Oleg Hahm
fce1d4538e Merge pull request #2703 from cgundogan/rpl_rm_initializers
rpl: remove needless initializers
2015-04-10 11:48:52 +02:00
Oleg Hahm
bd828f109e Merge pull request #2350 from gebart/pr/sixlowpan-buffer-name
sixlowpan: rename global buffer->sixlowpan_buffer
2015-04-10 11:38:54 +02:00
Martine Lenders
c94094529d Merge pull request #2731 from authmillenon/ipv6_hdr/feat/initial
ipv6_hdr: Initial import
2015-04-10 07:35:41 +02:00
Martine Lenders
687947d3db Merge pull request #2730 from authmillenon/inet_csum/feat/initial
inet_csum: initial import of Internet Checksum module
2015-04-10 07:24:58 +02:00
Lotte Steenbrink
e130b6929c Merge pull request #2553 from authmillenon/net/feat/hdr-csum
ng_net: introduce checksum calculation
2015-04-10 02:01:10 +02:00
Martine Lenders
cdbd06d2d8 ipv6_netif: fix documentation 2015-04-10 01:29:35 +02:00
Martine Lenders
2dd24edcf8 ipv6_netif: auto-add corresponding link-local addresses 2015-04-10 01:29:33 +02:00
Martine Lenders
9c30851b45 ipv6_hdr: Initial import 2015-04-10 00:41:55 +02:00
Martine Lenders
10bff1c8a3 Merge pull request #2775 from kaspar030/fix-nomac-debug-warning
sys: net: ng_nomac: add cast to debug call to fix warning
2015-04-10 00:26:21 +02:00
Oleg Hahm
63c121528a Merge pull request #2624 from cgundogan/rpl_recv_DIS_multiple_dodags
rpl: check all dodags when receiving DIS messages
2015-04-10 00:20:13 +02:00
Oleg Hahm
540ee49e61 Merge pull request #2653 from cgundogan/rpl_remove_get_my_dodag_dependencies
rpl: remove get_my_dodag dependency by passing the dodag as parameter
2015-04-10 00:18:02 +02:00
Peter Kietzmann
7cbc667199 Merge pull request #2774 from kaspar030/fix_pktdump_priority
sys: net: ng_pktdump: make pktdump have higher-than-main priority
2015-04-09 22:41:18 +02:00
Martine Lenders
a83fecd642 Merge pull request #2710 from haukepetersen/ng_scnetif_state
shell/ng_netif: enable to get/set a device's state
2015-04-09 21:47:53 +02:00
cf53d966be sys: net: ipv6: fix max ipv6 address string length 2015-04-09 21:28:04 +02:00
Oleg Hahm
087b51e10b Merge pull request #2500 from fnack/nhdp_optimize_rx
sys/nhdp: Remove temp address lists to optimize hello processing
2015-04-09 18:43:18 +02:00
8c419bbdf5 sys: net: ng_nomac: add cast to debug call to fix warning 2015-04-09 18:17:35 +02:00
4d15482669 sys: net: ng_pktdump: make pktdump have higher-than-main priority 2015-04-09 18:14:11 +02:00
f63109486b sys: net: ng_pktdump: mark static functions as static 2015-04-09 18:11:52 +02:00
Martine Lenders
b8fea1a2c7 Merge pull request #2735 from authmillenon/ipv6_netif/feat/hl
ipv6_netif: expand interface
2015-04-08 12:18:26 +02:00
Martine Lenders
25b568e6d5 ipv6_netif: fix prefix for address flags
Since NDP will introduce interface specific flags this naming might get
confusing
2015-04-08 10:43:14 +02:00
Martine Lenders
05bcdd5398 ipv6_netif: add flags 2015-04-08 10:43:05 +02:00
Oleg Hahm
a532516205 Merge pull request #2757 from Lotterleben/invalid_routes
AODVv2: Broken & Expired routes to Invalid routes
2015-04-08 09:51:10 +02:00
Martine Lenders
fa2ab8b7cd shell: adapt netif shell commands for bc flag 2015-04-03 16:05:10 +02:00
Martine Lenders
d382feabbe netif_hdr: add flags for broadcast and multicast 2015-04-03 16:05:10 +02:00
haukepetersen
27d1f113a2 net/ng_pktdump: added CREATE_STACKTEST flag 2015-04-02 14:45:34 -07:00
Lotte Steenbrink
ccc33ec619 AODVv2: Broken & Expired routes to Invalid routes 2015-04-02 10:45:26 -07:00
Martine Lenders
bc072db0e9 shell: add commands to manage neighbor cache manually 2015-04-02 01:13:17 +02:00
Lotte Steenbrink
40acfa732b Merge pull request #2705 from authmillenon/netif/feat/addr-str
netif: add functions to parse and output hardware addresses
2015-04-02 01:04:33 +02:00
BytesGalore
6d579c84e7 shell: fixed return value warning for FIB shell command handler 2015-04-01 18:17:51 +02:00
Martine Lenders
1a0d97fced shell: adapt sc_netif to use new netif functions 2015-04-01 16:24:19 +02:00
Martine Lenders
882bcbe92e netif: add functions to parse and output hardware addresses 2015-04-01 16:24:19 +02:00
Martine Lenders
9372d955b3 Merge pull request #2211 from BytesGalore/add_fib
sys/net/network_layer added a core implementation of a FIB
2015-04-01 11:40:21 +02:00
Oleg Hahm
26710c1085 Merge pull request #2499 from gebart/pr/lowpan-address-decoding-fixes
sixlowpan: Handle 16-bit addresses correctly (both decode and encode)
2015-04-01 11:36:56 +02:00
BytesGalore
30c76adc43 net: added a core implementation of a FIB 2015-04-01 10:24:35 +02:00
Martine Lenders
f1becc6870 Merge pull request #2534 from jfischer-phytec-iot/pr@udp-header-decompression
lowpan.c: add udp header decompression
2015-03-31 19:39:18 +02:00
Peter Kietzmann
aeb5316af2 Merge pull request #2744 from authmillenon/shell/fix/rm-return
shell: remove unneeded return
2015-03-31 09:22:24 +02:00
Martine Lenders
3ac8146f8b style: replace tabs with spaces in source 2015-03-31 05:04:44 +02:00
Martine Lenders
8dd5010014 shell: remove unneeded return 2015-03-31 04:54:04 +02:00
Peter Kietzmann
dbd4475bfe Merge pull request #2737 from authmillenon/shell/fix/alarm_handler
shell: fix rtc alarm handler
2015-03-30 09:48:36 +02:00
Peter Kietzmann
f725282565 Merge pull request #2738 from authmillenon/netreg/fix/warning
netreg: suppress unused parameter warning
2015-03-30 09:12:30 +02:00
Martine Lenders
476dd297bd Merge pull request #2719 from haukepetersen/ng_opt_pktdump
net/ng_pktdump: manage stack internal and use msg queue
2015-03-30 02:43:43 +02:00
Martine Lenders
6f7af8f0a2 ipv6_netif: move default MTU from ng_ipv6.h 2015-03-30 01:18:07 +02:00
Martine Lenders
c6eaeb4366 ipv6_netif: add current hop limit to interface 2015-03-30 01:18:06 +02:00
Martine Lenders
7273d5c9ad Merge pull request #2723 from authmillenon/ipv6_netif/feat/prefix-list
ipv6_netif: add prefix list to interface
2015-03-30 00:31:37 +02:00
Martine Lenders
716a1bb0f5 netreg: suppress unused parameter warning 2015-03-29 23:51:54 +02:00
Martine Lenders
d0bd218226 shell: fix rtc alarm handler 2015-03-29 20:54:35 +02:00
Martine Lenders
3b42fae668 Merge pull request #2602 from kushalsingh007/shell-return
Return-based error-handling for shell handlers
2015-03-29 18:29:58 +02:00
Martine Lenders
f192cda090 Merge pull request #2712 from authmillenon/nettype/fix/typo
nettype: fix typo
2015-03-29 15:12:23 +02:00
Martine Lenders
4571fe2f8d netreg: add multiplexer for checksum calculation 2015-03-29 14:55:11 +02:00
Martine Lenders
fa689fe147 Merge pull request #2575 from authmillenon/ng_net/feat/hdr-build
ng_net: header building facilities
2015-03-29 14:28:49 +02:00
Lucas Jenss
5910cadb58 sys/net: Fix unaligned access on Samr21/Cortex-M0
*((uint16_t)*dest) results in a ldrh (load halfword) instruction
on an address that seems to not be halfword-aligned (?),
causing a hard-fault on the samr21-xpro board (cortex-m0
architecture). The issue seems to be very similar to
the one described in http://stackoverflow.com/a/21661366/124257
2015-03-29 04:58:44 +02:00
Martine Lenders
1ea70be0e8 netif: add convinience function for header building 2015-03-28 18:29:50 +01:00
Martine Lenders
69c593b80b netreg: add multiplexer for header building 2015-03-28 18:28:04 +01:00
Hauke Petersen
bf48b86cfa shell/ng_netif: enable to get/set a device's state 2015-03-28 14:04:17 +01:00
Martine Lenders
903a9d54ce inet_csum: initial import of Internet Checksum module 2015-03-28 14:02:59 +01:00
Hauke Petersen
6dfca3bd45 Merge pull request #2716 from haukepetersen/fix_shell_makefiles
sys/shell_commands: Makefile: converted tabs to spaces
2015-03-28 14:00:54 +01:00
Hauke Petersen
7d50ad1954 Merge pull request #2715 from haukepetersen/ng_fix_scnetif
sys/shell: shortened description of netif shell cmd
2015-03-28 13:48:54 +01:00
Hauke Petersen
c349fca738 sys/auto_init: added initialization of pktdump 2015-03-28 13:47:03 +01:00
Hauke Petersen
4ccc3634b3 net/ng_pktdump: manage stack internally 2015-03-28 13:47:03 +01:00
Hauke Petersen
96efe23027 net/ng_pktdump: added message queue 2015-03-28 13:36:43 +01:00
Hauke Petersen
e8eebe43f2 Merge pull request #2718 from haukepetersen/ng_fix_nomac
net/ng_nomac: added missing return in event cb
2015-03-28 13:33:39 +01:00
Martine Lenders
dce3a6056d ipv6_netif: add prefix list to interface 2015-03-27 20:39:52 +01:00
Martine Lenders
ff5633e44e Merge pull request #2709 from haukepetersen/ng_scnetif_power
shell/sc_netif: added means to control TX power
2015-03-27 17:27:25 +01:00
Hauke Petersen
eb00d37456 Merge pull request #2708 from haukepetersen/ng_fix_pktdump
net/ng_pktdump: fixed memory leak
2015-03-27 15:14:33 +01:00
Martine Lenders
2219d21ba2 Merge pull request #2706 from authmillenon/nettype/feat/introduce_netif
nettype: introduce type for ng_netif_hdr_t
2015-03-27 15:13:20 +01:00
Hauke Petersen
6119ca00d8 sys/shell_commands: converted tabs to spaces in Makefile
Though technically it does not make a difference here, tabs have
a different semantic meaning than spaces in Makefiles. To be consistent
in RIOT we agreed to use two spaces for if conditions -> see #2626.
2015-03-26 00:04:56 +01:00
Hauke Petersen
264f05bc62 net/ng_nomac: added missing return in event cb 2015-03-25 23:12:19 +01:00
Hauke Petersen
eecd6ec2cc sys/shell: shortened description of netif shell cmd 2015-03-25 21:24:30 +01:00
kushalsingh007
9aae656be9 shell: Return-based error-handling for shell handlers
- Included the missing parts.
- Squashed with @authmillenon's commit
2015-03-25 23:54:04 +05:30
Joakim Gebart
334aeca246 sixlowpan: Refactor multicast destination compression handling
Stateless only, still no implementation for context-aware multicast encoding.
2015-03-25 08:08:07 +01:00
Joakim Gebart
9769d8adaf sixlowpan: Fix conditions for 16 bit encoding of unicast destination 2015-03-25 08:08:04 +01:00
Joakim Gebart
34457017cf sixlowpan: Fix conditions for encoding to 16 bit source addresses 2015-03-25 08:08:01 +01:00
Joakim Gebart
0b479b28e8 sixlowpan: Update reference to RFC 6282 2015-03-25 08:07:59 +01:00
Joakim Gebart
39c7566e11 sixlowpan: Decode 16-bit addresses correctly
10:  16 bits.  The first 112 bits of the address are elided.
The value of the first 64 bits is the link-local prefix padded with zeros.
The following 64 bits are 0000:00ff:fe00:XXXX, where XXXX are the 16 bits carried in-line.

See https://tools.ietf.org/html/rfc6282
2015-03-25 08:07:55 +01:00
Joakim Gebart
f6bade32e6 rpl: Rename buffer->sixlowpan_buffer 2015-03-25 08:00:47 +01:00
Joakim Gebart
de7d6c7785 sixlowpan: rename global buffer->sixlowpan_buffer 2015-03-25 08:00:45 +01:00
Martine Lenders
cbe9aa6939 nettype: fix typo 2015-03-25 05:03:27 +01:00
Martine Lenders
70c1e4dd37 shell: adapt for new nettype_t value 2015-03-25 02:10:14 +01:00
Martine Lenders
79e76d05a0 nettype: introduce type for ng_netif_hdr_t 2015-03-25 02:10:14 +01:00
Hauke Petersen
f2e2cfd11c shell/sc_netif: added means to control TX power 2015-03-24 22:16:50 +01:00
Hauke Petersen
227ff36e82 net/ng_pktdump: fixed memory leak 2015-03-24 22:14:16 +01:00
Hauke Petersen
5f77bbe1c8 Merge pull request #2563 from authmillenon/ng_pktbuf/fix/semantics
ng_pktbuf: change semantics for received packets
2015-03-24 16:49:49 +01:00
Martine Lenders
23d079bdf4 Merge pull request #2661 from authmillenon/ethertype/fix/byteorder
ng_ethernet: make ethertype network byte order
2015-03-24 15:57:54 +01:00
Cenk Gündoğan
7e19ef0536 rpl: remove needless initializers 2015-03-24 14:07:58 +01:00
Martine Lenders
db8cbc7afa Merge pull request #2662 from authmillenon/ng_nomac/fix/receive
ng_nomac: fix receive
2015-03-24 01:15:15 +01:00
Martine Lenders
3fa96e5eb9 Merge pull request #2693 from haukepetersen/ng_netdev_fixconst
net/ng_netdev: made pointer to driver const
2015-03-23 23:23:25 +01:00
Martine Lenders
e431dc8171 Merge pull request #2585 from authmillenon/ng_nettype/api/translate
ng_nettype: add translation capabilities to ethertype and protnum
2015-03-23 21:47:47 +01:00
Martine Lenders
2526e4358a Merge pull request #2666 from haukepetersen/ng_pktdump
net: added ng_netdump module
2015-03-23 20:33:01 +01:00
Ludwig Ortmann
90160d92d2 Merge pull request #2687 from cgundogan/rpl_debug_inst
rpl: edit debug message for instance == NULL
2015-03-23 18:48:14 +01:00
Martine Lenders
0e48448732 ng_nomac: fix receive with ng_netapi_receive() 2015-03-23 16:53:46 +01:00
Martine Lenders
326a402148 ng_netapi: introduce ng_netapi_receive() 2015-03-23 16:53:15 +01:00
Hauke Petersen
4968e54816 net/ng_netdev: made pointer to driver const 2015-03-23 16:20:25 +01:00
Hauke Petersen
497a3da9e3 net: added ng_pktdump module 2015-03-23 15:25:30 +01:00
Martine Lenders
21204dc3eb ng_pktbuf: change semantics for received packets 2015-03-23 15:08:46 +01:00
Martine Lenders
678ca8dd79 ng_pkt: update documentation 2015-03-23 15:08:44 +01:00
Martine Lenders
d959c9265b ng_nettype: fix documentation 2015-03-23 14:35:33 +01:00
Martine Lenders
fa59e3122c ng_nettype: add translation capabilities to ethertype and protnum 2015-03-23 14:35:28 +01:00
Cenk Gündoğan
9bdcfcbe33 rpl: edit the debug message for instance == NULL 2015-03-22 19:07:31 +01:00
Martine Lenders
a4996395b0 Merge pull request #2665 from kushalsingh007/memleak
CppCheck: Removing memleak warning
2015-03-22 18:35:06 +01:00
Ludwig Ortmann
cf637942cc *: add missing blank lines
Some functions had no blank lines to separate them from their
neighborhood.
2015-03-21 16:34:59 +01:00
Joakim Gebart
8865d9f25f rpl: Fix DEBUG print which broke in 5585413ce0
rpl: pass rpl_instance_t directly instead of its id #2604
https://github.com/RIOT-OS/RIOT/pull/2604
2015-03-21 14:55:17 +01:00
Ludwig Ortmann
cbda26d7e9 Merge pull request #2590 from jhollister/malloc_osx_fix
cpu/native: Fix for missing malloc.h in OSX
2015-03-21 13:50:00 +01:00
James Hollister
93cff5613f cpu/native: Fix for missing malloc.h in OSX 2015-03-21 01:41:54 -07:00
Martine Lenders
4c6ec9b013 Merge pull request #2596 from kushalsingh007/unused
CppCheck: Removing unusedVariable warnings
2015-03-20 22:20:38 +01:00
kushalsingh007
b180e80ee3 CppCheck: Removing memleak warning
- Changing the name of variable 'new' solved the problem.
2015-03-21 02:34:10 +05:30