net: arp: Verify incoming packet HW and protocol type
net: arp: Verify incoming packet HW and protocol type

Verify incoming ARP packet hardware and protocol type. Drop
unknown type of packets.

Fixes #11215
Fixes #11217

Signed-off-by: Ravi kumar Veeramally <406c082aeb452858c41b213a757768e1c1dff29e@linux.intel.com>

finikorg/zephyr,galak/zephyr,Vudentz/zephyr,punitvara/zephyr,Vudentz/zephyr,zephyrproject-rtos/zephyr,ldts/zephyr,punitvara/zephyr,explora26/zephyr,explora26/zephyr,nashif/zephyr,ldts/zephyr,GiulianoFranchetto/zephyr,nashif/zephyr,zephyrproject-rtos/zephyr,ldts/zephyr,galak/zephyr,punitvara/zephyr,nashif/zephyr,nashif/zephyr,GiulianoFranchetto/zephyr,GiulianoFranchetto/zephyr,finikorg/zephyr,GiulianoFranchetto/zephyr,finikorg/zephyr,zephyrproject-rtos/zephyr,GiulianoFranchetto/zephyr,punitvara/zephyr,zephyrproject-rtos/zephyr,explora26/zephyr,Vudentz/zephyr,zephyrproject-rtos/zephyr,finikorg/zephyr,ldts/zephyr,explora26/zephyr,galak/zephyr,finikorg/zephyr,galak/zephyr,explora26/zephyr,ldts/zephyr,punitvara/zephyr,galak/zephyr,nashif/zephyr,Vudentz/zephyr,Vudentz/zephyr,Vudentz/zephyr