mirror of
https://github.com/apache/nuttx.git
synced 2026-08-21 05:28:19 +00:00
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> |
||
|---|---|---|
| .. | ||
| delay_act_and_tcp_perf.rst | ||
| index.rst | ||
| ipfilter.rst | ||
| mdio.rst | ||
| nat.rst | ||
| netdev.rst | ||
| netdriver.rst | ||
| netguardsize.rst | ||
| netlink.rst | ||
| pkt.rst | ||
| sixlowpan.rst | ||
| slip.rst | ||
| socketcan.rst | ||
| tcp_network_perf.rst | ||
| wqueuedeadlocks.rst | ||