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

1014 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
69c593b80b netreg: add multiplexer for header building 2015-03-28 18:28:04 +01:00
Martine Lenders
903a9d54ce inet_csum: initial import of Internet Checksum module 2015-03-28 14:02:59 +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
Hauke Petersen
264f05bc62 net/ng_nomac: added missing return in event cb 2015-03-25 23:12:19 +01:00
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
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
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
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
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
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
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
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
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
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
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
Cenk Gündoğan
d7722c1766 rpl: expose global rpl_dodags variable 2015-03-19 11:03:43 +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
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
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
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
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
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
c1708682e8 ng_ipv6_nc: Initial import 2015-03-13 20:42:47 +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
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
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
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