From owner-freebsd-current Sat Dec 7 10:31:45 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id KAA03691 for current-outgoing; Sat, 7 Dec 1996 10:31:45 -0800 (PST) Received: from alpha.xerox.com (alpha.Xerox.COM [13.1.64.93]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id KAA03686 for ; Sat, 7 Dec 1996 10:31:42 -0800 (PST) Received: from crevenia.parc.xerox.com ([13.2.116.11]) by alpha.xerox.com with SMTP id <16336(7)>; Sat, 7 Dec 1996 10:31:08 PST Received: by crevenia.parc.xerox.com id <177711>; Sat, 7 Dec 1996 10:30:59 -0800 From: Bill Fenner To: fenner@parc.xerox.com, grog@lemis.de Subject: Re: Problems with PLIP driver? Cc: FreeBSD-current@freebsd.org Message-Id: <96Dec7.103059pst.177711@crevenia.parc.xerox.com> Date: Sat, 7 Dec 1996 10:30:46 PST Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I'm wrong, it's more than just the header. I went through this in great detail quite a while ago. Look at ppp and tun for hints, you probably have to change the bpf_attach() call too. And I'd move the bpf_mtap() in the output routine way up to the top, since right now it completely misses the LINK0 case, and even if it doesn't the output routine has already zeroed out the length field in each mbuf in the chain. Fun fun. Bill