-
CONFIG_NET_SOCKETS_PACKET
¶
Enable packet socket support
Type: bool
Help¶
This is an initial version of packet socket support (special type raw socket). Packets are passed to and from the device driver without any changes in the packet headers. It’s API caller responsibility to provide all the headers (e.g L2, L3 and so on) while sending. While receiving, packets (including all the headers) will be feed to sockets as it as from the driver.
Direct dependencies¶
NET_L2_ETHERNET
&& NET_SOCKETS
&& NETWORKING
(Includes any dependencies from ifs and menus.)
Defaults¶
No defaults. Implicitly defaults to n
.
Kconfig definition¶
At <Zephyr>/subsys/net/lib/sockets/Kconfig:150
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:34
→ <Zephyr>/subsys/Kconfig:37
→ <Zephyr>/subsys/net/Kconfig:89
→ <Zephyr>/subsys/net/lib/Kconfig:30
Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Network Libraries → BSD Sockets compatible API
config NET_SOCKETS_PACKET bool "Enable packet socket support" depends onNET_L2_ETHERNET
&&NET_SOCKETS
&&NETWORKING
help This is an initial version of packet socket support (special type raw socket). Packets are passed to and from the device driver without any changes in the packet headers. It's API caller responsibility to provide all the headers (e.g L2, L3 and so on) while sending. While receiving, packets (including all the headers) will be feed to sockets as it as from the driver.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)