From owner-cvs-all Fri Jul 23 7:12:49 1999 Delivered-To: cvs-all@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (Postfix) with ESMTP id E680214FA1; Fri, 23 Jul 1999 07:12:41 -0700 (PDT) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.9.3/8.9.2) with ESMTP id QAA35100; Fri, 23 Jul 1999 16:09:10 +0200 (CEST) (envelope-from phk@critter.freebsd.dk) To: Kenjiro Cho Cc: Mike Smith , Peter Jeremy , cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, jkh@FreeBSD.org Subject: Re: cvs commit: src/release/sysinstall tcpip.c In-reply-to: Your message of "Fri, 23 Jul 1999 19:50:05 +0900." <199907231050.TAA00721@hotaka.csl.sony.co.jp> Date: Fri, 23 Jul 1999 16:09:10 +0200 Message-ID: <35098.932738950@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk In message <199907231050.TAA00721@hotaka.csl.sony.co.jp>, Kenjiro Cho writes: > >Poul-Henning Kamp said: >>> 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. > >If we are going to change the network driver API, I want to push it >further. (I briefly touched this point at USENIX.) > - queueing should be taken out of drivers > - redefine ifioctl handling > - reorganize link-type/proocol specific handling > >Also, it would be nice to have a common interface layer (or it can be >called "abstracted network device layer") that handles the following >items: > - bpf, bridging > - fastforwarding > - queueing, (multiprotocol) firewall > (possible integration of ALTQ, dummynet, ipfw) > - layered interfaces > (subinterfaces (vlan or atm), multi-link, tunneling) >This common interface layer will make future evolution easier. > >In this model, a driver simply passes a raw packet to >if_input(), something like: > >[...] > >Comments? By all means go for it! If ALTQ sneaks in at the same time I guess we would close our eyes and accept it :-) -- 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! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message