Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Apr 2002 00:31:51 +0200
From:      Sebastien Petit <spe@selectbourse.net>
To:        Julian Elischer <julian@elischer.org>
Cc:        net@freebsd.org
Subject:   Re: Netgraph question
Message-ID:  <20020409213955.639A26AA8@spe.homeunix.net>
In-Reply-To: <Pine.BSF.4.21.0204091320590.57350-100000@InterJet.elischer.org>
References:  <Pine.BSF.4.21.0204091320590.57350-100000@InterJet.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020409213955.639A26AA8>