From owner-freebsd-hackers Tue Feb 22 21: 3:30 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from bubba.whistle.com (bubba.whistle.com [207.76.205.7]) by hub.freebsd.org (Postfix) with ESMTP id 0DC8C37B8DE; Tue, 22 Feb 2000 21:03:20 -0800 (PST) (envelope-from archie@whistle.com) Received: (from archie@localhost) by bubba.whistle.com (8.9.3/8.9.2) id VAA84742; Tue, 22 Feb 2000 21:02:44 -0800 (PST) From: Archie Cobbs Message-Id: <200002230502.VAA84742@bubba.whistle.com> Subject: Re: NETGRAPH patches (proposal) In-Reply-To: <38B34BBA.41C67EA6@elischer.org> from Julian Elischer at "Feb 22, 2000 06:53:46 pm" To: julian@elischer.org (Julian Elischer) Date: Tue, 22 Feb 2000 21:02:43 -0800 (PST) Cc: archie@whistle.com (Archie Cobbs), myevmenkin@att.com (Yevmenkin Maksim N CSCIO), freebsd-current@freebsd.org, freebsd-hackers@freebsd.org X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Julian Elischer writes: > > > ok. i just have a dumb question. what is the big deal with updating > > > ether_shost > > > in ethernet header in ngether_rcvdata. since we are passing raw ethernet > > > frame, > > > why should we update ether_shost? wouldn't it be nice to make it optional? > > > just another control message? > > > > I agree.. you should have to set the host address manually. > > It's because all packets sent by this node should have the node's > address. If you don't have it then PPPoE cannot send a packet "FROM" > thia node, as it has no idea of what this node's address is. So.. we can have two hooks, one that sets the host address and one that doesn't.. :-) -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message