:orphan: .. title:: CONFIG_NET_SOCKETS_PACKET .. kconfig:: CONFIG_NET_SOCKETS_PACKET CONFIG_NET_SOCKETS_PACKET ######################### *Enable packet socket support* Type: ``bool`` Help ==== .. code-block:: none 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 =================== \ :kconfig:`NET_SOCKETS ` && \ :kconfig:`NETWORKING ` *(Includes any dependencies from ifs and menus.)* Defaults ======== No defaults. Implicitly defaults to ``n``. Kconfig definition ================== At ``/net/lib/sockets/Kconfig:158`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:39`` → ``/net/Kconfig:89`` → ``/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 .. code-block:: kconfig config NET_SOCKETS_PACKET bool "Enable packet socket support" depends on 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.)*