summaryrefslogtreecommitdiff
path: root/sbin/ifconfig/brconfig.h
diff options
context:
space:
mode:
authorMartin Pieuchot <mpi@cvs.openbsd.org>2018-02-08 13:15:33 +0000
committerMartin Pieuchot <mpi@cvs.openbsd.org>2018-02-08 13:15:33 +0000
commit2df627dc6a50bf2976d6a49755b8f2d8a6f0ffc9 (patch)
tree5829caf6c2798a0d9fa72b53c3abbeb5885cbc44 /sbin/ifconfig/brconfig.h
parent7b3cd90ace3f642e57833f8d2d610c9b28f883b3 (diff)
Add a new '-protected' option for bridge members.
Bridge members that are part of the same protected domain, refered by a number between 1 and 31, cannot talk to each others. This is useful to isolate VMs or untrusted networks at layer 2. Members can be part of multiple protected domain making it possible to create complex protected setups. ok ccardenas@, claudio@, dlg@, henning@
Diffstat (limited to 'sbin/ifconfig/brconfig.h')
-rw-r--r--sbin/ifconfig/brconfig.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sbin/ifconfig/brconfig.h b/sbin/ifconfig/brconfig.h
index 9efee215192..e8342f4c9e8 100644
--- a/sbin/ifconfig/brconfig.h
+++ b/sbin/ifconfig/brconfig.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: brconfig.h,v 1.12 2018/01/16 10:33:55 mpi Exp $ */
+/* $OpenBSD: brconfig.h,v 1.13 2018/02/08 13:15:32 mpi Exp $ */
/*
* Copyright (c) 2009 Claudio Jeker <claudio@openbsd.org>
@@ -52,6 +52,8 @@ void bridge_addrs(const char *, int);
void bridge_hellotime(const char *, int);
void bridge_fwddelay(const char *, int);
void bridge_maxage(const char *, int);
+void bridge_protect(const char *, const char *);
+void bridge_unprotect(const char *, int);
void bridge_proto(const char *, int);
void bridge_ifprio(const char *, const char *);
void bridge_ifcost(const char *, const char *);