diff options
author | jake <jake@FreeBSD.org> | 2000-05-23 20:41:01 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2000-05-23 20:41:01 +0000 |
commit | d93fbc99166053b75c2eeb69b5cb603cfaf79ec0 (patch) | |
tree | a4f130be4544ce7cfe4afa8c93f996b871433cb8 /lib/libstand | |
parent | e814d2a0db522b0f163eef55a56d05aa226951f3 (diff) | |
download | FreeBSD-src-d93fbc99166053b75c2eeb69b5cb603cfaf79ec0.zip FreeBSD-src-d93fbc99166053b75c2eeb69b5cb603cfaf79ec0.tar.gz |
Change the way that the queue(3) structures are declared; don't assume that
the type argument to *_HEAD and *_ENTRY is a struct.
Suggested by: phk
Reviewed by: phk
Approved by: mdodd
Diffstat (limited to 'lib/libstand')
-rw-r--r-- | lib/libstand/if_ether.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/libstand/if_ether.h b/lib/libstand/if_ether.h index a9bc891..ada2815 100644 --- a/lib/libstand/if_ether.h +++ b/lib/libstand/if_ether.h @@ -33,6 +33,8 @@ * SUCH DAMAGE. * * @(#)if_ether.h 8.1 (Berkeley) 6/10/93 + * + * $FreeBSD$ */ /* @@ -120,12 +122,12 @@ struct arpcom { struct ifnet ac_if; /* network-visible interface */ u_int8_t ac_enaddr[ETHER_ADDR_LEN]; /* ethernet hardware address */ char ac__pad[2]; /* be nice to m68k ports */ - LIST_HEAD(, ether_multi) ac_multiaddrs; /* list of ether multicast addrs */ + LIST_HEAD(, struct ether_multi) ac_multiaddrs; /* list of ether multicast addrs */ int ac_multicnt; /* length of ac_multiaddrs list */ }; struct llinfo_arp { - LIST_ENTRY(llinfo_arp) la_list; + LIST_ENTRY(struct llinfo_arp) la_list; struct rtentry *la_rt; struct mbuf *la_hold; /* last packet until resolved/timeout */ long la_asked; /* last time we QUERIED for this addr */ @@ -179,7 +181,7 @@ struct ether_multi { u_int8_t enm_addrhi[ETHER_ADDR_LEN]; /* high or only address of range */ struct arpcom *enm_ac; /* back pointer to arpcom */ u_int enm_refcount; /* no. claims to this addr/range */ - LIST_ENTRY(ether_multi) enm_list; + LIST_ENTRY(struct ether_multi) enm_list; }; /* |