summaryrefslogtreecommitdiffstats
path: root/sys/net/bpf.c
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2003-10-04 01:32:28 +0000
committersam <sam@FreeBSD.org>2003-10-04 01:32:28 +0000
commitba561864b3b7f6714310c9eca8d377bf1b1b6efc (patch)
tree89d5a6148459cceace48a66db0afbe625295a444 /sys/net/bpf.c
parent6867e2e410b1bad81474744172c21e46e45c105b (diff)
downloadFreeBSD-src-ba561864b3b7f6714310c9eca8d377bf1b1b6efc.zip
FreeBSD-src-ba561864b3b7f6714310c9eca8d377bf1b1b6efc.tar.gz
add a stub for bpfattach2 so bpf is not required with the 802.11
module or related drivers Spotted by: Dan Lukes <dan@obluda.cz>
Diffstat (limited to 'sys/net/bpf.c')
-rw-r--r--sys/net/bpf.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/net/bpf.c b/sys/net/bpf.c
index d5b9d4d..535d268 100644
--- a/sys/net/bpf.c
+++ b/sys/net/bpf.c
@@ -1588,6 +1588,14 @@ bpfattach(ifp, dlt, hdrlen)
}
void
+bpfattach2(ifp, dlt, hdrlen, driverp)
+ struct ifnet *ifp;
+ u_int dlt, hdrlen;
+ struct bpf_if **driverp;
+{
+}
+
+void
bpfdetach(ifp)
struct ifnet *ifp;
{
OpenPOWER on IntegriCloud