Simple network packets analyser using libpcap