Correct the comment about bpfattach() to match reality.
PR: 29967 Submitted by: Joseph Mallett <jmallett@xMach.org>
This commit is contained in:
parent
745bab7f84
commit
98ec4706ee
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=82239
@ -1201,9 +1201,10 @@ bpf_freed(d)
|
||||
}
|
||||
|
||||
/*
|
||||
* Attach an interface to bpf. driverp is a pointer to a (struct bpf_if *)
|
||||
* in the driver's softc; dlt is the link layer type; hdrlen is the fixed
|
||||
* size of the link header (variable length headers not yet supported).
|
||||
* Attach an interface to bpf. ifp is a pointer to the structure
|
||||
* defining the interface to be attached, dlt is the link layer type,
|
||||
* and hdrlen is the fixed size of the link header (variable length
|
||||
* headers are not yet supporrted).
|
||||
*/
|
||||
void
|
||||
bpfattach(ifp, dlt, hdrlen)
|
||||
|
Loading…
Reference in New Issue
Block a user