Recently I have been looking into low-level packet transmission analysis for APP applications and read some libpcap-related source code. Here I briefly pick a small tool based on libpcap to practice by analyzing it.