net: introduce packet capture support
Add support for capturing ethernet packets and storing them in memory in PCAP(2.4) format, later to be analyzed by any PCAP viewer software (IE. Wireshark) This feature greatly assist debugging network issues such as detecting dropped packets, packet corruption etc. Signed-off-by: NRamon Fried <rfried.dev@gmail.com> Reviewed-by: NAlex Marginean <alexm.osslist@gmail.com> Tested-by: NAlex Marginean <alexm.osslist@gmail.com> Acked-by: NJoe Hershberger <joe.hershberger@ni.com>
Showing
cmd/pcap.c
0 → 100644
include/net/pcap.h
0 → 100644
net/pcap.c
0 → 100644
想要评论请 注册 或 登录