diff options
author | dd <dd@FreeBSD.org> | 2001-08-23 22:38:08 +0000 |
---|---|---|
committer | dd <dd@FreeBSD.org> | 2001-08-23 22:38:08 +0000 |
commit | 000badbe72fe2ea3e3a6b2c6fd1905bbfa38e12c (patch) | |
tree | 7d3f1984d88f998ae6b4a7e0cad7c539cc9544f3 /sys/net/bpf.c | |
parent | 6ea3a08d37370ed11af6ca6f14b86d1cddee9350 (diff) | |
download | FreeBSD-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/bpf.c')
-rw-r--r-- | sys/net/bpf.c | 7 |
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) |