netdev
[Top] [All Lists]

Re: FW: icmpv6

To: Imran.Patel@xxxxxxxxx
Subject: Re: FW: icmpv6
From: Andi Kleen <ak@xxxxxx>
Date: Tue, 13 Feb 2001 19:24:59 +0100
Cc: netdev@xxxxxxxxxxx
In-reply-to: <2D6CADE9B0C6D411A27500508BB3CBD063CD79@eseis15nok>; from Imran.Patel@nokia.com on Tue, Feb 13, 2001 at 06:04:00PM +0100
References: <2D6CADE9B0C6D411A27500508BB3CBD063CD79@eseis15nok>
Sender: owner-netdev@xxxxxxxxxxx
On Tue, Feb 13, 2001 at 06:04:00PM +0100, Imran.Patel@xxxxxxxxx wrote:
> 
> 
> > -----Original Message-----
> > From: Patel Imran (NET/Helsinki) 
> > Sent: 13. February 2001 18:53
> > To: 'ext Andi Kleen'
> > Subject: RE: icmpv6
> > 
> > 
> > > You didn't describe how you hook into the stack. In case of a 
> > > netfilter
> > > module you currently need to walk the complete Ipv6 header 
> > > chain to find 
> > > the protocol header you want, beginning with the ipv6 header 
> > > (->nh.ipv6h)
> > 
> > i hook into pre-routing hook. but the point is i can't access 
> > the icmpv6 header by skb->h.icmpv6h because icmp6 is not 
> > listed as one of the protocol in the transport header union of skbuff.


In prerouting the stack hasn't tried to parse any extension header yet. You
have to do that yourself.



-Andi

<Prev in Thread] Current Thread [Next in Thread>