From owner-freebsd-hackers Tue Feb 29 10: 4:45 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.40.131]) by hub.freebsd.org (Postfix) with ESMTP id BBA8F37B82C; Tue, 29 Feb 2000 10:04:38 -0800 (PST) (envelope-from phk@critter.freebsd.dk) Received: from critter.freebsd.dk (localhost.freebsd.dk [127.0.0.1]) by critter.freebsd.dk (8.9.3/8.9.3) with ESMTP id TAA31677; Tue, 29 Feb 2000 19:03:53 +0100 (CET) (envelope-from phk@critter.freebsd.dk) To: Julian Elischer Cc: "Yevmenkin, Maksim N, CSCIO" , "'freebsd-current@freebsd.org'" , "'freebsd-hackers@freebsd.org'" Subject: Re: NETGRAPH (proposal. FINAL) In-reply-to: Your message of "Tue, 29 Feb 2000 09:52:05 PST." <38BC0745.2781E494@elischer.org> Date: Tue, 29 Feb 2000 19:03:53 +0100 Message-ID: <31675.951847433@critter.freebsd.dk> From: Poul-Henning Kamp Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <38BC0745.2781E494@elischer.org>, Julian Elischer writes: >> these are final patches for NETGRAPH. >> new features: >> - new hook ``divertin'' allows to put frame back to >> kernel stack. >> - new control message allows to set raw mode on >> ``divert'' hook. raw mode assumes that we have >> fully prepared frame and we do not have to update >> ``ether_shost'' field. > >This is good in theory, however the intel 82586 ethernet chip >(and 596 in 586 mode) will overwrite anything you put there anyhow >as it treats the header specially and fabricates it. >(unless you are running in some mode that is not usually used). >I don't know how many other chips do this but it may be misleading >for the user who sets this on such a chip because the source >address he sets will not be put on the wire. But the driver would know and could issue an error or warning in that case ? I guess the packet should be failed with ENOCANDO ? -- 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 freebsd-hackers" in the body of the message