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
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
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
Cenk Gündoğan
743f529efd
Merge pull request #2610 from cgundogan/rpl_remove_get_my_dodag_for_dio_dao
...
rpl: remove some usages of rpl_get_my_dodag
2015-03-20 20:19:43 +01:00
Cenk Gündoğan
f2b9b51adb
Merge pull request #2644 from cgundogan/rpl_pass_dodag_to_find_parent
...
rpl: pass dodag to the rpl_find_parent function
2015-03-20 19:52:33 +01:00
Martine Lenders
8111b15425
ng_ethernet: make ethertype network byte order
2015-03-20 18:45:24 +01:00
Martine Lenders
6a31fa80a7
Merge pull request #2568 from authmillenon/ng_netreg/feat/allow_nettype_undef
...
ng_netreg: Allow registration of NG_NETTYPE_UNDEF
2015-03-20 17:06:37 +01:00
Martine Lenders
72f91ad6be
Merge pull request #2659 from haukepetersen/ng_fix_scnetif_return
...
shell/sc_netif: added missing return statements
2015-03-20 16:28:08 +01:00
Hauke Petersen
2e2b0952fe
shell/sc_netif: added missing return statements
2015-03-20 15:10:01 +01:00
Hauke Petersen
506c97c4d9
shell/sc_netif: fixed output of PAN ID for decimal
2015-03-20 11:08:02 +01:00
Martine Lenders
09b1abcb4e
ng_netreg: Allow registration of NG_NETTYPE_UNDEF
2015-03-20 11:00:32 +01:00
kushalsingh007
e3d0471183
CppCheck: Removing unusedVariable warnings
...
-Suppressed warning which occured due to VDEBUG not being used.
-Added comment explaining reason to suppress the warning.
2015-03-20 04:26:30 +05:30
Cenk Gündoğan
1ab4f7c975
rpl: remove get_my_dodag dependency by passing the dodag as parameter
2015-03-19 19:54:30 +01:00
Cenk Gündoğan
5fb526fde8
rpl: pass dodag to the rpl_find_parent function
2015-03-19 19:47:08 +01:00
Cenk Gündoğan
1cd351e6b0
rpl: check all dodags when receiving DIS messages
2015-03-19 19:44:58 +01:00
Cenk Gündoğan
27f0c2fd3f
rpl: remove some usages of rpl_get_my_dodag
2015-03-19 19:08:01 +01:00
Oleg Hahm
52017a967a
Merge pull request #2545 from kushalsingh007/refactor_vtimer_set_msg
...
Changing return type of vtimer_set_msg
2015-03-19 17:24:40 +01:00
Oleg Hahm
bfe2c9a47f
Merge pull request #2622 from cgundogan/rpl_get_dodags_function
...
rpl: expose global rpl_dodags variable
2015-03-19 17:20:51 +01:00
Hauke Petersen
44ce49fce2
net/ng_netbase: added include of ng_netif/hdr.h
2015-03-19 15:28:41 +01:00
Martine Lenders
7027519f28
ng_ipv6: provide support for ng_netif
2015-03-19 15:13:17 +01:00
Martine Lenders
89a10f2630
Merge pull request #2629 from haukepetersen/ng_netbase
...
net: introduced ng_netbase pseudo module and header
2015-03-19 12:32:06 +01:00
Martine Lenders
631977fba6
Merge pull request #2637 from haukepetersen/ng_opt_netdev_send
...
net/ng_netdev: added error code to send()
2015-03-19 11:42:19 +01:00
Cenk Gündoğan
d7722c1766
rpl: expose global rpl_dodags variable
2015-03-19 11:03:43 +01:00
kushalsingh007
1dc6c3581f
vtimer: changing return type of several functions to void
...
- Changed the return type for vtimer_init,vtimer_set_msg and vtimer_remove.
- Current return value is not used anywhere and has no meaning attached to it.
- Fix for #1533
- Removed tests which checked for vtimer_set_msg being set.
- Done doxygen adaption for corresponding vtimer functions.
2015-03-19 03:56:00 +05:30
Oleg Hahm
942df88b0c
Merge pull request #2635 from OlegHahm/more_doc_cleanups
...
More documentation cleanups
2015-03-18 18:59:00 +01:00
Hauke Petersen
002fd2bc81
net/ng_netdev: added error code to send()
2015-03-18 18:34:19 +01:00
Oleg Hahm
dd0a6496f7
Merge pull request #2608 from cgundogan/rpl_make_send_DAO_aware_of_multiple_dodags
...
rpl: make send_DAO aware of multiple dodags
2015-03-18 17:17:25 +01:00
Oleg Hahm
f228586d9f
Merge pull request #2609 from cgundogan/rpl_make_send_DIO_aware_of_multiple_dodags
...
rpl: make send_DIO aware of multiple dodags
2015-03-18 17:16:33 +01:00
Hauke Petersen
7e8bc3f21c
net/ng_netdev: fixed missing include of kernel.h
2015-03-18 15:27:23 +01:00
Hauke Petersen
ed65ced885
net: re-ordered includes in ng_netreg + ng_pktbuf
2015-03-18 15:27:23 +01:00
Hauke Petersen
b84eb0478f
net/ng_nomac: made use of ng_netbase pseudo header
2015-03-18 15:27:23 +01:00
Hauke Petersen
9f58c28881
ng_net: introduced ng_netbase.h pseudo header
2015-03-18 15:27:23 +01:00
Oleg Hahm
c396a9009e
Merge pull request #2604 from cgundogan/rpl_use_instance_t_as_parameter
...
rpl: pass rpl_instance_t directly instead of its id
2015-03-18 14:45:48 +01:00
Oleg Hahm
3d411807c0
doc: fix and complemented some doxygen headers
2015-03-18 14:27:48 +01:00
Joakim Gebart
b67f8ca06c
Merge pull request #2504 from gebart/pr/sixlowpan-dest-addr-bcast
...
sixlowpan: Broadcast message when neighbour not found in cache.
2015-03-18 10:07:42 +01:00
Joakim Gebart
569d291838
Merge pull request #2543 from cgundogan/rpl_use_global_address
...
rpl: use global ip addresses instead of link-local ones
2015-03-18 09:21:14 +01:00
Cenk Gündoğan
f8408308d7
rpl: remove call to rpl_get_my_preferred_parent() in rpl_send_DAO, because of dependency to rpl_get_my_dodag()
2015-03-17 19:56:34 +01:00
Martine Lenders
dccd2ac484
Merge pull request #2613 from authmillenon/netif/fix/remove
...
ng_netif: cleanup array after remove
2015-03-17 01:26:46 +01:00
Martine Lenders
2f8d8ed07e
Merge pull request #2581 from authmillenon/shell/api/update_ifconfig
...
shell: port ifconfig for ng_netif
2015-03-17 01:26:02 +01:00
Martine Lenders
d6262df0d2
shell: port ifconfig for ng_netif
2015-03-16 16:46:31 +01:00
Martine Lenders
49e5938eb5
ng_netif: cleanup array after remove
2015-03-16 16:25:25 +01:00
Hauke Petersen
67b1237592
net/ng_nomac: adapted to net[api|dev] changes
2015-03-16 15:18:05 +01:00
Hauke Petersen
8124907f3a
net/ng_netapi: changed semantics of get function
2015-03-16 15:18:05 +01:00
Hauke Petersen
48c41661bc
net/ng_netdev: changed semantics of get function
2015-03-16 15:18:05 +01:00
Cenk Gündoğan
442e7b10b9
rpl: make send_DAO aware of multiple dodags
2015-03-16 12:38:17 +01:00
Cenk Gündoğan
4346513e4b
rpl: make send_DIO aware of multiple dodags
2015-03-16 12:26:17 +01:00
Cenk Gündoğan
5585413ce0
rpl: pass rpl_instance_t directly instead of its id
2015-03-16 09:35:14 +01:00
Martine Lenders
99e810e9b5
Merge pull request #2461 from authmillenon/ng_ipv6_nc/feat/initial
...
net: initial import of an IPv6 neighbor cache
2015-03-14 02:26:16 +01:00
Martine Lenders
e80e4fb181
Merge pull request #2580 from authmillenon/ng_netconf/api/add_src_len
...
ng_netconf: add source length identifier
2015-03-13 23:09:18 +01:00
Martine Lenders
c1708682e8
ng_ipv6_nc: Initial import
2015-03-13 20:42:47 +01:00
Martine Lenders
5b3cf47acd
ng_netconf: add source length identifier
...
The rational is that for devices with dual addressing modes (or more) as
for example IEEE 802.15.4 you can get or set these addressing modes for
the source address of a packet. The length of the destination address is clear
since it usually arrives through the `ng_netif_hdr_t`.
In case of IEEE 802.15.4 this is needed to determine the compression
state of source IPv6 addresses in 6LoWPAN IPHC.
2015-03-13 14:59:10 +01:00
Oleg Hahm
67abf81a02
Merge pull request #2576 from fnack/nhdp_ext_seqno
...
sys/nhdp: Add interface-specific sequence number to created RFC5444 packets
2015-03-13 13:52:36 +01:00
Oleg Hahm
0144bb589b
Merge pull request #2546 from authmillenon/ng_ipv6_addr/api/add_string_functions
...
[RFC] ng_ipv6_addr: add (optional) string conversion functions
2015-03-13 13:41:37 +01:00
Hauke Petersen
77edb92ed8
Merge pull request #2588 from authmillenon/nomac/fix/compilable
...
ng_nomac: add to sys/Makefile
2015-03-13 11:57:46 +01:00
Oleg Hahm
8537344db9
doc: update outdated vtimer documentation
...
vtimer was changed in 6ee5e737f9
to use a
user specified type for vtimer_set_msg(), but documentation didn't
reflect this new API.
2015-03-13 10:25:48 +01:00
Fabian Nack
133aeedea5
sys/nhdp: Add interface specific packet sequence number
2015-03-13 07:06:40 +01:00
Fabian Nack
48ce3d467c
sys/nhdp: Remove temp address lists to optimize hello processing
2015-03-13 06:57:06 +01:00
Martine Lenders
95432fadaa
ng_nomac: add to sys/Makefile
2015-03-12 21:57:18 +01:00
Martine Lenders
ba14149695
Merge pull request #2426 from haukepetersen/ng_nomac
...
net: added ng_nomac MAC implementation
2015-03-12 21:09:49 +01:00
Martine Lenders
0cca4867ea
ng_ipv6_addr: add string to address conversion function
2015-03-12 21:06:43 +01:00
Martine Lenders
9f2e2121c1
ng_ipv6_addr: add address to string conversion function
2015-03-12 21:06:41 +01:00
Fabian Nack
75e1467c58
Merge pull request #2549 from fnack/nhdp_opt_if
...
sys/nhdp: Allocate memory for NHDP's if table static
2015-03-12 20:10:35 +01:00
Hauke Petersen
549867b57e
net: added ng_nomac module
2015-03-12 17:15:39 +01:00
Fabian Nack
4d4b4bf348
sys/nhdp: Allocate memory for NHDP's if table static
2015-03-12 14:57:18 +01:00
Hauke Petersen
4bebf3b01a
net/nomac: removed legacy implementation
2015-03-12 13:55:24 +01:00
Martine Lenders
d67d983773
Merge pull request #2579 from authmillenon/net/feat/initial-ethertype-ethernet
...
net: initial import of ethertypes and the ethernet header
2015-03-12 13:01:16 +01:00