summaryrefslogtreecommitdiffstats
path: root/sys/net/if_bridge.h
diff options
context:
space:
mode:
authorjason <jason@openbsd.org>1999-03-05 21:10:52 +0000
committerjason <jason@openbsd.org>1999-03-05 21:10:52 +0000
commit4c8cd6dbb7d753ea50bd1dbee83fb31927f6fc92 (patch)
treec27cfd7192fbe838fd777b16bb664725cc20d3eb /sys/net/if_bridge.h
parentAdd forgotten file, espie@ has checked it compiles (diff)
downloadwireguard-openbsd-4c8cd6dbb7d753ea50bd1dbee83fb31927f6fc92.tar.xz
wireguard-openbsd-4c8cd6dbb7d753ea50bd1dbee83fb31927f6fc92.zip
Make address cache expiration actually work and provide a knob
for adjusting the timeout.
Diffstat (limited to 'sys/net/if_bridge.h')
-rw-r--r--sys/net/if_bridge.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/net/if_bridge.h b/sys/net/if_bridge.h
index ec873697c1a..164e75e10e3 100644
--- a/sys/net/if_bridge.h
+++ b/sys/net/if_bridge.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bridge.h,v 1.2 1999/03/01 04:44:44 jason Exp $ */
+/* $OpenBSD: if_bridge.h,v 1.3 1999/03/05 21:10:52 jason Exp $ */
/*
* Copyright (c) 1999 Jason L. Wright (jason@thought.net)
@@ -82,6 +82,15 @@ struct ifbcachereq {
u_int32_t ifbc_size; /* cache size */
};
+/*
+ * Bridge cache timeout get/set
+ */
+struct ifbcachetoreq {
+ char ifbct_name[IFNAMSIZ]; /* bridge ifs name */
+ u_int32_t ifbct_time; /* cache time (sec) */
+};
+
+
#ifdef _KERNEL
struct mbuf * bridge_input __P((struct ifnet *, struct ether_header *,
struct mbuf *));