nuttx/Documentation/components/net
Zhe Weng 6fd74f817d net/pkt: Support filtering protocol in AF_PACKET
Ref: https://man7.org/linux/man-pages/man7/packet.7.html

1. For `socket(AF_PACKET, int socket_type, int protocol)`: When `protocol` is set to `htons(ETH_P_ALL)`, then all protocols are received. If `protocol` is set to zero, no packets are received.
2. For `bind`: `bind` can optionally be called with a nonzero `sll_protocol` to start receiving packets for the protocols specified.

Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2025-12-10 23:44:14 +08:00
..
delay_act_and_tcp_perf.rst Doc: migration 5 2024-11-10 10:13:28 +08:00
index.rst net/mdio: add mdio bus 2025-09-25 16:24:18 +08:00
ipfilter.rst
mdio.rst net/mdio: add mdio bus 2025-09-25 16:24:18 +08:00
nat.rst
netdev.rst
netdriver.rst
netguardsize.rst
netlink.rst
pkt.rst net/pkt: Support filtering protocol in AF_PACKET 2025-12-10 23:44:14 +08:00
sixlowpan.rst
slip.rst style: fix typos 2025-04-30 13:45:46 +08:00
socketcan.rst
tcp_network_perf.rst Doc: migration 5 2024-11-10 10:13:28 +08:00
wqueuedeadlocks.rst