Update a comment describing bpf_iflist to indicate that the BPF interface
structures correspond to specific link layers, so the same network interface may appear more than once. MFC after: 3 days
This commit is contained in:
parent
1d0a237660
commit
d1a67300e2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=142787
@ -89,7 +89,10 @@ SYSCTL_INT(_debug, OID_AUTO, bpf_maxbufsize, CTLFLAG_RW,
|
||||
&bpf_maxbufsize, 0, "");
|
||||
|
||||
/*
|
||||
* bpf_iflist is the list of interfaces; each corresponds to an ifnet
|
||||
* bpf_iflist is a list of BPF interface structures, each corresponding to a
|
||||
* specific DLT. The same network interface might have several BPF interface
|
||||
* structures registered by different layers in the stack (i.e., 802.11
|
||||
* frames, ethernet frames, etc).
|
||||
*/
|
||||
static LIST_HEAD(, bpf_if) bpf_iflist;
|
||||
static struct mtx bpf_mtx; /* bpf global lock */
|
||||
|
Loading…
Reference in New Issue
Block a user