nuttx/Documentation/components/net
Zhe Weng 76d3e6a064 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>
2026-04-21 01:19:29 +08:00
..
delay_act_and_tcp_perf.rst Doc: migration 5 2026-04-21 01:13:48 +08:00
index.rst Doc: migration 5 2026-04-21 01:13:48 +08:00
ipfilter.rst Merge branch 'master' into vela 2026-04-21 01:12:27 +08:00
nat.rst Merge branch 'master' into vela 2026-04-21 01:12:27 +08:00
netdev.rst Merge branch 'master' into vela 2026-04-21 01:12:27 +08:00
netdriver.rst Merge branch 'master' into vela 2026-04-21 01:12:27 +08:00
netguardsize.rst Merge branch 'master' into vela 2026-04-21 01:12:27 +08:00
netlink.rst Merge branch 'master' into vela 2026-04-21 01:12:27 +08:00
pkt.rst net/pkt: Support filtering protocol in AF_PACKET 2026-04-21 01:19:29 +08:00
sixlowpan.rst Merge branch 'master' into vela 2026-04-21 01:12:27 +08:00
slip.rst Merge branch 'master' into vela 2026-04-21 01:12:27 +08:00
socketcan.rst can : move bytes2dlc/dlc2bytes to common header file 2026-04-21 01:18:00 +08:00
tcp_network_perf.rst Doc: migration 5 2026-04-21 01:13:48 +08:00
wqueuedeadlocks.rst Merge branch 'master' into vela 2026-04-21 01:12:27 +08:00