mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-19 15:33:56 +00:00
Document that IFF_MULTICAST should be ORd with IFF_POINTOPOINT or
IFF_BROADCAST for the TUNSIFMODE ioctl.
This commit is contained in:
parent
86b2fc4de5
commit
1485129b09
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=82320
@ -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 ;
|
||||
|
Loading…
Reference in New Issue
Block a user