526917b8cc
Merge pull request #5758 from miri64/sock/api/initial
...
sock: Introduction of new application layer API
2016-09-27 23:10:35 +02:00
Martine Lenders
5dad8f1edd
gnrc_pktbuf: allow for 0-sized payload snips
2016-09-27 21:49:57 +02:00
Martine Lenders
f99bbbfda9
Merge pull request #5381 from cgundogan/pr/netstats_rpl
...
gnrc_rpl: introduce control plane traffic statistics
2016-09-27 21:06:00 +02:00
Cenk Gündoğan
ad6677b33f
gnrc_rpl: netstats_rpl: introduce statistics
2016-09-27 20:40:04 +02:00
Martine Lenders
3c005b64b6
Merge pull request #5692 from BytesGalore/md5_change_parameter_type
...
hashes/md5: changed data-parameter types to `void*`
2016-09-27 20:07:11 +02:00
BytesGalore
4fa3a83910
hashes/md5: changed data-parameter types to void*
2016-09-27 18:53:43 +02:00
Martine Lenders
3a204d69b4
Merge pull request #5691 from BytesGalore/sha1_change_parameter_type
...
hashes/sha1: changed data-parameter pointers to `void*`
2016-09-27 18:48:31 +02:00
BytesGalore
9818d053f4
hashes/sha256: changed data pointer parameters to void*
2016-09-27 06:36:08 +02:00
Martine Lenders
262d0d7573
gnrc_netreg: introduce helper macro/function for entry init
2016-09-26 16:00:56 +02:00
Martine Lenders
9dc4023112
ndp: add missing header include
...
sys/include/net/ndp.h uses IPv6 addresses in NDP message type definitions but up
until now the according header wasn't included.
2016-09-23 20:23:42 +02:00
Oleg Hahm
6a8a829a42
Merge pull request #5803 from miri64/auto_init_gnrc_netif/fix/mac-prios
...
auto_init_gnrc_netif: set priorities one lower than 6LoWPAN
2016-09-23 00:38:33 +02:00
smlng
0784b9a812
gnrc_rpl: add explanatory links to RFC sections
2016-09-21 13:45:25 +02:00
smlng
4ae107626a
gnrc_rpl: correct (some) default params
2016-09-21 13:34:36 +02:00
smlng
fbafcc39ac
gnrc_rpl: modify RPL default parameters in Makefile
2016-09-21 13:33:55 +02:00
Martine Lenders
4fa36e6128
auto_init_gnrc_netif: set priorities one lower than 6LoWPAN
2016-09-20 15:43:11 +02:00
Martine Lenders
09703e1fdf
fixup! sock: Introduction of new application layer API
...
Add more error classes
2016-09-02 19:02:33 +02:00
Martine Lenders
d17ef910f0
fixup! sock: Introduction of new application layer API
...
Include missing header
2016-09-02 18:59:34 +02:00
Martine Lenders
b43ffab953
Merge pull request #5515 from miri64/csma_sender/fix/adaptations
...
csma_sender: fixes and adaptions
2016-09-02 10:12:38 +02:00
Martine Lenders
dd7fb1c63b
Merge pull request #5228 from OlegHahm/gnrc_ipv6_hdr_get
...
gnrc ipv6: convenient function to get the header
2016-09-01 23:16:49 +02:00
Martine Lenders
cd505b5a71
Merge pull request #5767 from zhuoshuguo/fix_sys_crypto_header_include_guards
...
fix sys/crypto header include guards.
2016-09-01 18:05:36 +02:00
Shuguo Zhuo
4a0720fd21
sys/crypto: Rename header include guards.
2016-09-01 16:56:13 +02:00
Martine Lenders
3f82b530ad
Merge pull request #5765 from zhuoshuguo/revise_sys_embunit_header_include_guards
...
Fix sys/embunit header include guards.
2016-09-01 16:13:38 +02:00
Shuguo Zhuo
76f593af11
sys/embunit: revised header include guards.
2016-09-01 15:33:23 +02:00
b3a061e0ab
sys: remove config module
2016-08-27 07:57:09 +02:00
Martine Lenders
73861e2c15
fixup! sock: Introduction of new application layer API
...
Fix some typos
2016-08-25 17:55:11 +02:00
Martine Lenders
ce205afc57
fixup! sock: Introduction of new application layer API
...
sock_ip: Provide proto parameter to send in case sock == NULL.
2016-08-25 16:02:47 +02:00
Martine Lenders
002be06c79
fixup! sock: Introduction of new application layer API
...
sock_tcp: more error code specifications and fixes
2016-08-25 11:37:01 +02:00
Martine Lenders
777c8f77b6
fixup! sock: Introduction of new application layer API
...
Add `-ECONNABORT` return for sock_tcp_read and sock_tcp_write.
2016-08-24 19:25:14 +02:00
Martine Lenders
26ee7248d5
fixup! sock: Introduction of new application layer API
...
Fix inheritence of _sock_tl_ep.
2016-08-23 00:36:39 +02:00
Martine Lenders
877cad9d66
fixup! sock: Introduction of new application layer API
...
Simplify static intializers.
2016-08-22 22:28:19 +02:00
Martine Lenders
1f74eae424
fixup! sock: Introduction of new application layer API
...
Fix some typedefs
2016-08-22 17:03:52 +02:00
Martine Lenders
a41bc13767
fixup! sock: Introduction of new application layer API
...
Reword confusing out-parameter doc in create functions
2016-08-20 02:39:58 +02:00
Martine Lenders
278f046d1d
fixup! sock: Introduction of new application layer API
...
Don't use netif parameter for static IP end-point initializers
2016-08-20 02:35:47 +02:00
Martine Lenders
a4fd05c6f6
fixup! sock: Introduction of new application layer API
...
Fix wrongly typedef'd endpoint
2016-08-20 02:33:32 +02:00
Martine Lenders
bb7736ac97
fixup! sock: Introduction of new application layer API
2016-08-19 17:43:42 +02:00
Martine Lenders
b24d9de9ae
fixup! sock: Introduction of new application layer API
2016-08-19 17:36:58 +02:00
Martine Lenders
01b0975072
fixup! sock: Introduction of new application layer API
2016-08-19 16:52:06 +02:00
Martine Lenders
6f06deff40
fixup! sock: Introduction of new application layer API
2016-08-19 16:17:35 +02:00
Martine Lenders
44af8765af
fixup! sock: Introduction of new application layer API
2016-08-19 15:33:00 +02:00
Martine Lenders
b71c2f334a
fixup! sock: Introduction of new application layer API
2016-08-19 15:27:15 +02:00
Martine Lenders
7ef177a8cb
sock: Introduction of new application layer API
...
This introduces a new alternative and better API to `conn`. It differs in the
following aspects:
* a common address type for both IPv4 and IPv6 addresses is introduced
* communication end-points are abstracted as end-point types `sock_x_ep_t`,
containing the address, its family, its port (if required for protocol) and
the interface identifier.
* All functions require some kind of state. Sending of datagrams to the same
source or replying to incoming datagrams is thus simplified
* TCP connection establishment was overall reworked: connected sockets and
listening sockets are now two distinct types. An accept on a listening socket
than yields a connected socket
2016-08-18 12:25:41 +02:00
Martine Lenders
cf11a0dab7
Merge pull request #5485 from jfischer-phytec-iot/pr@add-opt-netdev
...
add testmode and cca mode option to netdev
2016-08-05 15:51:56 +02:00
kYc0o
1b3012bcc6
Merge pull request #5612 from gebart/pr/xtimer-periodic-wakeup
...
xtimer: Refactor xtimer_usleep_until and rename to xtimer_periodic_wakeup
2016-07-29 13:44:26 +02:00
Joakim Nohlgård
4449ba4933
xtimer: Refactor xtimer_usleep_until and rename to xtimer_periodic_wakeup
...
Rewrote conditions for improved readability, and removed magic number 512
2016-07-29 13:05:02 +02:00
Johann Fischer
bfe6301572
sys/include/net/netopt.h: fix whitespace
2016-07-27 00:15:27 +02:00
Johann Fischer
14f0d1ce89
netopt.h: add new options to set the CCA and test modes
...
This patch adds two new options to netopt. NETOPT_CCA_MODE to set
the CCA mode corresponding to the respective PHY standard and
NETOPT_RF_TESTMODE to set the test mode for the radio.
2016-07-27 00:15:27 +02:00
BytesGalore
68d9f07eee
hashes/sha1: changed data-parameter types to void*
2016-07-26 10:03:58 +02:00
Martine Lenders
d9f759d1fd
gnrc: provide my thesis in documentation
2016-07-25 15:11:24 +02:00
Oleg Hahm
a2b9defc8b
gnrc ipv6: convenient function to get the header
2016-07-22 16:34:52 +02:00
Joakim Nohlgård
fb77ddfa8f
base64: Use stddef.h for size_t
2016-07-19 10:33:29 +02:00
Joakim Nohlgård
da8cd11816
xtimer: Move xtimer_spin_until into xtimer_core.c
2016-07-06 22:23:07 +02:00
Joakim Nohlgård
e4e1814602
xtimer: Remove old xtimer_trace.h include
...
The file was missing anyway.
2016-07-06 22:23:07 +02:00
Joakim Nohlgård
6768ae9c1f
xtimer: Rename timer_callback_t -> xtimer_callback_t
2016-07-06 22:23:06 +02:00
Joakim Nohlgård
7c70d3bc4f
xtimer: Add Eistec copyright and author
2016-07-06 22:23:05 +02:00
Joakim Nohlgård
4d862955c2
xtimer: Rename XTIMER -> XTIMER_DEV
2016-07-06 22:23:04 +02:00
Joakim Nohlgård
2f832117f8
xtimer: prefix _lltimer_now, _lltimer_mask with _xtimer
2016-07-06 22:23:04 +02:00
Joakim Nohlgård
8c90b1020b
xtimer: Split header into API and implementation
2016-07-06 22:23:04 +02:00
46bd2f45d9
sys: xtimer: replace XTIMER_MASK with XTIMER_WIDTH in board config
2016-07-06 18:16:15 +02:00
Martine Lenders
a7d7b1188d
Merge pull request #5517 from aabadie/saul_luminosity
...
sys/phydat: adding luminosity unit (Lux)
2016-06-06 11:38:54 +02:00
e2e3704973
sys/phydat: adding illuminance unit (Lux)
2016-06-06 11:04:11 +02:00
Cenk Gündoğan
7c5c3f2673
gnrc_rpl: doc fix
2016-06-05 23:05:59 +02:00
Martine Lenders
3c9e8ac80d
csma_sender: allow for multi-interface configuration
2016-06-05 14:29:03 +02:00
Martine Lenders
90201bfb6e
csma_sender: assure preconditions
2016-06-05 14:28:31 +02:00
Martine Lenders
a3f2cdd6ea
csma_sender: port to netdev2
2016-06-05 13:57:26 +02:00
Martine Lenders
925013cd4c
csma_sender: doc fixes
2016-06-05 13:57:10 +02:00
Martine Lenders
70b3b1426b
csma_sender: proper prefixing for public functions and macros
2016-06-05 13:57:09 +02:00
Martine Lenders
c1c797496c
csma_sender: adapt for changes in master
2016-06-05 13:57:09 +02:00
Martine Lenders
8426ca99ca
Merge pull request #4178 from rousselk/csma-sender
...
New 'csma_sender' helper module
2016-06-04 14:49:21 +02:00
7718f114cb
all: remove pointer casts for msg.content.ptr
2016-06-02 23:13:42 +02:00
aee6a6ad60
Merge pull request #5307 from kaspar030/add_fmt_types
...
sys: fmt: add fmt_u64_dec(), print_u64_dec()
2016-06-02 11:12:40 +02:00
5923f6b137
sys: fmt: add fmt_u64_dec()
2016-06-02 10:40:19 +02:00
Cenk Gündoğan
0613c8faf4
gnrc_rpl: validation configurable on compile-time
2016-06-01 09:07:55 +02:00
Cenk Gündoğan
2f9a37a624
gnrc_rpl: move len macros to header file
2016-06-01 09:05:24 +02:00
Cenk Gündoğan
a10151d5f0
Merge pull request #5440 from cgundogan/pr/auto_init/rpl
...
auto_init: initialize gnrc_rpl
2016-06-01 07:59:41 +02:00
Aaron Sowry
63a87fb639
Implement NETOPT_ACK_REQ configuration option.
...
Allows setting the acknowledgement request bit of 802.15.14
headers via netdev.
2016-06-01 10:11:28 +12:00
Cenk Gündoğan
e33011248f
gnrc_rpl: doc: add note about auto-initialization
2016-05-31 22:13:32 +02:00
Oleg Hahm
b3a4a0f542
Merge pull request #5178 from OlegHahm/netstats_l3
...
net: introduce IPv6 netstats
2016-05-25 15:12:46 +02:00
Oleg Hahm
6707c20b7d
netstats: initial import of IPv6 netstats
2016-05-25 14:44:53 +02:00
Oleg Hahm
ad5ad76db2
Merge pull request #5430 from mtausig/hash_interface
...
Unified interface of hashing functions
2016-05-24 17:12:25 +02:00
Mathias Tausig
ca5564f643
Cleanup: Corrected code style with uncrustify
2016-05-24 16:57:06 +02:00
Mathias Tausig
dfee5c3274
hashes: Unified the cryptographic hash functions
...
- Same signatures for XXX_init, XXX_update and XXX_final
- Same naming conventions and parameter types for all funtions in sha1.h
2016-05-24 16:52:30 +02:00
Andreas "Paul" Pauli
c805853c34
Merge pull request #5376 from OlegHahm/doxy_fixes
...
doc: document THREAD_STACKSIZE correctly and fix PRNG documentation
2016-05-18 15:00:10 +02:00
Oleg Hahm
b5bec6a58b
doc: xtimer: be a bit more precise
2016-04-26 13:55:54 +02:00
Yonezawa-T2
3e70191aee
Merge pull request #2842 from FrancescoErmini/drivers_xbee_encryption
...
drivers/xbee: add optional AES encryption support
2016-04-21 10:26:06 +09:00
Oleg Hahm
f6e9a789ed
random: doc: document generic PRNG interface
...
The header was still referring to the Mersenne Twister only
2016-04-20 18:47:04 +02:00
Francesco Ermini
9fa4684203
drivers/xbee: encryption support
...
add encryption to drivers
fix new line at the end of file
add shell command for enable encryption and set encryption key on a given device
modify _net_if_set_encrypt_key to support any key length
modify _net_if_set_encrypt_key to support any key length of the key
modify blank line
fix ace before tab in indent
fix ace before tab indent
fix ace before tab indent an error
fix trailing white space
drivers/xbee: encryption support
add encryption to drivers
fix new line at the end of file
add shell command for enable encryption and set encryption key on a given device
modify _net_if_set_encrypt_key to support any key length
modify _net_if_set_encrypt_key to support any key length of the key
modify blank line
fix ace before tab in indent
fix ace before tab indent
fix ace before tab indent an error
fix trailing white space
modify drivers/xbee/xbee.c
fix white spaces on xbee.c
Update xbee encryption driver
white line at end xbee.h
fix error
fix sc_netif.c
fix rebase master interactive
drivers/xbee: encryption support
add encryption to drivers
fix new line at the end of file
add shell command for enable encryption and set encryption key on a given device
modify _net_if_set_encrypt_key to support any key length
modify _net_if_set_encrypt_key to support any key length of the key
modify blank line
fix ace before tab in indent
fix ace before tab indent
fix ace before tab indent an error
fix trailing white space
drivers/xbee: encryption support
add encryption to drivers
fix new line at the end of file
add shell command for enable encryption and set encryption key on a given device
modify _net_if_set_encrypt_key to support any key length
modify _net_if_set_encrypt_key to support any key length of the key
modify blank line
fix ace before tab in indent
fix ace before tab indent
fix ace before tab indent an error
fix trailing white space
modify drivers/xbee/xbee.c
fix white spaces on xbee.c
Update xbee encryption driver
white line at end xbee.h
fix error
fix rebase conflict 4
fix same missing in patches changes
fix ascii to hex index parser
fix syntax rules
fix syntax issue 2
add _netopt_strmap NETOPT_ENCRYPTION e NETOPT_ENCRYPTION_KEY
fix trailng white spaces
2016-04-20 17:43:09 +02:00
Martine Lenders
452fc917c6
Merge pull request #5352 from authmillenon/gnrc_netdev/doc/add-deprecation
...
gnrc_netdev: add deprecation note
2016-04-20 15:11:25 +02:00
Hauke Petersen
4ace70199e
Merge pull request #5326 from authmillenon/gnrc_ipv6/fix/revert5179
...
gnrc_ipv6: Revert #5179
2016-04-20 14:34:07 +02:00
Martine Lenders
6dbb51553b
gnrc_netdev: add deprecation note
2016-04-20 14:00:58 +02:00
Ian Martin
963f8a495d
sys/xtimer: eliminate XTIMER_SHIFT_ON_COMPARE
2016-04-18 12:06:20 -04:00
Martine Lenders
9789eb249e
Revert "doc: mandatory netif snip for gnrc_ipv6 receive()"
...
This reverts commit f15e038efe
.
2016-04-17 14:06:41 +02:00
Hauke Petersen
5fe57b4659
Merge pull request #4725 from kaspar030/ethos_br_hack
...
simplified border router setup
2016-04-12 17:39:07 +02:00
DipSwitch
4275e18c08
doc: Fix minior doxygen errors in fib
2016-04-11 21:46:53 +02:00
DipSwitch
54413ece9f
fib: Remove _t from struct names
2016-04-11 21:46:53 +02:00
DipSwitch
7714133f7d
universal_address: Remove _t from struct names
2016-04-11 21:46:53 +02:00
DipSwitch
cd04690070
saul: Remove _t from struct names
2016-04-11 21:46:53 +02:00
4fb07a852d
sys: net: add UHCP protocol code and gnrc client implementation
2016-04-11 17:03:28 +02:00
kYc0o
6df58ac767
gnrc: use correct l2addr print len
2016-04-10 16:31:38 +02:00
Martine Lenders
627b80e4c3
netopt: fix typo in documentation
2016-04-09 13:25:36 +02:00
Martine Lenders
8ab89c473a
Merge pull request #4713 from authmillenon/pkg/port/emb6
...
pkg: initial import of emb6 stack
2016-04-01 00:35:54 +02:00