Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jul 1999 10:34:08 -0700 (PDT)
From:      "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com>
To:        phk@critter.freebsd.dk (Poul-Henning Kamp)
Cc:        mike@smith.net.au (Mike Smith), jeremyp@gsmx07.alcatel.com.au (Peter Jeremy), cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, jkh@FreeBSD.org
Subject:   Re: cvs commit: src/release/sysinstall tcpip.c
Message-ID:  <199907231734.KAA88336@gndrsh.aac.dev.com>
In-Reply-To: <33651.932717458@critter.freebsd.dk> from Poul-Henning Kamp at "Jul 23, 1999 10:10:58 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> I would advocate the ether_input API.  I have never heard of a 3rd
> party ethernet driver, and considering the number of changes we
> introduce between 3.x and 4.x anyway, driver compatibility is
> already pretty much shot anyway,  so I think we should fix the
> API to do it "right" rather than fight for a compatibility which
> is at best of only marginal advantage to anybody.

What about ET Inc's wan cards, if I recall Dennis screams everytime
FreeBSD changes the network layer API.  Though moving bpf up a layer
would simplfy things for him in the long run (no reason to ship 2
driver .o files, one without BPF and one with), he'll still probably
complain.

These changes would probably effect all network devices...

So there you have it, your never heard of 3rd party driver.

> 
> Poul-Henning
> 
> In message <199907230030.RAA03011@dingo.cdrom.com>, Mike Smith writes:
> >> That is really a deficiency of our ethernet layer (on my todo-list
> >> way down there...)  Each ethernet driver shouldn't have to know
> >> as much as it does about the input path for packets, or for that
> >> matter if bpf is there or not.
> >
> >The basic problem here is that bpf et. al. want the whole datagram, 
> >while ether_input wants it broken up into the header and body.
> >
> >There are two approaches we can take here; either we change ether_input
> >to take the raw packet (alters the driver API) or we shim bpf to 
> >reconstruct the packet.
> 
> --
> Poul-Henning Kamp             FreeBSD coreteam member
> phk@FreeBSD.ORG               "Real hackers run -current on their laptop."
> FreeBSD -- It will take a long time before progress goes too far!
> 
> 


-- 
Rod Grimes - KD7CAX - (RWG25)                    rgrimes@gndrsh.dnsmgr.net


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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