Implemented ping and arp request reply functions