From owner-freebsd-hackers Thu Oct 12 08:37:42 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA19648 for hackers-outgoing; Thu, 12 Oct 1995 08:37:42 -0700 Received: from zibbi.mikom.csir.co.za (zibbi.mikom.csir.co.za [146.64.24.58]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id IAA19613 for ; Thu, 12 Oct 1995 08:36:28 -0700 Received: (from jhay@localhost) by zibbi.mikom.csir.co.za (8.6.11/8.6.9) id RAA03363; Thu, 12 Oct 1995 17:28:29 +0200 From: John Hay Message-Id: <199510121528.RAA03363@zibbi.mikom.csir.co.za> Subject: Re: IPX now available To: dennis@etinc.com (dennis) Date: Thu, 12 Oct 1995 17:28:28 +0200 (SAT) Cc: hackers@freebsd.org In-Reply-To: <199510121522.LAA06679@etinc.com> from "dennis" at Oct 12, 95 11:22:54 am X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1099 Sender: owner-hackers@freebsd.org Precedence: bulk > >It isn't difficult to support 802.3. The problem is in setting it from the > >userlevel. If it is just a kernel compile time option it should be easy. I > >have thought of using one of the link flags in the ifnet structure, then > >you can just add it to the ifconfig commandline. It would mean the minimum > >changes. I think you would only need to change if_ethersubr.c then. > > > I don't know how you wrote your code, but it isn't that difficult, its just > another case. When you > get an 802.3 packet, you can add an additional sanity test by looking at the > header to try to verify that > it is an IPX packet. There's no perfect way to do it, but people have been > doing it for years without > much impact on anything else. > Yes the receiving side is easy. It is the transmit part that is difficult. Not to do it, but to know when to use 802.3 and when to use Ethernet_II. You must have some kind of flag to know which protocol to use, or you must wait and hope someone will transmit a packet so that you can see which protocol is being used. John -- John Hay -- John.Hay@csir.co.za