mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 07:28:38 +08:00
include/netinet/arp.h: Previous network changes broke the build test (#193)
This commit is contained in:
parent
4a238f2e7b
commit
e86b516f9d
1 changed files with 4 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
/****************************************************************************
|
||||
* 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>
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
|
@ -43,6 +43,8 @@
|
|||
#include <nuttx/config.h>
|
||||
|
||||
#include <stdint.h>
|
||||
#include <net/if.h>
|
||||
|
||||
#include <nuttx/fs/ioctl.h>
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -81,7 +83,7 @@ struct arpreq
|
|||
struct sockaddr arp_ha; /* Hardware address */
|
||||
struct sockaddr arp_netmask; /* Netmask of protocol address */
|
||||
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…
Reference in a new issue