Implementing sniffex.c with IPv6 capability