summaryrefslogtreecommitdiffstats
path: root/share/man/man4/tun.4
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2001-08-25 09:14:55 +0000
committerbrian <brian@FreeBSD.org>2001-08-25 09:14:55 +0000
commit29c16834aef8786e5e3756273949ae3efa16d77a (patch)
tree6960d0693b117649454f7b053aa86398aa891e29 /share/man/man4/tun.4
parent72dc54c8ff96a356e2154ce387f0a391dfa08091 (diff)
downloadFreeBSD-src-29c16834aef8786e5e3756273949ae3efa16d77a.zip
FreeBSD-src-29c16834aef8786e5e3756273949ae3efa16d77a.tar.gz
Document that IFF_MULTICAST should be ORd with IFF_POINTOPOINT or
IFF_BROADCAST for the TUNSIFMODE ioctl.
Diffstat (limited to 'share/man/man4/tun.4')
-rw-r--r--share/man/man4/tun.411
1 files changed, 7 insertions, 4 deletions
diff --git a/share/man/man4/tun.4 b/share/man/man4/tun.4
index 7626e5f..85bf2c5 100644
--- a/share/man/man4/tun.4
+++ b/share/man/man4/tun.4
@@ -206,16 +206,19 @@ The argument should be a pointer to an
its value must be either
.Dv IFF_POINTOPOINT
or
-.Dv IFF_BROADCAST .
+.Dv IFF_BROADCAST
+and should have
+.Dv IFF_MULTICAST
+OR'd into the value if multicast support is required.
The type of the corresponding
.Dq Li tun Ns Ar N
interface is set to the supplied type.
-If the value is anything else, an
+If the value is outside the above range, an
.Er EINVAL
-error occurs.
+error is returned.
The interface must be down at the time; if it is up, an
.Er EBUSY
-error occurs.
+error is returned.
.It Dv TUNSLMODE
The argument should be a pointer to an
.Vt int ;
OpenPOWER on IntegriCloud