summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2024-11-17 09:19:47 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2024-11-17 09:19:47 +0000
commite0cf24b0a330abe1da4b13841c68fa341dbb3c4f (patch)
treed3942b93fa6d58a2d768da605284a2dba17820ea
parent233ddca8beb545fbc01cf1b4f06fdd4f22888b2c (diff)
describe the endianness of tun_hdr
-rw-r--r--share/man/man4/tun.46
1 files changed, 5 insertions, 1 deletions
diff --git a/share/man/man4/tun.4 b/share/man/man4/tun.4
index 1f3dc00abde..6d704676d64 100644
--- a/share/man/man4/tun.4
+++ b/share/man/man4/tun.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tun.4,v 1.50 2024/11/17 07:44:47 jmc Exp $
+.\" $OpenBSD: tun.4,v 1.51 2024/11/17 09:19:46 dlg Exp $
.\"
.\" Copyright (c) 2003 Marcus D. Watts All rights reserved.
.\"
@@ -218,6 +218,10 @@ struct tun_hdr {
};
.Ed
.Pp
+The fields in the
+.Va struct tun_hdr
+are in host native byte order.
+.Pp
The following flags can be set in
.Fa th_flags
to specify which offloads are requested for the current packet: