diff options
author | delphij <delphij@FreeBSD.org> | 2009-11-11 21:30:58 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2009-11-11 21:30:58 +0000 |
commit | 13a19ef806aacb68fca8a06969fe760e790cf191 (patch) | |
tree | eea1594231338258764b9d2c6a5b8c04a07d0269 /share | |
parent | 7f8b0bd4a81476d4906f4ec7983d3328593bebde (diff) | |
download | FreeBSD-src-13a19ef806aacb68fca8a06969fe760e790cf191.zip FreeBSD-src-13a19ef806aacb68fca8a06969fe760e790cf191.tar.gz |
Add interface description capability as inspired by OpenBSD.
MFC after: 3 months
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man4/netintro.4 | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/share/man/man4/netintro.4 b/share/man/man4/netintro.4 index f5d479b..aa38429 100644 --- a/share/man/man4/netintro.4 +++ b/share/man/man4/netintro.4 @@ -32,7 +32,7 @@ .\" @(#)netintro.4 8.2 (Berkeley) 11/30/93 .\" $FreeBSD$ .\" -.Dd June 18, 2004 +.Dd November 11, 2009 .Dt NETINTRO 4 .Os .Sh NAME @@ -277,6 +277,25 @@ and fields of the .Vt ifreq structure, respectively. +.It Dv SIOCGIFDESCR +Get the interface description, returned in the +.Va buffer +field of +.Va ifru_buffer +struct. +The user supplied buffer length should defined in the +.Va length +field of +.Va ifru_buffer +struct passed in as parameter. +.It Dv SIOCSIFDESCR +Set the interface description to the value of the +.Va buffer +field of +.Va ifru_buffer +struct, with +.Va length +field specifying its length. .It Dv SIOCSIFFLAGS Set interface flags field. If the interface is marked down, |