summaryrefslogtreecommitdiffstats
path: root/sys/netinet/if_ether.h
diff options
context:
space:
mode:
authorchris <chris@openbsd.org>2002-06-10 22:48:09 +0000
committerchris <chris@openbsd.org>2002-06-10 22:48:09 +0000
commit265c25b529e777b58db15a860b36b7b04ff9347c (patch)
tree7191483150c975b14cc6cfce2aad31ecc8f35f90 /sys/netinet/if_ether.h
parentEliminate unused _installed_via_${_url_type} variables. (diff)
downloadwireguard-openbsd-265c25b529e777b58db15a860b36b7b04ff9347c.tar.xz
wireguard-openbsd-265c25b529e777b58db15a860b36b7b04ff9347c.zip
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 */
/*