diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-09-25 12:06:01 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-09-25 12:06:01 +0000 |
| commit | 46783fb897761a099b5d9629afd30bb97cdeed5e (patch) | |
| tree | efd419464a05c5c9549c3ea5cc49e8d61c143e27 /sys/contrib/dev/oltr | |
| parent | 40bc58df9a215b74d944ee58d146f6b2f3107568 (diff) | |
Notes
Diffstat (limited to 'sys/contrib/dev/oltr')
| -rw-r--r-- | sys/contrib/dev/oltr/if_oltr.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sys/contrib/dev/oltr/if_oltr.c b/sys/contrib/dev/oltr/if_oltr.c index 72d3cae6a31a..aabc64588f39 100644 --- a/sys/contrib/dev/oltr/if_oltr.c +++ b/sys/contrib/dev/oltr/if_oltr.c @@ -37,7 +37,6 @@ #include "pci.h" #include "oltr.h" #include "opt_inet.h" -#include "bpf.h" #if (NOLTR + NPCI) > 0 @@ -90,9 +89,7 @@ char *AdapterName[] = { #include <net/iso88025.h> #include <net/if_media.h> -#if NBPF > 0 #include <net/bpf.h> -#endif #if NPNP > 0 #include <i386/isa/pnp.h> @@ -632,9 +629,7 @@ oltr_attach_common(sc) if_attach(ifp); iso88025_ifattach(ifp); -#if NBPF > 0 bpfattach(ifp, DLT_IEEE802, sizeof(struct iso88025_header)); -#endif printf("oltr%d: Adapter modes - ", sc->unit); if (sc->config->mode & TRLLD_MODE_16M) printf("TRLLD_MODE_16M "); @@ -949,10 +944,8 @@ restart: goto bad; } -#if NBPF > 0 if (ifp->if_bpf) bpf_mtap(ifp, m0); -#endif bad: @@ -1351,10 +1344,8 @@ DriverReceiveFrameCompleted(DriverHandle, ByteCount, FragmentCount, FragmentHand } ifp->if_ipackets++; -#if NBPF > 0 if (ifp->if_bpf) bpf_mtap(ifp, m0); -#endif if (ifp->if_flags & IFF_PROMISC) if (bcmp(th->iso88025_dhost, etherbroadcastaddr, sizeof(th->iso88025_dhost)) != 0) { |
