-
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 if’s and menus.)
Defaults¶
No defaults. Implicitly defaults to n
.
Kconfig definition¶
At subsys/net/lib/sockets/Kconfig:109
Included via Kconfig:10
→ Kconfig.zephyr:39
→ subsys/Kconfig:24
→ subsys/net/Kconfig:84
→ subsys/net/lib/Kconfig:29
Menu path: (top menu) → Networking → Network Libraries → BSD Sockets compatible API
config NET_SOCKETS_PACKET bool prompt "Enable packet socket support" ifNET_L2_ETHERNET
&&NET_SOCKETS
&&NETWORKING
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.
(Definitions include propagated dependencies, including from if’s and menus.)