summaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-09-12 09:15:30 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-09-12 09:15:30 +0000
commit575748a562d4b0a4f9b7a19544903f48a45673a8 (patch)
treed47bc97d1a939d57557bb2dd030c08552fbedc73 /share/man
parent7600a3dab38812dc80bba4356322107618a4746e (diff)
SIOCGVNETID uses struct ifreq not if_parent
ok jmc@
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man4/bpe.46
-rw-r--r--share/man/man4/vlan.46
2 files changed, 6 insertions, 6 deletions
diff --git a/share/man/man4/bpe.4 b/share/man/man4/bpe.4
index 8df2b82efb4..4bea103fb39 100644
--- a/share/man/man4/bpe.4
+++ b/share/man/man4/bpe.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bpe.4,v 1.5 2022/01/01 08:01:27 jsg Exp $
+.\" $OpenBSD: bpe.4,v 1.6 2022/09/12 09:15:29 jsg Exp $
.\"
.\" Copyright (c) 2018 David Gwynne <dlg@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: January 1 2022 $
+.Dd $Mdocdate: September 12 2022 $
.Dt BPE 4
.Os
.Sh NAME
@@ -130,7 +130,7 @@ administratively down.
.It Dv SIOCSVNETID Fa "struct ifreq *"
Set the virtual network identifier.
Valid identifiers are 24-bit values in the range 0 to 16777215.
-.It Dv SIOCGVNETID Fa "struct if_parent *"
+.It Dv SIOCGVNETID Fa "struct ifreq *"
Get the currently configured virtual network identifier.
.El
.Sh SEE ALSO
diff --git a/share/man/man4/vlan.4 b/share/man/man4/vlan.4
index 78b6691213e..5b0a569daf2 100644
--- a/share/man/man4/vlan.4
+++ b/share/man/man4/vlan.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: vlan.4,v 1.52 2022/03/31 17:27:21 naddy Exp $
+.\" $OpenBSD: vlan.4,v 1.53 2022/09/12 09:15:29 jsg Exp $
.\"
.\" Copyright (c) 2000 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -27,7 +27,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 31 2022 $
+.Dd $Mdocdate: September 12 2022 $
.Dt VLAN 4
.Os
.Sh NAME
@@ -114,7 +114,7 @@ administratively down.
.It Dv SIOCSVNETID Fa "struct ifreq *"
Set the virtual network identifier.
Valid identifiers are in the range 1 to 4094.
-.It Dv SIOCGVNETID Fa "struct if_parent *"
+.It Dv SIOCGVNETID Fa "struct ifreq *"
Get the currently configured virtual network identifier.
.It Dv SIOCDVNETID Fa "struct ifreq *"
Clear the current virtual network identifier.