summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>1999-03-05 21:10:59 +0000
committerJason Wright <jason@cvs.openbsd.org>1999-03-05 21:10:59 +0000
commit698a001593930fc574026f0c5d919599879a7a1a (patch)
treedfbc5cb0b2aa0d17e18149bf9ccb494f11e709b4 /share
parente414ac80f9d54d4d02a8b3ecb512b1b964bdd225 (diff)
Make address cache expiration actually work and provide a knob
for adjusting the timeout.
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/bridge.418
1 files changed, 17 insertions, 1 deletions
diff --git a/share/man/man4/bridge.4 b/share/man/man4/bridge.4
index 964d1b36705..2eb36c8290f 100644
--- a/share/man/man4/bridge.4
+++ b/share/man/man4/bridge.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bridge.4,v 1.3 1999/03/01 16:55:56 jason Exp $
+.\" $OpenBSD: bridge.4,v 1.4 1999/03/05 21:10:58 jason Exp $
.\"
.\" Copyright (c) 1999 Jason L. Wright (jason@thought.net)
.\" All rights reserved.
@@ -157,6 +157,7 @@ struct ifbaconf {
#define ifbac_buf ifbac_ifbacu.ifbacu_buf
#define ifbac_req ifbac_ifbacu.ifbacu_req
};
+.Ed
.It Dv SIOCBRDGSCACHE
.Pq Li "struct ifbcachereq"
Set the maximum address cache size for the bridge named in
@@ -176,6 +177,21 @@ struct ifbcachereq {
.Pq Li "struct ifbcachereq"
Retrieve the maximum size of the address cache for the bridge
.Ar ifbc_name .
+.It Dv SIOCBRDGSTO
+.Pq Li "struct ifbcachetoreq"
+Set the time, in seconds, that addresses which have not been
+seen on the network (transmitted a packet) remain in the cache.
+If the time is set to zero, no aging is performed on the address
+cache. The argument structure is as follows:
+.Bd -literal -offset indent
+struct ifbcachetoreq {
+ char ifbct_name[IFNAMSIZ]; /* bridge */
+ u_int32_t ifbct_time; /* time */
+};
+.Ed
+.It Dv SIOCBRDGGTO
+.Pq Li "struct ifbcachetoreq"
+Retrieve the address cache expiration time (see above).
.El
.Sh ERRORS
If the