diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2007-05-16 09:24:08 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2007-05-16 09:24:08 +0000 |
commit | d081e8afa7051794c0cecf7e74265a50cfe0e177 (patch) | |
tree | 45fc534adec4074db1177b49b2ad13190179d04f /sys/netinet/if_ether.h | |
parent | cc2740ca04e54245ef204caac53b127bd2516589 (diff) |
count the number of multicast ranges that are kept in the list of multicast
addresses in struct arpcom. this lets a nic driver easily see if it wants
allmulti behaviour, which in turn means we can clean some code up.
ok jason@ claudio@ norby@
Diffstat (limited to 'sys/netinet/if_ether.h')
-rw-r--r-- | sys/netinet/if_ether.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/netinet/if_ether.h b/sys/netinet/if_ether.h index 5c85bcfab75..342e81eb258 100644 --- a/sys/netinet/if_ether.h +++ b/sys/netinet/if_ether.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ether.h,v 1.38 2006/06/28 12:13:24 claudio Exp $ */ +/* $OpenBSD: if_ether.h,v 1.39 2007/05/16 09:24:07 dlg Exp $ */ /* $NetBSD: if_ether.h,v 1.22 1996/05/11 13:00:00 mycroft Exp $ */ /* @@ -158,8 +158,10 @@ struct arpcom { struct ifnet ac_if; /* network-visible interface */ u_int8_t ac_enaddr[ETHER_ADDR_LEN]; /* ethernet hardware address */ char ac__pad[2]; /* pad for some machines */ - LIST_HEAD(, ether_multi) ac_multiaddrs; /* list of ether multicast addrs */ - int ac_multicnt; /* length of ac_multiaddrs list */ + LIST_HEAD(, ether_multi) ac_multiaddrs; /* list of multicast addrs */ + int ac_multicnt; /* length of ac_multiaddrs */ + int ac_multirangecnt; /* number of mcast ranges */ + }; struct llinfo_arp { |