Date: Sat, 2 May 1998 16:04:25 +0200 (CEST) From: hm@kts.org (Hellmuth Michaelis) To: freebsd-hackers@FreeBSD.ORG (FreeBSD Hackers) Subject: bpf needs in network drivers Message-ID: <m0yVctt-00024SC@bert.kts.org>
next in thread | raw e-mail | index | archive | help
Hi, in case i do a bpfattach(&sc->sc_if, DLT_NULL, sizeof(u_int)); in a network (IP over ISDN, not PPP!) device driver, i obviously have to prepend sizeof(u_int) to each mbuf i sent to bpf, is this correct ? What do i have to put into this sizeof(u_int) (for bpf/tcpdump) ? Is it possible to do a bpfattach(&sc->sc_if, DLT_NULL, 0); and prepend nothing ? hellmuth -- Hellmuth Michaelis hm@kts.org Hamburg, Europe "Those who can, do. Those who can't, talk. And those who can't talk, talk about talking." (B. Shaw) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m0yVctt-00024SC>