zephyr/subsys/net
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
..
ip net: pkt: Add ll_proto_type field 2022-08-01 18:02:20 +02:00
l2 net: pkt: Add ll_proto_type field 2022-08-01 18:02:20 +02:00
lib net: sockets: Fill the address structure provided in recvfrom() 2022-08-01 18:02:20 +02:00
pkt_filter subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
CMakeLists.txt
Kconfig net: remove superfluous default n for boolean 2022-04-19 11:49:27 +02:00
Kconfig.hostname
Kconfig.template.log_config.default.net
Kconfig.template.log_config.net
buf.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
hostname.c all: logging: Remove log_strdup function 2022-06-23 13:42:23 +02:00