From owner-freebsd-net Tue Apr 9 15:31:43 2002 Delivered-To: freebsd-net@freebsd.org Received: from spe.homeunix.net (APlessis-Bouchard-103-1-1-190.abo.wanadoo.fr [80.11.164.190]) by hub.freebsd.org (Postfix) with ESMTP id F1EB437B400 for ; Tue, 9 Apr 2002 15:31:39 -0700 (PDT) Received: from there (win.bsdshell.net [172.16.1.2]) by spe.homeunix.net (Postfix) with SMTP id 639A26AA8; Tue, 9 Apr 2002 23:39:55 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-1" From: Sebastien Petit Organization: BSDshell To: Julian Elischer Subject: Re: Netgraph question Date: Wed, 10 Apr 2002 00:31:51 +0200 X-Mailer: KMail [version 1.3.2] Cc: net@freebsd.org References: In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020409213955.639A26AA8@spe.homeunix.net> 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 On Tuesday 09 April 2002 22:29, Julian Elischer wrote: > On Tue, 9 Apr 2002, Sebastien Petit wrote: > > Ok julian, > > > > So I must write loadd with ng_ether for the moment and wait for ng_etf > > include in FreeBSD 4.x. > > I can modify my code after if ng_etf is available... > > Last question, when I write a packet on the lower hook, must I include a > > CRC32 field at the end of the ethernet packet ? > > Actually you don't need etf. As archie pointed out.. you can do your own > filtering > and pass anything you don't want (e.g. PPPOE) back to the > interface.. (the the 'upper' hook (and visa versa)) > > I just MFC'd the etf type BTW. > > The HARDWARE adds and strips the CRC.. you can ignore it. > > > > also: what does `ngctl show xl0:` show? > (while it's supposed to be connected) > With tcpdump I see bad cksum 0!, so I think I must recompute ip checksum before resending the packet. Thank you for your help julian, Sebastien -- spe@selectbourse.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message