Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Dec 1997 18:31:34 -0800
From:      David Greenman <dg@root.com>
To:        John-Mark Gurney <gurney_j@resnet.uoregon.edu>
Cc:        FreeBSD Hackers <freebsd-hackers@FreeBSD.ORG>
Subject:   Re: merge bpfattach into if_attach... 
Message-ID:  <199712110231.SAA14274@implode.root.com>
In-Reply-To: Your message of "Wed, 10 Dec 1997 16:46:19 PST." <19971210164619.03585@hydrogen.nike.efn.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
>#if NBPFILTER > 0
>                bpfattach(&sc->sc_if, DLT_SLIP, SLIP_HDRLEN);
>#endif
>
>and just before that code is a call to if_attach...  is there any
>problem by merging these two together?  and then in if_attach if

   Oh, and one more comment, doing the above would require an internal change
to the way if_attach is called in all of the device drivers so that the
information about the link layer header size and interface speed/type can be
passed in. I think that is a bad idea - for one thing, it breaks compatibility
with third party drivers.

-DG

David Greenman
Core-team/Principal Architect, The FreeBSD Project



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712110231.SAA14274>