From owner-freebsd-net Tue Aug 6 12:30:19 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C4D9C37B401; Tue, 6 Aug 2002 12:30:15 -0700 (PDT) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBC6C43E4A; Tue, 6 Aug 2002 12:30:14 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: from khavrinen.lcs.mit.edu (localhost [IPv6:::1]) by khavrinen.lcs.mit.edu (8.12.3/8.12.5) with ESMTP id g76JUDls091465 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Tue, 6 Aug 2002 15:30:14 -0400 (EDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.12.3/8.12.5/Submit) id g76JUDed091462; Tue, 6 Aug 2002 15:30:13 -0400 (EDT) (envelope-from wollman) Date: Tue, 6 Aug 2002 15:30:13 -0400 (EDT) From: Garrett Wollman Message-Id: <200208061930.g76JUDed091462@khavrinen.lcs.mit.edu> To: Luigi Rizzo Cc: net@FreeBSD.org Subject: cvs commit: src/sys/net if_ethersubr.c In-Reply-To: <200208042355.g74Nt6lj046576@freefall.freebsd.org> References: <200208042355.g74Nt6lj046576@freefall.freebsd.org> Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org < said: > Extend the interface to ether_input(): a NULL eh pointer means that > the mbuf contains the ethernet header (eh) as well, which ether_input() > will strip off as needed. The original reason ether_input() worked like it did was that many older interfaces siphoned off the Ethernet header to a separate buffer. I agree that it's long since time to make this change. -GAWollman To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message