summaryrefslogtreecommitdiff
path: root/sys/netinet/if_ether.h
diff options
context:
space:
mode:
authorChris Cappuccio <chris@cvs.openbsd.org>2002-06-10 22:48:10 +0000
committerChris Cappuccio <chris@cvs.openbsd.org>2002-06-10 22:48:10 +0000
commit0ab8d7cfae74191d2831457b55a5c48a4588775d (patch)
tree092e795ce767d75f721fabdc691e6987432fc5f3 /sys/netinet/if_ether.h
parentd8da9adad4599c5a5fc3d41ed5757a3ac6190d83 (diff)
Split common code which converts a multicast address to an ethernet
address from ether_addmulti() and ether_delmulti() into ether_multiaddr(), a'la netbsd. Also clean up some magic numbers. itojun likes it
Diffstat (limited to 'sys/netinet/if_ether.h')
-rw-r--r--sys/netinet/if_ether.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/if_ether.h b/sys/netinet/if_ether.h
index 6f6be629b31..db5db0ee079 100644
--- a/sys/netinet/if_ether.h
+++ b/sys/netinet/if_ether.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ether.h,v 1.22 2002/06/09 16:26:10 itojun Exp $ */
+/* $OpenBSD: if_ether.h,v 1.23 2002/06/10 22:48:09 chris Exp $ */
/* $NetBSD: if_ether.h,v 1.22 1996/05/11 13:00:00 mycroft Exp $ */
/*
@@ -205,6 +205,7 @@ void arp_rtrequest(int, struct rtentry *, struct rt_addrinfo *);
int ether_addmulti(struct ifreq *, struct arpcom *);
int ether_delmulti(struct ifreq *, struct arpcom *);
+int ether_multiaddr(struct sockaddr *, u_int8_t[], u_int8_t[]);
#endif /* _KERNEL */
/*