参考资料: http://www.tcpdump.org/ DESCRIPTION The Packet Capture library provides a high level interface to packet capture systems. All packets on the network, even those destined for other hosts, are accessible through this mechanism. It also supports s…
参考资料: http://www.tcpdump.org/manpages/pcap.3pcap.html 分类介绍了该lib的函数 Opening a capture handle for reading Selecting a link-layer header type for a live capture Reading packets Filters Capture statistics Opening a handle for writing captured packets Wri…