-.\" $OpenBSD: bpe.4,v 1.5 2022/01/01 08:01:27 jsg Exp $
+.\" $OpenBSD: bpe.4,v 1.6 2022/09/12 09:15:29 jsg Exp $
.\"
.\" Copyright (c) 2018 David Gwynne <dlg@openbsd.org>
.\"
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: January 1 2022 $
+.Dd $Mdocdate: September 12 2022 $
.Dt BPE 4
.Os
.Sh NAME
.It Dv SIOCSVNETID Fa "struct ifreq *"
Set the virtual network identifier.
Valid identifiers are 24-bit values in the range 0 to 16777215.
-.It Dv SIOCGVNETID Fa "struct if_parent *"
+.It Dv SIOCGVNETID Fa "struct ifreq *"
Get the currently configured virtual network identifier.
.El
.Sh SEE ALSO
-.\" $OpenBSD: vlan.4,v 1.52 2022/03/31 17:27:21 naddy Exp $
+.\" $OpenBSD: vlan.4,v 1.53 2022/09/12 09:15:29 jsg Exp $
.\"
.\" Copyright (c) 2000 The NetBSD Foundation, Inc.
.\" All rights reserved.
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 31 2022 $
+.Dd $Mdocdate: September 12 2022 $
.Dt VLAN 4
.Os
.Sh NAME
.It Dv SIOCSVNETID Fa "struct ifreq *"
Set the virtual network identifier.
Valid identifiers are in the range 1 to 4094.
-.It Dv SIOCGVNETID Fa "struct if_parent *"
+.It Dv SIOCGVNETID Fa "struct ifreq *"
Get the currently configured virtual network identifier.
.It Dv SIOCDVNETID Fa "struct ifreq *"
Clear the current virtual network identifier.