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
-- 
[EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message

Reply via email to