Fix typo: if_name -> ifr_name
Submitted by: Casper <casper@acc.am>
This commit is contained in:
parent
f7102a20c6
commit
16f81b74ae
@ -20,7 +20,7 @@
|
||||
.\" This document is derived in part from the enet man page (enet.4)
|
||||
.\" distributed with 4.3BSD Unix.
|
||||
.\"
|
||||
.\" $Id: bpf.4,v 1.14 1998/11/03 21:12:19 des Exp $
|
||||
.\" $Id: bpf.4,v 1.15 1998/11/03 22:01:21 des Exp $
|
||||
.\"
|
||||
.Dd January 16, 1996
|
||||
.Dt BPF 4
|
||||
@ -170,7 +170,7 @@ and resets the statistics that are returned by BIOCGSTATS.
|
||||
.It Dv BIOCGETIF
|
||||
.Pq Li "struct ifreq"
|
||||
Returns the name of the hardware interface that the file is listening on.
|
||||
The name is returned in the if_name field of
|
||||
The name is returned in the ifr_name field of
|
||||
the
|
||||
.Li ifreq
|
||||
structure.
|
||||
@ -180,7 +180,7 @@ All other fields are undefined.
|
||||
Sets the hardware interface associate with the file. This
|
||||
command must be performed before any packets can be read.
|
||||
The device is indicated by name using the
|
||||
.Li if_name
|
||||
.Li ifr_name
|
||||
field of the
|
||||
.Li ifreq
|
||||
structure.
|
||||
|
Loading…
x
Reference in New Issue
Block a user