summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2001-08-23 22:38:08 +0000
committerdd <dd@FreeBSD.org>2001-08-23 22:38:08 +0000
commit000badbe72fe2ea3e3a6b2c6fd1905bbfa38e12c (patch)
tree7d3f1984d88f998ae6b4a7e0cad7c539cc9544f3 /sys/net
parent6ea3a08d37370ed11af6ca6f14b86d1cddee9350 (diff)
downloadFreeBSD-src-000badbe72fe2ea3e3a6b2c6fd1905bbfa38e12c.zip
FreeBSD-src-000badbe72fe2ea3e3a6b2c6fd1905bbfa38e12c.tar.gz
Correct the comment about bpfattach() to match reality.
PR: 29967 Submitted by: Joseph Mallett <jmallett@xMach.org>
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