net: yaip: Moved ARP helper macro to arp.h
The helper macro NET_ARP_BUF() needs to be used from other files so arp.h is proper place for it. Change-Id: Ief7bbb385d9c180213ecd7cb08023f13999f5270 Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
parent
56a747ead4
commit
d0daa97820
2 changed files with 2 additions and 2 deletions
|
@ -27,6 +27,8 @@
|
|||
|
||||
#include <net/ethernet.h>
|
||||
|
||||
#define NET_ARP_BUF(buf) ((struct net_arp_hdr *)net_nbuf_ll(buf))
|
||||
|
||||
struct net_arp_hdr {
|
||||
struct net_eth_hdr eth_hdr;
|
||||
uint16_t hwtype; /* HTYPE */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue