include/netinet/arp.h: Previous network changes broke the build test (#193)
This commit is contained in:
parent
4a238f2e7b
commit
e86b516f9d
@ -1,7 +1,7 @@
|
|||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* include/netinet/arp.h
|
* include/netinet/arp.h
|
||||||
*
|
*
|
||||||
* Copyright (C) 2009, 2012 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2009, 2012, 2020 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <gnutt@nuttx.org>
|
* Author: Gregory Nutt <gnutt@nuttx.org>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@ -43,6 +43,8 @@
|
|||||||
#include <nuttx/config.h>
|
#include <nuttx/config.h>
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#include <net/if.h>
|
||||||
|
|
||||||
#include <nuttx/fs/ioctl.h>
|
#include <nuttx/fs/ioctl.h>
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
@ -81,7 +83,7 @@ struct arpreq
|
|||||||
struct sockaddr arp_ha; /* Hardware address */
|
struct sockaddr arp_ha; /* Hardware address */
|
||||||
struct sockaddr arp_netmask; /* Netmask of protocol address */
|
struct sockaddr arp_netmask; /* Netmask of protocol address */
|
||||||
uint8_t arp_flags; /* Flags */
|
uint8_t arp_flags; /* Flags */
|
||||||
uint8_t arp_dev[IFNAMSIZ+1]; /* Device name (zero terminated)*/
|
uint8_t arp_dev[IFNAMSIZ + 1]; /* Device name (zero terminated) */
|
||||||
};
|
};
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
Loading…
x
Reference in New Issue
Block a user