mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 06:42:32 +08:00
net/arp/arp.h: Remove an unused structure definition.
This commit is contained in:
@@ -146,29 +146,6 @@ struct arp_send_s
|
|||||||
};
|
};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_NET_ARP_SEND
|
|
||||||
/* For symmetry with other protocols, a "connection" structure is
|
|
||||||
* provided. But it is a singleton for the case of ARP packet transfers.
|
|
||||||
*/
|
|
||||||
|
|
||||||
struct arp_conn_s
|
|
||||||
{
|
|
||||||
/* Common prologue of all connection structures.
|
|
||||||
* NOTE: The 'node' field is not used by the ARP implementation.
|
|
||||||
*/
|
|
||||||
|
|
||||||
dq_entry_t node; /* Supports a doubly linked list */
|
|
||||||
|
|
||||||
/* This is a list of ARP callbacks. Each callback represents a thread
|
|
||||||
* that is stalled, waiting for a device-specific event.
|
|
||||||
*/
|
|
||||||
|
|
||||||
FAR struct devif_callback_s *list; /* ARP callbacks */
|
|
||||||
|
|
||||||
/* No ARP-specific content */
|
|
||||||
};
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef CONFIG_NET_ARP_SEND
|
#ifdef CONFIG_NET_ARP_SEND
|
||||||
/* Used to notify a thread waiting for a particular ARP response */
|
/* Used to notify a thread waiting for a particular ARP response */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user