Martine S. Lenders
4bdd138021
gnrc_sock: update implementation for async callback argument
2020-03-11 16:54:11 +01:00
Martine S. Lenders
612e782b3c
sock_async: supply optional callback argument with callback setter
2020-03-11 16:54:11 +01:00
Martine S. Lenders
6e6e435c65
sock_async: add optional callback argument
2020-03-11 16:54:11 +01:00
Martine S. Lenders
b713413c52
gnrc_sock: provide asynchronous event implementation
2019-11-01 00:21:04 +01:00
Robin
e9047063ca
gnrc_sock_[udp|ip]: store return value before release
...
sock_[udp|ip]_recv returns `pkt->size` after pkt was released via `gnrc_pktbuf_release(pkt)`.
This can result in wrong values returned by this functions and thus is not according to its sepecification.
Storing this values before releasing pkt returning the stored values should fix this.
2018-11-12 14:58:26 +01:00
05b6af466c
sys: add missig <string.h> includes
2018-09-20 23:47:40 +02:00
Martine Lenders
cb74063573
gnrc_sock_udp: use sock's local end-point for listening
...
Without this fix the listener doesn't actually listen on the
(potentially) ephemeral port introduced in #9382 , but on port 0 which is
wrong.
2018-06-28 17:25:26 +02:00
Martine Lenders
a33399edf7
gnrc_sock_udp: provide fix for error state for full port pool
2018-06-20 14:51:18 +02:00
Martine Lenders
f8524cb4c0
gnrc_sock_udp: provide port for #9376 API fix
2018-06-20 14:51:17 +02:00
Martine Lenders
15d405f597
gnrc_sock: add more cppcheck suppressions
2018-03-06 12:20:56 +01:00
Martine Lenders
98e45c3d55
gnrc_sock: set remote network interface implicitly
...
When there is only one interface we are simplifying a lot for the users
if the interface is set implicitly.
2018-03-05 17:01:36 +01:00
Lucas Jenss
6998ffbb14
cppcheck: Provide consistent reason formatting for all cppcheck-suppresses
2017-10-10 10:25:20 -07:00
Martine Lenders
c2c2516a53
gnrc: fix cppcheck warnings
2017-04-14 14:36:14 +02:00
smlng
a9cb29c46b
gnrc_sock_udp: optimized remote ep handling
2017-01-18 13:23:12 +01:00
smlng
e2cf221a58
gnrc_sock_udp: get source port from dynmic port range
...
- get a new source port from a predefined range
- check if port already in use, if required
- refinded consistency checks for params of send()
2017-01-18 13:23:12 +01:00
Martine Lenders
50b1e7b6a5
gnrc_sock_udp: fix possibly dereferenced NULL pointer ( #6203 )
2016-12-13 09:03:57 +01:00
Martine Lenders
60d7b7efa2
gnrc_sock_udp: fixed minor bug
2016-10-30 18:48:41 +01:00
Martine Lenders
eb50b33fb5
gnrc_sock: actually **bind** implicitly
2016-10-29 20:58:27 +02:00
Martine Lenders
b971c575ad
gnrc_sock_udp: provide port for sock_udp
2016-10-26 15:20:38 +02:00