zephyr/subsys/net/lib/sockets
Robert Lubos bead038ba2 net: sockets: Fill the address structure provided in recvfrom()
The packet socket implementation did not fill the address structure
provided by the application. This commit fixes this.

Note, that the implementation needs to cover two cases: SOCK_RAW and
SOCK_DGRAM. In the first case, the information is extracted directly
from the L2 header (curently only Ethernet supported). In latter case,
the header is already removed from the packet as the L2 has already
processed the packet, so the information is obtained from the net_pkt
structure.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2022-08-01 18:02:20 +02:00
..
CMakeLists.txt net: socket: Add option to create native TLS sock with offloaded TCP 2022-04-20 11:27:05 +02:00
getaddrinfo.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
getnameinfo.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
Kconfig net: sockets: Move offloading out of experimental 2022-05-06 11:30:22 +02:00
socket_dispatcher.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
socket_offload.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
socketpair.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
sockets_can.c drivers: net: canbus: move CAN bus network driver to drivers/net 2022-07-13 10:34:51 +02:00
sockets_internal.h net: sockets: tls: prevent sending fragmented datagrams with sendmsg() 2022-05-25 14:20:09 +02:00
sockets_misc.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
sockets_net_mgmt.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
sockets_packet.c net: sockets: Fill the address structure provided in recvfrom() 2022-08-01 18:02:20 +02:00
sockets_select.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
sockets_tls.c all: logging: Remove log_strdup function 2022-06-23 13:42:23 +02:00
sockets.c net: sockets: Fix potential deadlock during TCP send 2022-07-18 08:36:09 -07:00