diff options
author | phk <phk@FreeBSD.org> | 2001-02-06 10:12:15 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2001-02-06 10:12:15 +0000 |
commit | d214ae21714540c7d954bd861ed084fb157abeb9 (patch) | |
tree | 7c665d67872a65310572d737c33defbe1a63008e /sys/net/if_var.h | |
parent | 43450ced687857ec4a35796cfed2820c891c103d (diff) | |
download | FreeBSD-src-d214ae21714540c7d954bd861ed084fb157abeb9.zip FreeBSD-src-d214ae21714540c7d954bd861ed084fb157abeb9.tar.gz |
Convert if_multiaddrs from LIST to TAILQ so that it can be traversed
backwards in the three drivers which want to do that.
Reviewed by: mikeh
Diffstat (limited to 'sys/net/if_var.h')
-rw-r--r-- | sys/net/if_var.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_var.h b/sys/net/if_var.h index fc60f9c..68b0c01 100644 --- a/sys/net/if_var.h +++ b/sys/net/if_var.h @@ -83,7 +83,7 @@ struct ether_header; TAILQ_HEAD(ifnethead, ifnet); /* we use TAILQs so that the order of */ TAILQ_HEAD(ifaddrhead, ifaddr); /* instantiation is preserved in the list */ TAILQ_HEAD(ifprefixhead, ifprefix); -LIST_HEAD(ifmultihead, ifmultiaddr); +TAILQ_HEAD(ifmultihead, ifmultiaddr); /* * Structure defining a queue for a network interface. @@ -352,7 +352,7 @@ struct ifprefix { * address, not a count of pointers to this structure. */ struct ifmultiaddr { - LIST_ENTRY(ifmultiaddr) ifma_link; /* queue macro glue */ + TAILQ_ENTRY(ifmultiaddr) ifma_link; /* queue macro glue */ struct sockaddr *ifma_addr; /* address this membership is for */ struct sockaddr *ifma_lladdr; /* link-layer translation, if any */ struct ifnet *ifma_ifp; /* back-pointer to interface */ |