adding new functions for arp and ethernet