summaryrefslogtreecommitdiff
path: root/sys/net/if.h
diff options
context:
space:
mode:
authorStefan Sperling <stsp@cvs.openbsd.org>2015-09-27 16:50:04 +0000
committerStefan Sperling <stsp@cvs.openbsd.org>2015-09-27 16:50:04 +0000
commitf63ab67e3567461588a69698df0c1794287833d7 (patch)
treededd6266e561824a9e50aee065de49e03565c869 /sys/net/if.h
parentdee4e5bf5b6cbd465a67453a45861ca80764422a (diff)
Add if_setlladdr(), factored out from ifioctl(). Will be used by iwm(4) soon.
With suggestions from tedu@ and guenther@ ok kettenis@
Diffstat (limited to 'sys/net/if.h')
-rw-r--r--sys/net/if.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if.h b/sys/net/if.h
index b9749b72abc..09c2e98ba20 100644
--- a/sys/net/if.h
+++ b/sys/net/if.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.h,v 1.167 2015/09/11 13:02:28 stsp Exp $ */
+/* $OpenBSD: if.h,v 1.168 2015/09/27 16:50:03 stsp Exp $ */
/* $NetBSD: if.h,v 1.23 1996/05/07 02:40:27 thorpej Exp $ */
/*
@@ -469,6 +469,7 @@ void ifnewlladdr(struct ifnet *);
void if_congestion(void);
int if_congested(void);
__dead void unhandled_af(int);
+int if_setlladdr(struct ifnet *, const uint8_t *);
#endif /* _KERNEL */