summaryrefslogtreecommitdiffstats
path: root/sys/netinet/if_ether.h
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1995-10-05 20:08:43 +0000
committerwollman <wollman@FreeBSD.org>1995-10-05 20:08:43 +0000
commit91aa19bcd73ab0a9bc3fca3ba297db352de37841 (patch)
tree7e79d62412715c88c5aad66e4ccb4fb8cf93eda1 /sys/netinet/if_ether.h
parenta2463c663029d397423f2a500af10684cf147a31 (diff)
downloadFreeBSD-src-91aa19bcd73ab0a9bc3fca3ba297db352de37841.zip
FreeBSD-src-91aa19bcd73ab0a9bc3fca3ba297db352de37841.tar.gz
Convert ARP to use queue.h macros rather than insque/remque. While
we're at it, eliminate obsolete exposure of `struct llinfo_arp' to the world. (This dates back to when ARP entries were not stored in the routing table, and there was no other way for the `arp' program to read the whole table than to grovel around in /dev/kmem.)
Diffstat (limited to 'sys/netinet/if_ether.h')
-rw-r--r--sys/netinet/if_ether.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/sys/netinet/if_ether.h b/sys/netinet/if_ether.h
index 17d71b5..aaa5200 100644
--- a/sys/netinet/if_ether.h
+++ b/sys/netinet/if_ether.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)if_ether.h 8.3 (Berkeley) 5/2/95
- * $Id: if_ether.h,v 1.9 1995/05/30 08:09:20 rgrimes Exp $
+ * $Id: if_ether.h,v 1.10 1995/09/21 17:39:51 wollman Exp $
*/
#ifndef _NETINET_IF_ETHER_H_
@@ -122,15 +122,6 @@ struct arpcom {
int ac_multicnt; /* length of ac_multiaddrs list */
};
-struct llinfo_arp {
- struct llinfo_arp *la_next;
- struct llinfo_arp *la_prev;
- struct rtentry *la_rt;
- struct mbuf *la_hold; /* last packet until resolved/timeout */
- long la_asked; /* last time we QUERIED for this addr */
-#define la_timer la_rt->rt_rmx.rmx_expire /* deletion time in seconds */
-};
-
struct sockaddr_inarp {
u_char sin_len;
u_char sin_family;
@@ -153,9 +144,6 @@ extern u_char ether_ipmulticast_min[6];
extern u_char ether_ipmulticast_max[6];
extern struct ifqueue arpintrq;
-struct llinfo_arp *arptnew __P((struct in_addr *));
-extern struct llinfo_arp llinfo_arp; /* head of the llinfo queue */
-
void arpintr __P((void));
int arpresolve __P((struct arpcom *, struct rtentry *, struct mbuf *,
struct sockaddr *, u_char *, struct rtentry *));
OpenPOWER on IntegriCloud