Oleg Hahm
8861834de7
Merge pull request #3641 from cgundogan/pr/netif/docfix
...
sys/include/net/ng_ipv6/netif.h: docfix
2015-08-17 12:53:45 +02:00
Cenk Gündoğan
edc609d2e2
sys/include/net/ng_ipv6/netif.h: docfix
2015-08-17 11:49:05 +02:00
Martine Lenders
bce1cf618d
Merge pull request #3586 from daniel-k/fix/pktbuf_release_check_contains
...
ng_pktbuf_static: check if pkt is in buffer before derefencing in ng_pktbuf_release
2015-08-17 10:22:44 +02:00
Martine Lenders
2903667494
tests: adapt unittests for ipv6_hdr module division
2015-08-14 17:18:37 +02:00
Martine Lenders
4f650b31f9
ipv6: move non-GNRC types and functions in their own modules
2015-08-14 17:18:35 +02:00
Martine Lenders
9f3cef5f6a
gnrc_ipv6: return receive after forwarding
2015-08-14 14:19:31 +02:00
Martine Lenders
b82f11be81
gnrc_ndp: only lookup non-link-local addresses in FIB
2015-08-14 14:19:31 +02:00
Martine Lenders
2206e877e8
gnrc_ndp: assume anything in neighbor cache to be on-link
2015-08-13 20:44:38 +02:00
Martine Lenders
7d44d00379
gnrc_ndp: don't use FIB as destination cache for now
2015-08-13 20:44:07 +02:00
Hauke Petersen
e6a9549d16
Merge pull request #3213 from haukepetersen/add_pktbuf_iovecexport
...
net/ng_pktbuf: added IOVEC export function
2015-08-12 19:46:01 +02:00
Hauke Petersen
e93189288a
sys/libc/uio.h: added include of stdlib for size_t
2015-08-12 18:25:24 +02:00
Peter Kietzmann
5afc6700ac
Merge pull request #3616 from cgundogan/pr/shell/not_found_one_line
...
sys/shell/shell.c: command not found in one line
2015-08-12 17:11:16 +02:00
Oleg Hahm
6663679a8c
ndp: missing initialization
2015-08-12 16:09:30 +02:00
Cenk Gündoğan
4deb0213b9
sys/shell/shell.c: command not found in one line
2015-08-12 13:16:37 +02:00
Oleg Hahm
8639d2c27d
at86rf2xx: rename remaining files and variables
2015-08-11 23:52:02 +02:00
daniel-k
420d5e48ca
ng_pktbuf_static: check if pkt is in buffer before derefencing in ng_pktbuf_release
2015-08-11 23:40:04 +02:00
Martine Lenders
203561e741
ipv6_addr: remove ng_ prefix
2015-08-11 13:27:07 +02:00
Oleg Hahm
9aa96509ee
Merge pull request #3441 from authmillenon/gnrc/enh/prepare-multi-ndp
...
ng_ndp: prepare for parallel NDP implementations
2015-08-11 10:02:04 +02:00
Martine Lenders
fbea5092c3
ng_ipv6_netif: add functions for routing behavior changes
2015-08-11 02:49:18 +02:00
Martine Lenders
4e5fa612c1
ng_ndp: prepare for parallel NDP implementations
2015-08-11 02:49:18 +02:00
Martine Lenders
8aa8b60807
fib: doc fix
2015-08-11 02:29:28 +02:00
Martine Lenders
2e6c974c15
Merge pull request #3568 from haukepetersen/opt_fib_ngprefix
...
net/fib: removed any ng_'s from the FIB
2015-08-11 02:28:00 +02:00
Martine Lenders
c82dfda445
Merge pull request #3567 from authmillenon/timex/enh/timex_to_str
...
timex: make timex_to_str more efficient
2015-08-11 02:21:41 +02:00
Martine Lenders
293d0e3b58
ng_netapi: enhance documentation with references
2015-08-11 01:48:28 +02:00
Martine Lenders
ea48b48dd3
timex: make timex_to_str more efficient
2015-08-11 01:33:21 +02:00
Hauke Petersen
85fe67e629
net/fib: removed all ng prefixes from fib
2015-08-10 15:43:55 +02:00
Hauke Petersen
219fd0641f
net/ng_pktbuf: added IOVEC export function
2015-08-10 10:37:55 +02:00
Hauke Petersen
b7705feeff
net/ng_nettype: added pseudo-type for IOVEC snips
2015-08-10 10:37:55 +02:00
Hauke Petersen
ae83ab52af
net/ng_pkt: added function to count snips in pkt
2015-08-10 10:37:55 +02:00
Martine Lenders
a5e039cf4d
udp: put UDP header in its own module
2015-08-10 03:18:09 +02:00
Martine Lenders
54fe08feda
Merge pull request #3591 from authmillenon/at86rf2xx/api/mv
...
at86rf2xx: remove ng_ prefix
2015-08-10 02:53:26 +02:00
Martine Lenders
8f9e1656e1
at86rf2xx: remove ng_ prefix
2015-08-10 00:08:21 +02:00
Martine Lenders
f0cb1429f0
native: rename ng_nativenet to dev_eth_tap
2015-08-09 22:04:26 +02:00
Martine Lenders
ca71ae4f59
dev_eth: fix documentation
2015-08-09 22:02:10 +02:00
Oleg Hahm
9e5d717466
ipv6: fix and improve check for global address
...
* embedded IPv4 addresses are considered as global
* remove check for multicast
* consolidate loopback and unspecified check
2015-08-09 20:22:21 +02:00
Joakim Gebart
0a11d79e9d
sys/cpp11-compat: chrono: remove unused include cstdio
2015-08-08 14:44:41 +02:00
Joakim Gebart
d670d6eb51
sys/cpp11-compat: condition variable: fix includes
2015-08-08 14:44:41 +02:00
Joakim Gebart
248fb1c6c0
sys/cpp11-compat: Add C++ runtime helpers
...
cppsupport.cpp contains functions which are necessary in order to use
some features of the C++ language, e.g. calling static constructors or
virtual functions.
TODO/Not implemented yet:
- Test virtual functions
- Handle exceptions (stack unwinding)
- Run time type identification (RTTI)
2015-08-08 14:44:41 +02:00
Cenk Gündoğan
e24754b6eb
Merge pull request #3545 from cgundogan/pr/fib/shell
...
sys/shell: make dev parameter optional for fibroute
2015-08-08 09:22:50 +02:00
Cenk Gündoğan
6b36a0760b
sys/shell/commands/sc_fib.c: make dev param optional
2015-08-08 08:48:56 +02:00
Cenk Gündoğan
1168b1020d
ng_fib: pretty print ipv6 addresses
2015-08-08 08:17:39 +02:00
Martine Lenders
b256b9c256
Merge pull request #3579 from authmillenon/ether/api/mv-ether
...
ethernet/ethertype: remove ng_ prefix
2015-08-07 18:20:14 +02:00
Martine Lenders
9607ade1a1
Merge pull request #3582 from authmillenon/ieee802154/api/mv
...
ieee802154: remove ng_ prefix
2015-08-07 17:42:02 +02:00
Martine Lenders
59475feaff
Merge pull request #3583 from authmillenon/inet_csum/api/mv
...
inet_csum: remove ng_ prefix
2015-08-07 17:38:26 +02:00
Martine Lenders
0046d8fffb
Merge pull request #3572 from cgundogan/pr/sc_ipv6_nc/iface_optional_and_reset
...
sc_ipv6_nc: make iface optional and add reset function
2015-08-07 17:37:58 +02:00
Martine Lenders
472ee315f0
ethernet/ethertype: remove ng_ prefix
2015-08-07 17:09:19 +02:00
Martine Lenders
5c03268516
inet_csum: remove ng_ prefix
2015-08-07 16:59:13 +02:00
Martine Lenders
e8d5d5576a
gnrc: piggy-back some code style changes
2015-08-07 16:53:05 +02:00
Martine Lenders
b7545365df
protnum: remove ng_ prefix
2015-08-07 16:02:09 +02:00
Martine Lenders
9cf5e5fb6a
ieee802154: remove ng_ prefix
2015-08-07 14:36:04 +02:00
Peter Kietzmann
6908e07322
Merge pull request #3578 from tfar/sandbox/tobias/2015/08/cbor_bytestring_api
...
cbor: add API to encode non null-terminated byte strings
2015-08-07 09:34:59 +02:00
Oleg Hahm
1373795ec5
Merge pull request #3575 from OlegHahm/ipv6_more_address_types
...
Ipv6: more address types
2015-08-07 09:22:50 +02:00
Oleg Hahm
7845110369
ipv6: added checks for more address types
...
Added checks for:
* Global Unicast Addresses
* IPv6 Addresses with Embedded IPv4 Addresses
* IPv4-Compatible IPv6 Address
* IPv4-Mapped IPv6 Address
* Site-Local IPv6 Unicast Addresses
2015-08-07 08:15:05 +02:00
Martine Lenders
73a42314a5
Merge pull request #3576 from haukepetersen/mv_netopt
...
net: remove ng_ from netopt header
2015-08-07 07:17:42 +02:00
Tobias Markmann
f5418fa666
cbor: add API to encode non null-terminated byte strings
2015-08-06 22:30:44 +02:00
Oleg Hahm
edfd8012ed
ipv6: removed null-pointer reference in debug
2015-08-06 16:48:17 +02:00
Hauke Petersen
38956457a1
sys: adapted to renamed netopt header
2015-08-06 15:37:11 +02:00
Hauke Petersen
327de5ec06
net: made NETOPT independent from the gnrc stack
2015-08-06 15:24:52 +02:00
2633352f30
sys: make: remove obsolete ieee802154
2015-08-06 12:13:54 +02:00
a5642efc23
sys: net: remove ccnlite-ext-appserver
2015-08-06 12:13:19 +02:00
8fd237d550
sys: make: remove obsolete network Makefile includes
2015-08-06 12:13:19 +02:00
00a44c9147
sys: net: remove AODVv2
...
(will be upgraded to gnrc soon)
2015-08-06 12:13:19 +02:00
8f51256be8
sys: net: pnet: turn into dummy implementation based on gnrc
2015-08-06 12:13:19 +02:00
c60cd298c5
sys: net: get back socket_base
2015-08-06 12:13:19 +02:00
a227b7334f
sys: get back net_help include path
2015-08-06 12:13:19 +02:00
544cf33b17
sys: config: remove saving of obsolete transceiver config
2015-08-06 12:13:18 +02:00
5d8349298f
remove bulk of legacy network stack and drivers
2015-08-06 12:12:47 +02:00
Cenk Gündoğan
c7f9bce644
sc_ipv6_nc: add ncache reset functionality
2015-08-05 22:43:04 +02:00
Cenk Gündoğan
fa0b1ba441
sc_ipv6_nc: make iface optional for add
2015-08-05 22:37:25 +02:00
Hauke Petersen
ce73a7d1ca
Merge pull request #3558 from OlegHahm/initialize_pointer
...
ccn-lite: initialize pointer
2015-08-05 18:25:55 +02:00
Martine Lenders
6d9b928818
Merge pull request #3536 from cgundogan/pr/doc/todo
...
Make use of doxygen todo
2015-08-05 15:59:01 +02:00
Martine Lenders
0aef65bd76
Merge pull request #3559 from OlegHahm/channel_26_as_default
...
ieee802.15.4: switch to 26 as default channel
2015-08-05 15:51:57 +02:00
Oleg Hahm
9355f05cb7
Merge pull request #3560 from gebart/pr/newlib-getpid_r
...
sys/newlib: Small fixes
2015-08-05 15:50:08 +02:00
Cenk Gündoğan
71e57aa5bf
ng_ipv6: minor debug output fix
2015-08-05 14:17:25 +02:00
Cenk Gündoğan
09aeb31f1a
ng_ndp: minor doc fix
2015-08-05 14:16:59 +02:00
Peter Kietzmann
1e2fd34d1e
Merge pull request #3557 from OlegHahm/debug_cleanup
...
debug cleanup
2015-08-05 08:26:13 +02:00
Joakim Gebart
05fd5c16eb
sys/newlib/syscalls.c: Clean up _sbrk_r implementation
2015-08-04 21:05:08 +02:00
Joakim Gebart
e7bb223eaa
sys/newlib/syscalls.c: Clean up function prototypes
2015-08-04 21:04:34 +02:00
Joakim Gebart
b52c93fdc2
sys/newlib/syscalls.c: Add _getpid_r implementation
2015-08-04 19:55:49 +02:00
Oleg Hahm
761183bfd7
ieee802.15.4: switch to 26 as default channel
...
In order to avoid collisions with IEEE 802.11b networks, channel 25 or
26 is the best choice.
See for instance https://www.cs.umd.edu/~ctas/bibs/2007/4.pdf
2015-08-04 18:02:27 +02:00
Oleg Hahm
ebd68b21f4
ccn-lite: initialize pointer
2015-08-04 17:54:27 +02:00
Oleg Hahm
4f4b924e6f
crypto: replaced printf with DEBUGF
...
also getting rid of non-ISO compliant __FUNCTION__ macros
2015-08-04 17:47:40 +02:00
Joakim Gebart
e6a1366bec
ng_sixlowpan: Fix typo in preprocessor condition for calling pktbuf statistics
2015-08-04 17:25:21 +02:00
Benoît Canet
22da1f834b
native: ng: net: Close tap device and cleanup on reboot
2015-08-03 18:17:53 +02:00
Oleg Hahm
64544ee927
Merge pull request #3543 from cgundogan/pr/universal_address/cleanup
...
sys/universal_address: Makefile cleanup
2015-08-03 12:23:36 +02:00
BytesGalore
f3494b12f5
Merge pull request #3542 from cgundogan/pr/trickle/cleanup
...
sys/trickle: Makefile and include guards cleanup
2015-08-03 11:22:39 +02:00
Cenk Gündoğan
a2f4d990c6
sys/universal_address: Makefile cleanup
2015-08-03 11:18:16 +02:00
Cenk Gündoğan
355e60c5ff
timex: use doxygen todo
2015-08-03 11:00:21 +02:00
Cenk Gündoğan
7d2fdc528e
ng_zep: use doxygen todo
2015-08-03 11:00:21 +02:00
Cenk Gündoğan
ee133344bd
ng_icmpv6: use doxygen todo
2015-08-03 11:00:21 +02:00
Cenk Gündoğan
0d73cd301d
ng_fib: use doxygen todo
2015-08-03 11:00:21 +02:00
Cenk Gündoğan
a6f04dd090
cbor: use doxygen todo
2015-08-03 11:00:21 +02:00
Cenk Gündoğan
0738f67de0
Merge pull request #3017 from BytesGalore/fix_remove_misplaced_usemodule
...
sys/Makefile: del `USEMODULE`s for `transport_layer` already present in `Makefile.dep`
2015-08-03 10:55:46 +02:00
Oleg Hahm
2795d51d90
Merge pull request #3058 from cgundogan/universal_address_fib_split
...
sys/universal_address: separate universal_address from fib
2015-08-03 10:42:59 +02:00
Cenk Gündoğan
4a21c54547
sys/trickle: Makefile and include guard cleanup
2015-08-03 10:36:48 +02:00
Peter Kietzmann
ecf0f96ce4
Merge pull request #3519 from authmillenon/ng_sixlowpan_frag/bug/preempt-frag-sending
...
ng_sixlowpan_frag: preempt fragmentation
2015-08-03 08:32:41 +02:00
Martine Lenders
4d5d65a718
Merge pull request #3534 from cgundogan/pr/ng_pktbuf_static/minor_style_fix
...
ng_pktbuf_static: remove unnecessary parens
2015-07-31 19:45:07 +02:00
Martine Lenders
59e15220c2
Merge pull request #3533 from cgundogan/pr/ng_pktbuf_static/enhanced_pktbuf_contains
...
ng_pktbuf_static: enhance _pktbuf_contains
2015-07-31 19:40:17 +02:00
Cenk Gündoğan
aec0a703c6
ng_pktbuf_static: remove unnecessary parens
2015-07-31 19:14:49 +02:00
Cenk Gündoğan
b475bfd8f0
ng_pktbuf_static: enhance _pktbuf_contains
2015-07-31 18:44:39 +02:00
Cenk Gündoğan
58b672f83d
ng_pktbuf: minor doc fixes
2015-07-31 18:26:00 +02:00
Martine Lenders
5174f75bc2
ng_ipv6_netif: find source addresses for destinations from other subnets
2015-07-31 00:11:02 +02:00
Lotte Steenbrink
02f502ddab
Merge pull request #3492 from BytesGalore/fib_changed_prefix_size_name
...
fib: changed misleading parameter name and documentation
2015-07-30 23:31:32 +02:00
BytesGalore
f04c912493
fib: changed misleading parameter name and documentation
2015-07-30 19:10:04 +02:00
Cenk Gündoğan
ea5e371383
sys/universal_address: separate universal_address from fib
2015-07-30 18:34:48 +02:00
Hauke Petersen
db862f13a1
sys/shell_commands: fixed formatting in Makefile
2015-07-30 15:15:31 +02:00
Cenk Gündoğan
56170819d9
ng_fib: fix fib_print_address typo
2015-07-30 12:31:44 +02:00
Martine Lenders
c699fbaaf0
Merge pull request #3448 from authmillenon/ng_netreg/doc/its-a-trap
...
ng_netreg: warn about context overwrite
2015-07-29 14:22:19 +02:00
Martine Lenders
611e7f9335
ng_sixlowpan_frag: preempt fragmentation
2015-07-29 13:53:47 +02:00
Martine Lenders
074bb83628
auto_init: make MAC priorities higher than IPv6's
...
(and equal to 6LoWPAN's)
2015-07-29 13:51:07 +02:00
Martine Lenders
3d9945667f
Merge pull request #3496 from authmillenon/ng_pktbuf/enh/new_default
...
ng_pktbuf: new default packet buffer implementation
2015-07-29 02:08:46 +02:00
Martine Lenders
386d9f30cc
Merge pull request #3516 from authmillenon/ng_sixlowpan/fix/fix-the-dereviewed-fixes
...
ng_sixlowpan: fix the kaputt-reviewed fixes
2015-07-29 02:04:00 +02:00
Oleg Hahm
60198e494c
Merge pull request #3515 from haukepetersen/rm_net_deprecated
...
net: removed deprecated non-gnrc netapi
2015-07-29 01:07:21 +02:00
Martine Lenders
810654e178
ng_sixlowpan: fix the kaputt-reviewed fixes
2015-07-29 00:50:22 +02:00
Martine Lenders
377f5ccbee
gnrc: replace ng_pktbuf_add() with ng_pktbuf_mark() where it's needed
2015-07-29 00:47:30 +02:00
Martine Lenders
9e823076f4
ng_pktbuf: new default packet buffer implementation
2015-07-29 00:47:30 +02:00
Martine Lenders
41b0a2661a
ng_pktbuf: simplify API by extension
...
This simplifies the `ng_pktbuf` API by adding a new function
`ng_pktbuf_mark()` which takes over some functionality of
`ng_pktbuf_add()`. `size == 0` for `ng_pktbuf_add()` is now illegal.
2015-07-29 00:47:29 +02:00
Martine Lenders
9aff73b4a9
Merge pull request #3514 from authmillenon/shell/fix/icmpv6-stupid
...
shell: sc_icmpv6_echo: prepare for stupid users
2015-07-28 23:58:27 +02:00
Martine Lenders
952bee6804
Merge pull request #3513 from authmillenon/shell/fix/icmpv6_echo_pktbuf_full
...
shell: sc_icmpv6_echo: don't fail if packet buffer is full
2015-07-28 23:18:33 +02:00
Hauke Petersen
bce198ebf8
net: removed deprecated non-gnrc netapi
2015-07-28 23:10:21 +02:00
Martine Lenders
ce9b6e1990
shell: sc_icmpv6_echo: prepare for stupid users
2015-07-28 23:05:15 +02:00
Martine Lenders
e9cbadd3cd
shell: sc_icmpv6_echo: don't fail if packet buffer is full
2015-07-28 22:35:20 +02:00
Martine Lenders
cc298d8dd2
ng_sixlowpan: DEBUG fixes
2015-07-28 22:07:02 +02:00
Martine Lenders
c6fb2618c4
ng_{sixlowpan|ipv6}_netif: don't create ng_sixlowpan_netif_ts adhoc
2015-07-28 22:07:02 +02:00
Martine Lenders
dc2113d67a
ng_sixlowpan_frag: fixes
2015-07-28 22:07:02 +02:00
Oleg Hahm
03b7c7349a
Merge pull request #3457 from authmillenon/gnrc/api/rename-netconf
...
gnrc: rename ng_netconf to ng_netopt
2015-07-28 18:21:09 +02:00
Martine Lenders
de7dc143b7
ng_netapi: piggy-back cppcheck catch
2015-07-28 13:33:24 +02:00
Martine Lenders
6f56b983f0
gnrc: replace all instances of ng_netconf with ng_netopt
2015-07-28 13:33:12 +02:00
Martine Lenders
6a868d5f4c
gnrc: rename ng_netconf to ng_netopt
...
Since [NETCONF](https://tools.ietf.org/html/rfc4741 ) is also a network
protocol, the naming of this module already led to some issues regarding
communicating about it. This is just an initial rename commit to ask for
comments. If there is interest I will adapt the code using the types
defined here.
2015-07-28 13:30:17 +02:00
Martine Lenders
a583482c06
Merge pull request #3498 from authmillenon/ng_ipv6/fix/write-protect
...
ng_ipv6: fix write protect
2015-07-28 09:57:48 +02:00
Martine Lenders
26458336a8
ng_ipv6: fix write protect
2015-07-28 09:42:27 +02:00
BytesGalore
a0c891b5db
sys/Makefile: removed USEMODULE
s for transport_layer
already present in Makefile.dep
2015-07-27 14:04:30 +02:00
Martine Lenders
f29f3ab97d
ng_ipv6: piggy-back some astyle-fixes
2015-07-27 00:58:58 +02:00
Martine Lenders
f4989cc002
ng_ipv6: use ng_netapi_dispatch_send to dispatch to 6LoWPAN
2015-07-27 00:58:21 +02:00
Tobias Markmann
f5a991c476
shell: Fix statistic calculation in ping shell command
2015-07-26 16:15:30 +02:00
Martine Lenders
58d6f124b0
shell: ifconfig add capability to (un)set IPHC
2015-07-23 17:03:34 +02:00
BytesGalore
63cf9a3d4b
Merge pull request #3487 from OlegHahm/ndp_fib_fix_fix
...
ng_ndp: passing integer instead of pointer to fib
2015-07-23 10:39:39 +02:00
Thomas Eichinger
e416937398
Merge pull request #3390 from thomaseichinger/pr/fix_warning_errors_freebsd
...
native: fix warning errors freebsd
2015-07-23 10:11:29 +02:00
Oleg Hahm
2e05b1a5b3
ng_ndp: passing integer instead of pointer to fib
...
c1e20c5156
broke it.
2015-07-23 09:54:48 +02:00
Martine Lenders
3a47459ca0
ng_pktbuf: provide more detailed information in packet buffer stats
2015-07-22 23:20:23 +02:00
Lucas Jenß
b7bf949484
Merge pull request #2759 from x3ro/pr-1342-cryptofoo
...
Unified Cipher API and Block cipher operation modes: ECB, CBC, CTR and CCM
2015-07-22 21:16:32 +02:00
Martine Lenders
139a056f9c
Merge pull request #3479 from OlegHahm/sc_netif_default_prefix_len
...
shell: set default prefix length to 64 for ifconfig
2015-07-22 20:53:42 +02:00
Cenk Gündoğan
d4f5715a58
Merge pull request #3477 from OlegHahm/increase_ipv6_netif_numof
...
ipv6: increase number of addresses per interface
2015-07-22 20:51:33 +02:00
Oleg Hahm
3bae1a7066
shell: set default prefix length to 64 for ifconfig
2015-07-22 20:19:49 +02:00
Oleg Hahm
c1e20c5156
ndp: pass size to fib_get_next_hop as a pointer
2015-07-22 20:19:13 +02:00
Oleg Hahm
2ffd688e66
ipv6: increase number of addresses per interface
2015-07-22 19:54:12 +02:00
Nico von Geyso
4a4235c622
Unified Cipher API and Block cipher operation modes
2015-07-22 19:18:34 +02:00
Oleg Hahm
ebcd07f6aa
sixlowpan: suppress clang-analyzer report
2015-07-22 15:56:56 +02:00
Oleg Hahm
d4a0b3f5bd
gnrc: add some assertions
2015-07-22 15:56:52 +02:00
Oleg Hahm
e3165b49ac
gnrc: avoid potential null pointer dereferencing
2015-07-22 15:56:30 +02:00