Home
last modified time | relevance | path

Searched refs:sc_bpf (Results 1 – 4 of 4) sorted by relevance

/original-bsd/sys/net/
H A Dif_sl.c179 bpfattach(&sc->sc_bpf, &sc->sc_if, DLT_SLIP, SLIP_HDRLEN); in slattach()
418 if (sc->sc_bpf) {
446 if (sc->sc_bpf) {
454 bpf_tap(sc->sc_bpf, bpfbuf, len + SLIP_HDRLEN);
673 if (sc->sc_bpf) {
714 if (sc->sc_bpf) {
725 bpf_tap(sc->sc_bpf, hp, len + SLIP_HDRLEN);
H A Dif_slvar.h33 caddr_t sc_bpf; /* BPF data */ member
/original-bsd/sys/i386/isa/
H A Dif_ec.c81 caddr_t sc_bpf; /* for packet filter */ member
243 bpfattach(&ec->sc_bpf, ifp, DLT_EN10MB, sizeof(struct ether_header));
389 if (ec->sc_bpf)
390 bpf_tap(ec->sc_bpf, ec->sc_hmem->txbuf[ec->sc_txnum], len);
562 if (ec->sc_bpf)
563 bpf_tap(ec->sc_bpf, buf, len + sizeof(struct ether_header));
/original-bsd/sys/sparc/sbus/
H A Dif_le.c118 caddr_t sc_bpf; member
230 bpfattach(&sc->sc_bpf, ifp, DLT_EN10MB, sizeof(struct ether_header));
441 if (sc->sc_bpf)
442 bpf_tap(sc->sc_bpf, sc->sc_r2->ler2_tbuf[0], len);
680 if (sc->sc_bpf) {
681 bpf_tap(sc->sc_bpf, pkt, len + sizeof(struct ether_header));