summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfgsch <fgsch@openbsd.org>2005-10-17 10:55:07 +0000
committerfgsch <fgsch@openbsd.org>2005-10-17 10:55:07 +0000
commit9be8d9a1e35e0d06a8e99eb889e16bb44a2f0273 (patch)
treecc26403aa03f4017de8e24a6cd20a7963d42df04
parentmake pf use one mbuf tag instead of 6 distinct ones. use a little struct (diff)
downloadwireguard-openbsd-9be8d9a1e35e0d06a8e99eb889e16bb44a2f0273.tar.xz
wireguard-openbsd-9be8d9a1e35e0d06a8e99eb889e16bb44a2f0273.zip
define a mask to extract the result from status.
-rw-r--r--sys/dev/ic/if_wireg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/if_wireg.h b/sys/dev/ic/if_wireg.h
index b21c3d97bc3..935d2cc6c5c 100644
--- a/sys/dev/ic/if_wireg.h
+++ b/sys/dev/ic/if_wireg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_wireg.h,v 1.36 2005/10/15 00:20:49 fgsch Exp $ */
+/* $OpenBSD: if_wireg.h,v 1.37 2005/10/17 10:55:07 fgsch Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -198,6 +198,7 @@
#define WI_CMD_WRITE_MIF 0x0031 /* prism2 */
#define WI_CMD_CODE_MASK 0x003F
+#define WI_CMD_RESULT_MASK 0x7F00
/*
* Reclaim qualifier bit, applicable to the