From e0cf24b0a330abe1da4b13841c68fa341dbb3c4f Mon Sep 17 00:00:00 2001 From: David Gwynne Date: Sun, 17 Nov 2024 09:19:47 +0000 Subject: describe the endianness of tun_hdr --- share/man/man4/tun.4 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'share') 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: -- cgit v1.2.3