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
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
a7c3807c29
rpl: remove unnecessary check for multiple instances
2015-03-16 09:52:06 +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
Martine Lenders
4364493051
ng_ethernet: intial import
2015-03-12 11:31:25 +01:00
Martine Lenders
dab8f9f6c0
ng_ethertype: initial import
2015-03-12 11:27:12 +01:00
Oleg Hahm
5a3a6e392c
Merge pull request #2584 from gebart/pr/auto-init-eui64-local
...
sys: Set Local bit in EUI64 generated from CPU ID
2015-03-12 10:39:54 +01:00
Oleg Hahm
7256a1399a
Merge pull request #2566 from kushalsingh007/fd
...
Changed description for fd_t::fd in sys/include/fd.h
2015-03-12 09:09:45 +01:00
Joakim Gebart
57bf21a471
sys: Set Local bit in EUI64 generated from CPU ID
2015-03-12 07:45:40 +01:00
kushalsingh007
cf75c04b41
fd: Clean-up documentation and rename members
...
-Fixes #1759
-Changes fd_t::__active to fd_t::internal_active
-Changes fd_t::fd to fd_t::internal_fd
-Made changes in the associated files that use the above fields.
2015-03-12 10:31:37 +05:30
Joakim Gebart
5286b68f2e
Merge pull request #2573 from kushalsingh007/scope
...
Reducing the scope of variable after running static code analyser.
2015-03-11 14:18:25 +01:00
Cenk Gündoğan
5d382b4ac8
rpl: use global ip addresses instead of link-local ones
2015-03-10 20:51:58 +01:00
Hauke Petersen
40f7227c02
sys/shell: added (ng_)netif shell commands
2015-03-10 17:43:48 +01:00
kushalsingh007
3dbe4cd8af
Reducing the scope of variable after running static code analyser.
...
- Part of fix for issue number 480 (variableScope)
- Suppression of warnings that are not needed.
2015-03-10 22:03:18 +05:30
Hauke Petersen
b9f4cdc3ae
Merge pull request #2559 from authmillenon/ng_netdev/doc/fixes
...
ng_netdev: fix some documentation and a suggestion for a type change
2015-03-10 15:14:05 +01:00
Hauke Petersen
3540ff9a26
Merge pull request #2560 from authmillenon/ng_netif_hdr/fix/static-inline
...
ng_netif_hdr: make inline functions static
2015-03-10 14:23:32 +01:00
Joakim Gebart
bda0b999bd
Merge pull request #2522 from cgundogan/rpl_prefix_info
...
rpl: implement basic prefix information option for DIOs
2015-03-10 14:00:01 +01:00
Joakim Gebart
0bc3ff5b19
rpl: Send DAOs for adding /128 routes (host-only) to the parent instead of /16
2015-03-10 12:35:09 +01:00
kushalsingh007
390e030f84
Removing the warnings after running static code analyser.
...
-Changes to fix all the clarifyCalulation warnings.
-Fixes a part of issue number 480
2015-03-10 04:08:43 +05:30
Martine Lenders
b540e65e72
ng_netif_hdr: simplify address getter/setter
2015-03-09 17:36:33 +01:00
Martine Lenders
081784d16a
ng_netif_hdr: fix documentation
2015-03-09 03:52:12 +01:00
Martine Lenders
84713f4873
ng_netif_hdr: make inline functions static
2015-03-08 22:54:06 +01:00
Martine Lenders
c66612b50b
ng_netdev: change event_type to same type as msg_t::content::value
2015-03-08 22:42:35 +01:00
Martine Lenders
fd0d83711a
ng_netdev: fix documentation
2015-03-08 22:41:35 +01:00
Oleg Hahm
c1fe7f0095
ccnl: correct debug output
2015-03-05 16:27:37 +01:00
Martine Lenders
878bc94b38
ng_netif: Add missing include
2015-03-04 18:30:45 +01:00
Johann Fischer
939f07aab8
sys/net/network_layer/sixlowpan/lowpan.c: add udp header decompression
2015-03-04 18:18:27 +01:00
Lotte Steenbrink
1793eb7ec8
Merge pull request #2450 from authmillenon/netreg/api/pointer-based
...
RFC: netreg: move to pointer-based API
2015-03-04 15:33:15 +01:00
Martine Lenders
ec5f686cd0
netreg: move to pointer-based API
...
Moving to a pointer-based API simplifies a lot, since there is no need
for an internal pool of entries anymore. Therefore, a lot of
organizational overhead and some restrictions (e.g. an upper limit on
entries) are dropped.
The entries can be stored in the stack of the respective thread.
2015-03-04 13:17:00 +01:00
Joakim Gebart
70cf054b5e
sixlowpan: Broadcast message when neighbour not found in cache.
2015-03-04 08:47:10 +01:00
Oleg Hahm
a846409a55
Merge pull request #2523 from gebart/pr/lowpan-eui-short-addr-local
...
sixlowpan: Handle short hardware addresses correctly
2015-03-04 02:38:40 +01:00
Martine Lenders
36c757b8c8
Merge pull request #2448 from haukepetersen/fix_doc_shell
...
sys/shell: fixed and unified doxygen headers
2015-03-03 23:14:46 +01:00
Thomas Eichinger
8b5f784e0b
Merge pull request #2446 from thomaseichinger/ng_netconf_reset
...
net/ng_netconf: improve comment describing NETCONF_STATE_*
2015-03-03 23:07:43 +01:00
Thomas Eichinger
40062c3ac3
net/ng_netconf.h: fix doxygen comments
2015-03-03 23:06:32 +01:00
Joseph Noir
f614d4b186
Merge pull request #1222 from BytesGalore/add_pthread_simple_tls
...
Everything seems to work, so here we go: sys:posix:pthread added dynamic pthread thread local storage
2015-03-03 22:38:27 +01:00
haukepetersen
b6ca321270
net/ng_pktbuf: added missing #inlcude <stdio.h>
2015-03-03 22:12:16 +01:00
Hauke Petersen
be9987292f
net: added generic network interface header format
2015-03-03 22:00:46 +01:00
Cenk Gündoğan
d6242360da
net_if: proper u/l-bit inversion for short addresses
2015-03-03 20:03:54 +01:00
Joakim Gebart
2aa031e7c7
sixlowpan: Set U/L bit in short address to local.
2015-03-03 19:56:11 +01:00
Joakim Gebart
4520d31d3d
net-if: Set U/L bit in short address to local.
2015-03-03 19:56:11 +01:00
Cenk Gündoğan
c60450df4c
rpl: implement basic prefix information option for DIOs
2015-03-03 19:36:14 +01:00
Martine Lenders
714c912a88
Merge pull request #2519 from haukepetersen/ng_netapi_fixes
...
net/ng_netapi: fixed implementation
2015-03-03 18:17:40 +01:00
Hauke Petersen
2323c08d32
sys/shell: fixed and unified doxygen headers
...
- changed doxygen group name to sys_shell
- added some missing fields
- unified the doxygen header format
2015-03-03 18:10:06 +01:00
Hauke Petersen
e7466b1dad
Merge pull request #2513 from gebart/pr/udp-delete-unused-csum-func
...
udp: Delete unused udp_csum function.
2015-03-03 18:08:52 +01:00
Hauke Petersen
45ce082ad6
net/ng_netapi: fixed implementation
...
- renamed opt variable in _get_set
- fixed msg type MACRO names
2015-03-02 18:44:33 +01:00
Johann Fischer
90ab40657a
sys/net/network_layer/sixlowpan/lowpan.c: reduce scope of debug variable
2015-03-02 18:42:38 +01:00
Joakim Gebart
824c0a3daf
udp: Delete unused udp_csum function.
...
udp_csum is never referenced anywhere in the tree, not even in a header file.
2015-03-02 12:32:02 +01:00
Joakim Gebart
726bdf9d7b
Merge pull request #2512 from cgundogan/ip_d_addr_unused
...
ip: use d_addr instead of s_addr when setting the destaddr
2015-03-02 12:23:11 +01:00
Cenk Gündoğan
c3fc24700c
rpl: use d_addr instead of s_addr when setting the destaddr
2015-03-02 10:33:45 +01:00
Cenk Gündoğan
3832fc57f5
Merge pull request #2496 from gebart/pr/6lowpan-print-addr
...
sixlowpan: Properly print source address when ENABLE_DEBUG
2015-03-02 08:21:42 +01:00
Joakim Gebart
dcebfe55a4
Merge pull request #2491 from cgundogan/rpl_use_all_rpl_nodes_addr
...
rpl: use the all-RPL-nodes multicast address
2015-02-28 11:08:09 +01:00
Joakim Gebart
911bf20749
Merge pull request #2494 from gebart/pr/transceiver-frame-size
...
sys/net/transceiver: Copy the entire frame for AT86RF231 and CC2420
2015-02-27 09:56:21 +01:00
Martine Lenders
bafafe7b8a
Merge pull request #2497 from gebart/pr/lowpan-eui64-inv-local-bit
...
sixlowpan: Invert local/universal bit in EUI-64 when forming IPv6 Interface Identifiers.
2015-02-27 09:34:46 +01:00
Joakim Gebart
578eb38c38
sixlowpan: Properly print source address when ENABLE_DEBUG
2015-02-26 19:22:07 +01:00
Joakim Gebart
db59de6c2e
sixlowpan: Refactor DAC/DAM decoding to match SAC/SAM implementation.
2015-02-26 13:53:07 +01:00
Joakim Gebart
9933a431e3
sixlowpan: Refactor SAC/SAM decoding.
2015-02-26 12:19:30 +01:00
Joakim Gebart
ff6f8ff82b
sixlowpan: Invert local/universal bit in EUI-64 when forming IPv6 Interface Identifiers.
2015-02-26 09:59:28 +01:00
Joakim Gebart
1eee289cb4
rpl: Make addr_str static
2015-02-26 09:56:52 +01:00
Joakim Gebart
716f48dc0f
sys/net/transceiver: Copy the entire frame for AT86RF231 and CC2420
...
The previous code could cause either cut off addresses or buffer overflows. This change modifies it to copy the entire frame.
2015-02-26 09:55:16 +01:00
Cenk Gündoğan
1d4d3fa1c1
rpl: use the all-RPL-nodes multicast address
2015-02-25 20:33:13 +01:00
Fabian Nack
d9480cadfc
sys - nhdp: Add nhdp impl
2015-02-24 11:50:58 +01:00
Fabian Nack
2143d572d0
sys/timex: Defines for time calculations
2015-02-24 11:50:42 +01:00
José Roberto de Souza
237e3f4dcb
sys/posix: fix strncasecmp
...
This should be a OR or when comparing only parts os strings would
return a wrong value.
const char *first = "testA";
const char *second = "test";
uint8_t contains = strncasecmp(first, second, strlen(second));
2015-02-23 11:24:01 -03:00
Oleg Hahm
4e80d80e94
Merge pull request #2365 from cgundogan/rpl_refactor_modes
...
rpl: remove duplicate code by merging rpl_storing.c and rpl_nonstoring.c
2015-02-22 21:22:56 +01:00
Cenk Gündoğan
d6e8e57d1f
rpl: merge storing/non-storing to reduce the amount of redundant code
2015-02-21 15:36:28 +01:00
Martine Lenders
51363f9631
Merge pull request #2451 from authmillenon/sys/enh/remove-deprecated-modules
...
sys: clean-up Makefile
2015-02-21 15:31:26 +01:00
Cenk Gündoğan
fbf3296ca5
Merge pull request #2462 from BytesGalore/rpl_fix_hardfault_on_no_ocp
...
sys/net/routing/rpl: catch hardfault when OCP from DIO is not supported
2015-02-21 13:32:01 +01:00
Oleg Hahm
8ad299882c
Merge pull request #2191 from cgundogan/rpl_remove_send_mutex
...
rpl: remove send mutex
2015-02-21 13:30:09 +01:00
Martine Lenders
d198724981
sys: clean-up Makefile
2015-02-20 20:20:47 +01:00
Martine Lenders
dad4e8d5df
Merge pull request #2433 from authmillenon/ng_ipv6_addr/feat/initial
...
ng_ipv6_addr: initial import
2015-02-20 19:27:17 +01:00
Martine Lenders
ff36abb2cf
ng_ipv6_addr: initial import
...
The motivation behind this module is to allow for address handling
functions where they, but not the full IPv6 functionality might be
needed. This new version of the IPv6 address data type utilizes the
byteorder.h header to enforce network byte-order on its members.
2015-02-20 17:40:26 +01:00
BytesGalore
9e0ccc395a
sys/net/routing/rpl: catch hardfault when OCP from DIO is not supported
2015-02-19 19:05:27 +01:00
Ludwig Ortmann
4f29a7757e
Merge pull request #2285 from authmillenon/pktbuf/api/use-pkt
...
pktbuf: port to use pkt_t instead of void*
2015-02-19 14:46:15 +01:00
Martine Lenders
41f60aca4c
pktbuf: port to use ng_ version
2015-02-19 13:51:27 +01:00
Hauke Petersen
f33938078b
net/ng_netdev: changed return value of rem_cb
2015-02-18 18:05:23 +01:00
Oleg Hahm
ccd3db6ae8
Merge pull request #2431 from BytesGalore/fix_rpl_correct_byte_order
...
sys/net/routing/rpl: apply correct byte order for RPL messages
2015-02-17 21:46:05 +01:00
BytesGalore
5a0eba2b1e
sys/net/routing/rpl: apply correct byte order for RPL messages
2015-02-17 20:41:11 +01:00
Oleg Hahm
a6e902ff42
Merge pull request #2455 from authmillenon/ng_protnum/feat/initial
...
ng_protonum: Initial import of protocol number defines
2015-02-17 19:54:13 +01:00
Martine Lenders
c4e6504c8e
ng_protonum: Initial import of protocol number defines
2015-02-17 19:17:14 +01:00
Martine Lenders
1126c97dcf
ng_pktqueue: fix documentation
2015-02-15 12:57:43 +01:00
Martine Lenders
fc441064b9
ng_pkt: fix documentation
2015-02-15 12:57:43 +01:00
Martine Lenders
3837e31f59
ng_nettype: fix documentation
2015-02-15 12:57:42 +01:00
Martine Lenders
d32aa48413
ng_netreg: fix documentation
2015-02-15 12:57:42 +01:00
Martine Lenders
84754c1b83
ng_netif: fix documentation
2015-02-13 12:43:42 +01:00
Martine Lenders
580eb63835
ng_netdev: fix documentation
2015-02-13 12:43:37 +01:00
Martine Lenders
0b95b3ae40
ng_netconf: fix documentation
2015-02-13 12:42:46 +01:00
Martine Lenders
c601b72ba7
ng_netapi: fix documentation
2015-02-13 12:42:24 +01:00
Martine Lenders
c80c04d6ed
netreg: Initial import
2015-02-12 16:13:38 +01:00
Martine Lenders
e6f21eee97
Merge pull request #2441 from thomaseichinger/ng_netconf_reset
...
net/ng_netconf: add reset state to ng_netconf_state_t
2015-02-12 15:01:47 +01:00
Martine Lenders
c6777ffeed
Merge pull request #2427 from authmillenon/netapi/api/naming-fixup
...
netdev: unify msg type macro with msg type macros in netapi
2015-02-12 12:02:50 +01:00
Thomas Eichinger
6a425b5784
net/ng_netconf: add reset state to ng_netconf_state_t
2015-02-12 11:48:34 +01:00
Martine Lenders
15a6e2066d
netdev: piggy-back some formatting error
2015-02-11 20:04:58 +01:00
Ludwig Ortmann
a6d9b57930
Merge pull request #2436 from LudwigOrtmann/pr/nstf_doxygen_fixup
...
nstf doxygen fixup
2015-02-11 18:10:55 +01:00
Johann Fischer
2c703e5732
Merge pull request #2434 from jfischer-phytec-iot/fix@recv_ieee802154_frame
...
Fix packet processing in mac layer.
2015-02-11 16:12:08 +01:00
Ludwig Ortmann
c6fb00a235
netconf: fix doxygen
2015-02-11 13:44:08 +01:00
Ludwig Ortmann
eaa9102a6a
netif: fix doxygen
2015-02-11 13:42:06 +01:00
Martine Lenders
b208371163
Merge pull request #2417 from authmillenon/netif/feat/initial
...
netif: Initial import of ng_* version
2015-02-11 12:41:54 +01:00
Martine Lenders
cfc64ff4de
Merge pull request #2342 from authmillenon/pkt/api/simplify
...
pkt: simplify API
2015-02-11 12:41:43 +01:00
Johann Fischer
ce423816af
sys/net/network_layer/sixlowpan/mac.c: add missing p->processing--;
2015-02-11 11:57:46 +01:00
Martine Lenders
cb74094edd
pktqueue: adapt to change in pkt.h
2015-02-11 11:01:33 +01:00
Martine Lenders
7317097db2
pkt: simplify API
2015-02-11 11:01:33 +01:00
Martine Lenders
894cd964f9
netif: Initial import of ng_* version
2015-02-11 10:52:51 +01:00
Martine Lenders
934806394f
netdev: unify msg type macro with msg type macros in netapi
2015-02-10 18:19:04 +01:00
Hauke Petersen
c2cfd89fa5
net/ng_netapi: fixed get/set msg type macro names
2015-02-10 18:04:32 +01:00
Hauke Petersen
bf95a8f089
Merge pull request #2425 from haukepetersen/ng_fix_netdev
...
net/ng_netdev: fixed msg type macro name
2015-02-10 17:46:05 +01:00
Hauke Petersen
157fea687b
Merge pull request #2424 from haukepetersen/ng_fix_netapi
...
net/ng_netapi: fixed typo
2015-02-10 17:45:56 +01:00
Hauke Petersen
f9e2404772
net/ng_netdev: fixed msg type macro name
2015-02-10 17:26:49 +01:00
Hauke Petersen
28ad246c9f
net/ng_netapi: fixed typo
2015-02-10 17:25:15 +01:00
Ludwig Ortmann
4172566fb7
Merge pull request #2423 from LudwigOrtmann/pr/unittest-doc
...
unittest doxygen fixup
2015-02-10 17:17:11 +01:00
Ludwig Ortmann
bfd34a6855
Merge pull request #2421 from LudwigOrtmann/pr/netdev_ng_fixup
...
netdev_ng fixup
2015-02-10 16:55:35 +01:00
Ludwig Ortmann
5db7cb8cc5
sys/embunit: don't doxygen embunit.h content
2015-02-10 15:42:33 +01:00
Ludwig Ortmann
7b0e3c7f74
sys/embunit: add wiki link
2015-02-10 15:42:33 +01:00
Ludwig Ortmann
9d6a3ac46a
sys/embunit: fix doxygen declaration
2015-02-10 15:42:33 +01:00
Martine Lenders
e5e1d0dd6d
Merge pull request #2397 from authmillenon/nettype/feat/initial
...
nettype: intial import
2015-02-10 15:10:08 +01:00
Lotte Steenbrink
52d51a781a
Merge pull request #2419 from BytesGalore/lowpan_release_mutex_on_unknown_iphc
...
sys/net/sixlowpan: prevent deadlock when no IPHC context is recognized
2015-02-10 14:46:35 +01:00
Hauke Petersen
d46d6541c1
Merge pull request #2399 from haukepetersen/ng_netconf
...
ng_net: add global configuration options
2015-02-10 14:26:27 +01:00
Ludwig Ortmann
8234bc87e7
ng_net: unify header guard
2015-02-10 14:22:36 +01:00
Ludwig Ortmann
3f055f18dd
ng_net: fix doxygen group
2015-02-10 14:22:15 +01:00
Martine Lenders
09ebb0e89c
Merge pull request #2400 from haukepetersen/ng_netapi
...
ng_net: add new version of NETAPI
2015-02-10 14:03:27 +01:00
Martine Lenders
9d36c05398
nettype: intial import
2015-02-10 13:32:10 +01:00
BytesGalore
c7eea4d0d5
sys/net/sixlowpan: change to release lowpan.c::lowpan_context_mutex
when no context is recognized
2015-02-10 12:27:56 +01:00
Hauke Petersen
c5c9c3dfab
ng_net: added global configuration options
2015-02-10 11:41:27 +01:00
Hauke Petersen
87e2b6db50
ng_net: added new version of NETAPI
2015-02-10 11:34:56 +01:00
Hauke Petersen
71496771c5
net: added ng version of the netdev interface
2015-02-09 18:53:04 +01:00
Martine Lenders
fe29514597
Merge pull request #2411 from cgundogan/ip_static_addr_str
...
ip: make addr_str static
2015-02-08 22:15:08 +01:00
Ludwig Ortmann
dd2da2fb71
Merge pull request #2405 from cgundogan/restrict_with_leading_underscores
...
Use `__restrict` instead of `restrict`
2015-02-08 22:07:23 +01:00
Cenk Gündoğan
4347039e88
ip: make addr_str static
...
When setting the `ENABLE_DEBUG` flag to *1* in ip.c,
the **rpl_udp** example won't compile, because the variable `addr_str`
is also defined in **rpl_udp.h** as extern.
Prefixing `addr_str` with `static` in ip.c solves this problem.
2015-02-08 22:07:19 +01:00
Martine Lenders
498313a23f
doc: Add mail address where it is missing
2015-02-08 19:41:14 +01:00
Cenk Gündoğan
3ff5231ffd
sys: restrict => __restrict
2015-02-08 19:19:50 +01:00
Martine Lenders
0eb2d78dda
doc: use my real name
2015-02-08 18:52:16 +01:00
BytesGalore
4b189b6e58
rpl: added configurable RPL MOP on compile time
...
- e.g. `make RPL_MOP=RPL_MOP_NON_STORING_MODE`
- changed the MOP defines to have `RPL_MOP_*` prefix
2015-02-05 19:17:51 +01:00
Christian Mehlis
f69a5ae1f6
Merge pull request #2374 from cgundogan/bloom_doc_bytes_bits
...
sys/bloom: changed doc from bytes -> bits
2015-02-03 18:16:27 +01:00
Cenk Gündoğan
13e7bbccfc
rpl: wrong length for DAO options
2015-02-03 11:47:07 +01:00
Cenk Gündoğan
c14217c68e
rpl: introduce constants for PREFIX_INFO length with/without RPL_OPT_LEN
2015-02-03 10:41:28 +01:00
Cenk Gündoğan
26095013a1
rpl: introduce constants for DODAG_CONF length with and without RPL_OPT_LEN
2015-02-03 10:41:27 +01:00
Cenk Gündoğan
432688accb
rpl: wrong length of DIO options
...
Currently, the DIO options `dodag conf` and `prefix info` are off by two
bytes in their `length` field. The RFC states, that the length field
should not include the option `type` field and the `length` field (two bytes).
For Prefix Info Option: Option Length: 30 (RFC 6550, P.61)
For Dodag Conf Option: Option Length: 14 (RFC 6550, P.52)
Wireshark complains about DIOs as malformed packets, otherwise.
Can be reproduced by running the rpl_udp example and logging the DIOs
via wireshark.
2015-02-03 10:41:27 +01:00
Cenk Gündoğan
eb202ffe6d
rpl: remove unsused warning
2015-02-02 12:54:58 +01:00
Cenk Gündoğan
f3c6ef7e66
rpl: remove common globals by prefixing with static
2015-02-02 12:54:58 +01:00
Oleg Hahm
5792f37e87
Merge pull request #2367 from x3ro/fix-orphaned-debug-outputs
...
Fix misc errors that occur with ENABLE_DEBUG
2015-01-30 11:05:44 +01:00
Lucas Jenss
8e758d7463
sys: Misc errors that occur w/ ENABLE_DEBUG fixed
...
I enabled debug output in all files to poke around
and there were some errors (seemingly) due to code
changes that were not tested with debug enabled. This
commits tries to fix these issues.
2015-01-30 01:36:28 +01:00
Cenk Gündoğan
5c77530da4
sys/bloom: changed doc from bytes -> bits
2015-01-29 15:06:01 +01:00
Oleg Hahm
6715bccf5b
Merge pull request #2190 from cgundogan/rpl_new_parent_dodag_assignment
...
rpl: wrong dodag assignment to parent
2015-01-29 11:24:38 +01:00
Martin Landsmann
6e90ad6d73
sys/posix/pthread: added dynamic pthread thread local storage
2015-01-27 23:04:12 +01:00
BytesGalore
714ee38355
boards: core: cpu: drivers: sys: added missing header guards
2015-01-27 19:10:57 +01:00
Cenk Gündoğan
993f7cc7c6
rpl: remove rpl_send_mutex
...
This PR is based on #2155 .
Since RPL/Trickle is only using one thread in #2155 , the send mutex becomes
obsolete and can be removed safely.
2015-01-27 12:35:41 +01:00
Joakim Gebart
f71f8322d9
Merge pull request #2348 from gebart/pr/fno-common-fixes1
...
Removing (some) common globals, working towards #2346
2015-01-26 09:11:10 +01:00
Joakim Gebart
14b4418e6b
transceiver: Reduce scope of globals in transceiever.c.
2015-01-23 20:06:40 +01:00
Joakim Gebart
3f4478e2bb
sixlowpan: Reduce scope on some globals in ip.c
2015-01-23 19:46:26 +01:00
Joakim Gebart
c5e1683a8c
rpl: Make ipv6_buf local.
2015-01-23 19:46:26 +01:00
Joakim Gebart
526a84093b
rpl: Remove extra definition of rpl_process_pid.
2015-01-23 19:46:26 +01:00
Joakim Gebart
6a810fe989
sys/net/routing: reduce scope of globals in etx_beaconing.c
2015-01-23 18:01:28 +01:00
Joakim Gebart
cd248f89f0
sixlowpan: reduce scope of globals in mac.c
2015-01-23 14:04:59 +01:00
haukepetersen
df9dabfa7d
net/udp: cleaned up header and documentation
2015-01-22 14:23:03 +01:00
Ludwig Ortmann
3d2b328288
sys/vtimer: bypass weak attribute missing on OSX
2015-01-22 10:24:27 +01:00
Oleg Hahm
f6a415a3d9
Merge pull request #2306 from cgundogan/rpl_no_macros_for_shell
...
rpl: wrong macro definitions in rpl shell commands
2015-01-16 22:00:11 +01:00
Martine Lenders
cfed38ae12
Merge pull request #2287 from authmillenon/pktqueue/api/use-pkt
...
pktqueue: adapt to pkt_t
2015-01-16 19:48:04 +01:00
Cenk Gündoğan
7095241555
rpl: wrong macro definitions in rpl shell commands
...
It appears that the values defined for RPL_NODE_IS_ROOT and
RPL_MAX_ROUTING_ENTRIES in the Makefile via CFLAGS are not recognized in
sc_rpl.c (my guess: they are only visible to the rpl module?)
Therefore RPL_MAX_ROUTING_ENTRIES is always set to 0, no matter how the
binary is compiled, thus resulting in the output "No routing table
available" for root nodes.
2015-01-15 10:56:22 +01:00
Cenk Gündoğan
c4b01b87bc
rpl: RPL/Trickle with only *one* thread
...
This PR proposes an approach to reduce the thread count of RPL.
The current RPL/Trickle stack needs about 5 threads to handle tasks
like updating the trickle timer, routing entries and the transmission of
DAOs.
This PR modifies RPL to use only one thread with a looped `msg_recv()` call.
The message is then multiplexed to the right task.
2015-01-14 19:42:13 +01:00
Martine Lenders
c9e2f5bdce
pktqueue: adapt to pkt_t
2015-01-14 14:53:37 +01:00
Ludwig Ortmann
8676a1972d
sys/timex: suppress passedByValue warnings
2015-01-14 11:57:01 +01:00
Oleg Hahm
2d874af904
Merge pull request #2158 from authmillenon/pkt/feat/initial-import
...
pkt: Initial import
2015-01-14 08:20:46 +01:00
Martine Lenders
99e2feca48
pkt: Initial import
...
This data type is bound to replace the `(netdev_hlist_t *ulh, void
*data)` tuples in netapi and netdev.
2015-01-14 07:04:56 +01:00
Martin Lenders
96502e2fd4
sys: net: Initial import of a basic MAC protocol layer
2015-01-14 06:58:48 +01:00
Oleg Hahm
34908f11a9
Merge pull request #2257 from cgundogan/rpl_fix_srh_for_storing_mode
...
rpl: node-to-node communication broken (rpl_udp)
2015-01-13 18:49:14 +01:00
Oleg Hahm
a31bc97e1c
Merge pull request #2253 from cgundogan/rpl_srh_remove_relay_debugf
...
rpl: move msg_send_receive outside of DEBUGF
2015-01-13 14:43:18 +01:00
Ludwig Ortmann
154a6b5d22
Merge pull request #2268 from cgundogan/rpl_cleanup_no_routing_table
...
rpl: remove routing table dependent code
2015-01-13 14:09:32 +01:00
Oleg Hahm
0421ab96ee
Merge pull request #2245 from cgundogan/rpl_remove_routing_decision_in_rpl_send
...
rpl: remove decision to drop packets in rpl_send
2015-01-13 14:04:53 +01:00
Cenk Gündoğan
a06c667af5
rpl: remove routing table dependent code
...
This PR removes code depending on a routing table with an entries
size > 0. Currently, all those functions and symbols are compiled into the binary,
even when there is no effective space in the routing table (as it is the
case for normal nodes in non-storing mode)
2015-01-13 13:11:32 +01:00
Oleg Hahm
4a615e21ef
Merge pull request #1717 from BytesGalore/base64_encoder_decoder
...
base64 encoding/decoding module
2015-01-12 16:39:08 +01:00
Martin Landsmann
a0898dbb9f
sys: add base64 encoding/decoding module
...
- suppressed cppcheck warning for `unassignedVariable` for
the encode/decode arrays in stream encode/decode tests
as these arrays are assigned by the according `base64_[en|de]code()` function.
2015-01-12 11:26:41 +01:00
Cenk Gündoğan
22f466ab80
rpl: remove needless call to rpl_get_of_for_ocp
...
This line has no further significance to the application other than burning cpu cycles.
2015-01-08 09:40:08 +01:00
Cenk Gündoğan
da12f62751
rpl: remove return value completely as it is not really used, gives
...
`unsused` warning otherwise
2015-01-08 09:31:30 +01:00
Lotte Steenbrink
3591894698
aodvv2: fix calls to DEBUG()
...
``debug.h`` was included before ``ENABLE_DEBUG`` was set to 0 or 1. In consequence, setting ``ENABLE_DEBUG`` to 1 had no effect. This should be fixed now.
2015-01-06 15:57:12 -08:00
Lotte Steenbrink
f6ffbd6830
Merge pull request #2255 from Lotterleben/aodvv2_fix_packethandler
...
aodv: call aodv_packet_reader_handle_packet() when received packet is *not* our own
2015-01-07 00:37:07 +01:00
Lotte Steenbrink
465f9096b1
aodvv2: call aodv_packet_reader_handle_packet() when recieved packet is *not* our own.
...
For some reason the call to aodv_packet_reader_handle_packet() got lumped in with the check if a received packet is ours. In consequence, all packets which were not sent by the node that received them (i.e. the important ones) were silently ignored, preventing any routes from being established.
This should be fixed now: foreign packets are now handled again, while own packets are ignored.
Also, I made the corresponding comment a bit less passive-aggressive.
2015-01-06 12:54:14 -08:00
Cenk Gündoğan
40c28dd3bf
rpl: node-to-node communication broken (rpl_udp)
...
Calling ipv6_iface_set_srh_indicator with storing mode breaks the
neighbour discovery code in **ip.c:480**.
Thus, it is not possible to use `send <n> test` from node to node.
2015-01-06 18:04:54 +01:00
Lotte Steenbrink
7dc31402d3
transceiver: DEBUG instead of DEBUGF
...
Switch two calls to DEBUGF() to DEBUG() because they lead to compliling complcations and the additional output provided by DEBUG isn't really necessary here.
2015-01-06 08:29:29 -08:00
Cenk Gündoğan
843be5ad6d
rpl: minor changes to comments in rpl_storing.c
2015-01-06 13:24:42 +01:00
Cenk Gündoğan
d4b57b301d
rpl: move msg_send_receive outside of DEBUGF
...
When the debug flag is set to off, the call to msg_send_receive will be
ignored. @fabianbrandt am I missing something?
2015-01-06 13:04:26 +01:00
Oleg Hahm
be67f662ac
Merge pull request #2248 from cgundogan/rpl_remove_faulty_comment
...
rpl: remove faulty comment
2015-01-06 12:55:15 +01:00
Cenk Gündoğan
8b7386fc8b
rpl: remove faulty comment
...
Can be misleading since we also support non-storing mode now.
2015-01-06 10:24:25 +01:00
Cenk Gündoğan
652b4f84a6
rpl: remove decision to drop packets in rpl_send
...
The dicision to drop a packet if no next hop exists is made by the
`rpl_get_next_hop` function, which is initialized as the routing
provider for rpl applications. Hence, it seems needless to do this in the
`rpl_send` function.
2015-01-06 09:34:15 +01:00
Cenk Gündoğan
36893ded6d
rpl: typo childs -> children
2015-01-06 09:23:56 +01:00
Oleg Hahm
1e87a3212b
Merge pull request #2235 from OlegHahm/weak_vtimer_gettimeofday
...
vtimer: enable vtimer_gettimeofday as fallback
2014-12-31 18:27:36 +01:00
Oleg Hahm
99f227bf33
vtimer: enable vtimer_gettimeofday as fallback
...
Declaring vtimer_gettimeofday as a "weak" alias for the _gettimeofday
syscall.
2014-12-27 15:53:23 +01:00
Cenk Gündoğan
aca1ade01c
rpl: cleanup, changing structdefs into typedefs
2014-12-26 21:13:33 +01:00
Ludwig Ortmann
dc916ad458
Merge pull request #2102 from Kijewski/embunit-module
...
tests: make embUnit a normal sys module
2014-12-22 12:50:26 +01:00
Ludwig Ortmann
5e0973ca89
Merge pull request #2150 from OlegHahm/more_doc_cleanup
...
doc: More documentation cleanup
2014-12-22 11:58:59 +01:00
René Kijewski
91050cd72d
embunit: fix outputters for msp430
2014-12-21 20:04:57 +01:00
René Kijewski
f684aa4b2d
tests: make embUnit a normal sys module
...
There is nothing quite special about embUnit.
This PR makes it a normal sys module, so that you can use it in any
application / test.
2014-12-21 20:04:57 +01:00
René Kijewski
5f29fed076
core: introduce msg_sent_by_int()
...
msg_send_int() sets `m->sender_pid = target_pid`. This was used to flag a
message as having been sent by an ISR.
This PR introduces a static inline function `msg_sent_by_int()` and a
specific define for this purpose.
2014-12-18 23:04:03 +01:00
Ludwig Ortmann
695d702b4f
Merge pull request #2212 from Lotterleben/fix_ipv6_iface_set_routing_provider
...
exclude ``ipv6_iface_set_routing_provider()`` from ``#ifdef MODULE_RPL``...
2014-12-17 19:03:47 +01:00
Ludwig Ortmann
b8b50e8579
Merge pull request #2210 from Lotterleben/fix_sixlowpan_typos
...
fix typos in ip.h, mac.h, ndp.h and types.h
2014-12-17 12:32:35 +01:00
Lotte Steenbrink
743146a803
fix typos in ip.h, mac.h, ndp.h and types.h
2014-12-17 03:29:37 -08:00
Lotte Steenbrink
1bd60400f0
add parentheses to ENABLE_DEBUG in CBOR_NO_PRINT
2014-12-17 03:03:33 -08:00
Lotte Steenbrink
a8b3c9f535
exclude `ipv6_iface_set_routing_provider()
from
#ifdef MODULE_RPL
` so that other routing protocols can use it too.
2014-12-17 02:09:09 -08:00
Ludwig Ortmann
e7f6f640f6
Merge pull request #2060 from OlegHahm/periph_rtc
...
drivers: Adapt old platforms to periph rtc
2014-12-16 18:56:59 +01:00
Oleg Hahm
498edb1854
cc430: lpc2387: switch to new periph/rtc interface
...
Removes the old interface.
2014-12-16 17:02:44 +01:00
Ludwig Ortmann
ca36e9c4a7
sys/shell: refactor _parse_time
2014-12-16 16:15:17 +01:00
Ludwig Ortmann
3729789dc3
sys/shell: use more common libc calls
...
use strtol instead of sscanf
use plain printf instead of asctime
2014-12-16 16:08:49 +01:00
Ludwig Ortmann
4942882949
sys/shell: rewrite rtc command for periph/rtc
2014-12-16 16:07:01 +01:00
Oleg Hahm
e64ab2aed5
Merge pull request #2024 from OlegHahm/ccnl_802154
...
ccn-lite: fixes for working with IEEE 802.15.4 radios
2014-12-16 11:03:20 +01:00
Oleg Hahm
1bd4b1b407
ccnl: convert C++ comments into C style comments
2014-12-16 09:35:46 +01:00
Oleg Hahm
ee386a4778
ccn: add line breaks if limit was exceeded
2014-12-16 09:35:44 +01:00
Oleg Hahm
5cf625fc03
ccnl: adapt for 802154 devices
2014-12-16 09:34:56 +01:00
Ludwig Ortmann
68ca082dcc
sixlowpan: handle malloc error
...
The return value of malloc wasn't checked before, resulting in
possibly undefined behavior.
2014-12-14 11:32:30 +01:00
Ludwig Ortmann
5e6d5ab522
sixlowpan: remove redundant assignment
2014-12-14 11:32:30 +01:00
Cenk Gündoğan
eeafd426d5
rpl: wrong dodag assignment to parent
...
`dodag` is the representation of the incoming DIO and thus is temporary.
Assigning this to the parent would lead to failure when reading/writing
to/from the parent's dodag attribute later.
`my_dodag`on the other hand is the local persistent representation of
the DIO's dodag and therefore the right choice.
2014-12-14 09:41:42 +01:00
Oleg Hahm
a10cb114c5
Merge pull request #2169 from BytesGalore/rpl_configuarbale_max_routing_entries
...
sys:net:routing:rpl allow setting the number of routing entries on comile time
2014-12-12 17:53:23 +01:00
Fabian Nack
5a095faa54
sys/include: Include utlist for simple list operation defines
2014-12-12 12:18:34 +01:00
BytesGalore
0ced7338e4
sys:net:routing:rpl made the number of routing entries configurable on compile time.
2014-12-12 09:42:33 +01:00
Oleg Hahm
d4166faccc
doc: add or move module description where missing
2014-12-11 17:29:51 +01:00
Oleg Hahm
73248cc05e
doc: put rpl_storing header to right doxygen group
2014-12-11 17:27:56 +01:00
Oleg Hahm
11d0a22ad7
doc: remove superfluous and erroneous @file params
2014-12-11 17:27:54 +01:00
Cenk Gündoğan
2a7ce79947
ip: check for null before ip_get_next_hop is used
2014-12-11 15:43:16 +01:00
Cenk Gündoğan
6ee5e737f9
vtimer: set custom msg_t.type with vtimer_set_msg
...
Currently, when using vtimer_set_msg the corresponding msg_t is filled
with the MSG_TIMER ("12345") type.
This approach makes it difficult to differentiate between incoming
messages via vtimer_set_msg.
In this PR I introduce another parameter for the vtimer_set_msg
function to specify a custom msg_t type.
2014-12-09 10:07:26 +01:00
Ludwig Ortmann
0027f90be4
Merge pull request #2118 from OlegHahm/simplify_cpu_folder_structure
...
cpu: simplify folder structure
2014-12-08 13:10:13 +01:00
Oleg Hahm
6ad89ff46c
sys: rename lib to hash_string
...
That was the onyl remaining module in this folder.
2014-12-06 15:42:01 +01:00
Oleg Hahm
a9ed34a293
doc: fixed documentation for crypto headers
2014-12-06 11:55:28 +01:00
Oleg Hahm
26ab4829d7
doc: fix posix wrapper documentation
2014-12-06 02:05:51 +01:00
Oleg Hahm
364e60d84c
doc: fix quat_math documentation
2014-12-06 01:27:23 +01:00
Oleg Hahm
1288b3f9cb
doc: fix bloom filter documentation
2014-12-06 01:26:12 +01:00
Oleg Hahm
fb3e8939df
doc: fix vtimer documentation
2014-12-05 20:33:10 +01:00
Oleg Hahm
6c762d683b
doc: added missing documentation for PRIu32
2014-12-05 20:33:10 +01:00
Oleg Hahm
a3ea98c063
doc: fixed documentation for transceiver
2014-12-05 20:33:10 +01:00
Oleg Hahm
45ea87f403
doc: cbor: complemented documentation
2014-12-05 20:33:10 +01:00
Oleg Hahm
1270edace6
cbor: fixe line length
2014-12-05 20:33:10 +01:00
Oleg Hahm
93c7627f07
doc: fix doxygen warnings for CBOR
2014-12-05 20:33:10 +01:00
Oleg Hahm
67a2b37ff8
cc110x: cleanup cc110x_legacy_csma driver
...
Remove unused radio_t struct and fixed documentation.
2014-12-05 20:33:10 +01:00
Oleg Hahm
da3377bf6d
doc: document board_uart0 module
2014-12-05 20:33:10 +01:00
Oleg Hahm
cd81c040d8
uart0: remove superfluous prototype from header
...
Declare and document prototype in CPU part instead.
2014-12-05 20:33:10 +01:00
Oleg Hahm
752836f0b6
doc: document auto_init
2014-12-05 20:33:09 +01:00
Cenk Gündoğan
42d0fe3f78
rpl: removing unnecessary recv_mutex
...
In the main function of RPL (rpl_process thread)
a mutex is used after receiving a message via msg_recv.
However, this mutex is never used in another thread and thus is rendered
obsolete.
2014-12-05 16:31:41 +01:00
Oleg Hahm
312e2b10a8
Merge pull request #2146 from cgundogan/rpl_unused_parameter_warning_nonstoring
...
rpl: make unused parameter warning disappear
2014-12-05 15:11:01 +01:00
Cenk Gündoğan
6bfb82ca13
rpl: make unused parameter warning disappear
2014-12-05 14:16:11 +01:00
Cenk Gündoğan
8d31f8b8ed
rpl: fix offset for transit buf
...
As a result of PR #1404 , entries will not be added to the routing table
when running in storing mode, although it is supposed to do so.
You can verify by running rpl_udp and call *route* on the dodag-root.
This PR fixes the wrong offset calculation.
2014-12-05 13:45:22 +01:00
Oleg Hahm
000450c894
Merge pull request #2117 from OlegHahm/doxygen_eliminate_warnings
...
Doxygen eliminate warnings pt. 2
2014-12-04 17:18:42 +01:00
Oleg Hahm
43c86b5a3e
doc: fix remaining doxygen warnings
2014-12-04 17:16:57 +01:00
Oleg Hahm
0ccf1043de
doc: fixed broken doxygen references
2014-12-04 17:16:57 +01:00
Ludwig Ortmann
28e5b1bb9a
Merge pull request #2134 from cgundogan/rpl_addr_str_debug_fix
...
rpl: addr_str not renamed to addr_str_mode
2014-12-04 11:34:40 +01:00