summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2021-03-23 16:26:53 +0000
committerclaudio <claudio@openbsd.org>2021-03-23 16:26:53 +0000
commit7949ec392ddd75cbd0e74690c271875a88f7edcb (patch)
tree481b6bd57b0daefdb188830dd7625afb68650fe8 /share
parentMake a parameter to an mg function not throw an error just (diff)
downloadwireguard-openbsd-7949ec392ddd75cbd0e74690c271875a88f7edcb.tar.xz
wireguard-openbsd-7949ec392ddd75cbd0e74690c271875a88f7edcb.zip
Document SIOCGIFADDR and SIOCSIFADDR ioctls for tap devices.
OK kn@
Diffstat (limited to 'share')
-rw-r--r--share/man/man4/tap.48
1 files changed, 6 insertions, 2 deletions
diff --git a/share/man/man4/tap.4 b/share/man/man4/tap.4
index 16ce0dbdf77..92d3496ebe0 100644
--- a/share/man/man4/tap.4
+++ b/share/man/man4/tap.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tap.4,v 1.4 2020/01/09 09:25:16 claudio Exp $
+.\" $OpenBSD: tap.4,v 1.5 2021/03/23 16:26:53 claudio Exp $
.\"
.\" Copyright (c) 2003 Marcus D. Watts All rights reserved.
.\"
@@ -26,7 +26,7 @@
.\" TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
.\" USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: January 9 2020 $
+.Dd $Mdocdate: March 23 2021 $
.Dt TAP 4
.Os
.Sh NAME
@@ -123,6 +123,10 @@ Set just the interface flags.
The same restrictions as for
.Dv TUNSIFINFO
apply.
+.Pp
+.It Dv SIOCGIFADDR Fa uint8_t Ns [ETHER_ADDR_LEN]
+.It Dv SIOCSIFADDR Fa uint8_t Ns [ETHER_ADDR_LEN]
+Get or set the link layer address (MAC address) of the interface.
.El
.Pp
The generic ioctls