summaryrefslogtreecommitdiff
path: root/sys/net/if_bridge.h
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-01-10 22:18:30 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2000-01-10 22:18:30 +0000
commit817b8607a621870fc7bce0aa55d3007e0ad0b73f (patch)
tree47d5ec96e70bfebfa88d7ac5b5926c1d1f41d7b6 /sys/net/if_bridge.h
parent8c62e2d3df8f26491b466e39ed6f47be8204e382 (diff)
Implement the blocknonip flag
Diffstat (limited to 'sys/net/if_bridge.h')
-rw-r--r--sys/net/if_bridge.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if_bridge.h b/sys/net/if_bridge.h
index a71795dffc5..fe6aa8e8fa1 100644
--- a/sys/net/if_bridge.h
+++ b/sys/net/if_bridge.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bridge.h,v 1.10 1999/09/03 12:47:12 jason Exp $ */
+/* $OpenBSD: if_bridge.h,v 1.11 2000/01/10 22:18:29 angelos Exp $ */
/*
* Copyright (c) 1999 Jason L. Wright (jason@thought.net)
@@ -42,6 +42,7 @@ struct ifbreq {
/* SIOCBRDGIFFLGS, SIOCBRDGIFFLGS */
#define IFBIF_LEARNING 0x1 /* ifs can learn */
#define IFBIF_DISCOVER 0x2 /* ifs sends packets w/unknown dest */
+#define IFBIF_BLOCKNONIP 0x04 /* ifs does not allow non-IP/ARP traffic in/out */
/* SIOCBRDGFLUSH */
#define IFBF_FLUSHDYN 0x0 /* flush dynamic addresses only */
#define IFBF_FLUSHALL 0x1 /* flush all addresses from cache */