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

1727 Commits

Author SHA1 Message Date
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
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
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