Hardware TCP-IP core with ARP, DHCP and custom UDP protocol for register and FIFO access