Correct the comment about bpfattach() to match reality.

PR:		29967
Submitted by:	Joseph Mallett <jmallett@xMach.org>
This commit is contained in:
Dima Dorfman 2001-08-23 22:38:08 +00:00
parent 745bab7f84
commit 98ec4706ee

View File

@ -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)