summaryrefslogtreecommitdiffstats
path: root/sys/net/if_bridge.h
diff options
context:
space:
mode:
authorjason <jason@openbsd.org>1999-03-19 02:46:54 +0000
committerjason <jason@openbsd.org>1999-03-19 02:46:54 +0000
commit8136e896469c0f8f0b51a3c7fed596579ef72f50 (patch)
treedefb1a2a91ce9ccf77803689f2cb0ed566b215c6 /sys/net/if_bridge.h
parentReplace hardcoded quoting with Sq or Dq. (diff)
downloadwireguard-openbsd-8136e896469c0f8f0b51a3c7fed596579ef72f50.tar.xz
wireguard-openbsd-8136e896469c0f8f0b51a3c7fed596579ef72f50.zip
Add the ability to mark an interface as "non-learning"
Diffstat (limited to 'sys/net/if_bridge.h')
-rw-r--r--sys/net/if_bridge.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/if_bridge.h b/sys/net/if_bridge.h
index 7838fdf2c6f..6ebcccf5df1 100644
--- a/sys/net/if_bridge.h
+++ b/sys/net/if_bridge.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bridge.h,v 1.4 1999/03/12 02:40:43 jason Exp $ */
+/* $OpenBSD: if_bridge.h,v 1.5 1999/03/19 02:46:54 jason Exp $ */
/*
* Copyright (c) 1999 Jason L. Wright (jason@thought.net)
@@ -40,6 +40,8 @@ struct ifbreq {
u_int32_t ifbr_ifsflags; /* memver ifs flags */
};
+#define IFBIF_LEARNING 0x1 /* ifs can learn */
+
/*
* Interface list structure
*/