mirror of
https://github.com/apache/nuttx.git
synced 2026-10-18 11:39:00 +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> |
||
|---|---|---|
| .. | ||
| arch | ||
| audio | ||
| drivers | ||
| filesystem | ||
| libs | ||
| mm | ||
| net | ||
| nxgraphics | ||
| tools | ||
| binfmt.rst | ||
| boards.rst | ||
| cmake.rst | ||
| crypto.rst | ||
| index.rst | ||
| nxflat.rst | ||
| openamp.rst | ||
| paging.rst | ||
| syscall.rst | ||
| video.rst | ||
| wireless.rst | ||