summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/bpf.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/net/bpf.c b/sys/net/bpf.c
index c947c1a..cd12323 100644
--- a/sys/net/bpf.c
+++ b/sys/net/bpf.c
@@ -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)
OpenPOWER on IntegriCloud