Reorganize pre icmp and arp code. Make ether check more efficient with memset and memcmp