net: Add an accessor to know if waiting for ARP
authorJoe Hershberger <joe.hershberger@ni.com>
Wed, 26 Sep 2018 21:48:58 +0000 (16:48 -0500)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 10 Oct 2018 17:28:58 +0000 (12:28 -0500)
commit3f02c98bd1000fc26ee2700fd5a75112cdeaca6c
tree89ce7087f91b06e5ad12442dd6487ab5d3f0c149
parentc67a420781012abb5c888e2857efde12cf27284b
net: Add an accessor to know if waiting for ARP

This single-sources the state of the ARP.

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
include/net.h
net/arp.c