From owner-freebsd-hackers Wed Feb 23 5:58:30 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from kcmso1.proxy.att.com (kcmso1.att.com [192.128.133.69]) by hub.freebsd.org (Postfix) with ESMTP id A445C37B6F7; Wed, 23 Feb 2000 05:58:21 -0800 (PST) (envelope-from myevmenkin@att.com) Received: from njb140r1.ems.att.com ([135.65.202.58]) by kcmso1.proxy.att.com (AT&T IPNS/MSO-2.2) with ESMTP id IAA25553; Wed, 23 Feb 2000 08:58:17 -0500 (EST) Received: from njb140bh2.ems.att.com by njb140r1.ems.att.com (8.8.8+Sun/ATTEMS-1.4.1 sol2) id IAA11040; Wed, 23 Feb 2000 08:57:38 -0500 (EST) Received: by njb140bh2.ems.att.com with Internet Mail Service (5.5.2650.21) id ; Wed, 23 Feb 2000 08:58:17 -0500 Message-ID: From: "Yevmenkin, Maksim N, CSCIO" To: "'David Malone'" , Archie Cobbs Cc: julian@elischer.org, freebsd-current@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: RE: NETGRAPH patches (proposal) CONT. Date: Wed, 23 Feb 2000 08:58:07 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > On Tue, Feb 22, 2000 at 09:02:43PM -0800, Archie Cobbs wrote: > > > > 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.. :-) > > In that case can we have one that also sets the destination address > via arp? > i added new control message for ``ngether_node''. i called it NGEF_RAW_MODE. now you can set it to on/off by using NgSendMsg. ``ngether_rcvdata'' will not update ``ether_shost'' if it set to on. otherwise it will. patches available at http://home.earthlink.net/~evmax/ng.tar.gz these are against -current cvsup'ed this sunday around 8:30pm EST. it also includes small test program based ion ``nghook''. Thanks, emax To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message