zephyr/subsys/net/lib/sockets
Tomasz Bursztyka 34fe5545c9 net/socket: Use the new net_pkt API to read TCP payload
There is no need for appdata pointer: net_pkt's cursor is already at the
right position, i.e. the beginning of the payload right after all IP/TCP
headers.

Also, when reading the actual data, let's use net_pkt_read_new()
relevantly instead of going through the buffer by ourselves.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
2019-02-12 20:24:02 -05:00
..
CMakeLists.txt net: sockets: Add gethostname() call 2019-02-08 10:39:30 +02:00
getaddrinfo.c net: Clarify logging in networking code 2018-12-07 12:00:04 +02:00
Kconfig net: sockets: Remove extra "default n" setting from config 2019-02-08 16:01:49 +02:00
socket_offload.c net: sockets: Add fcntl to socket offloading API 2019-01-18 17:25:01 +02:00
sockets_can.c net: socket: can: Add getsockopt() and setsockopt() support 2019-02-07 18:08:27 +02:00
sockets_internal.h net: socket: can: Add socket CAN support 2019-02-07 18:08:27 +02:00
sockets_misc.c net: sockets: Add gethostname() call 2019-02-08 10:39:30 +02:00
sockets_packet.c net: sockets: Add socket api to support AF_PACKET 2019-02-07 14:43:30 +02:00
sockets_select.c net: sockets_select: Fix build without CONFIG_NET_SOCKETS_POSIX_NAMES 2019-01-29 09:19:54 +02:00
sockets_tls.c net: subsys: fixed comments CONFIG_NET* 2019-02-08 13:57:55 +02:00
sockets.c net/socket: Use the new net_pkt API to read TCP payload 2019-02-12 20:24:02 -05:00