nuttx-apps/system/tcpdump
Zhe Weng 5fbc382000 pkt: Set `sll_protocol` for raw socket to `ETH_P_ALL`
Ref: https://man7.org/linux/man-pages/man7/packet.7.html

We should either set protocal when creating socket or binding, otherwise
we cannot capture any packet.

Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>
2026-04-20 15:19:17 +08:00
..
CMakeLists.txt cmake:support system apps CMake build 2026-04-20 15:16:21 +08:00
Kconfig tcpdump:fix tcpdump stack overflow bug 2026-04-20 15:17:11 +08:00
Make.defs apps/system: Add tcpdump command 2026-04-20 15:07:55 +08:00
Makefile apps/system: Add tcpdump command 2026-04-20 15:07:55 +08:00
tcpdump.c pkt: Set `sll_protocol` for raw socket to `ETH_P_ALL` 2026-04-20 15:19:17 +08:00