Packet Sniffer in C