From mboxrd@z Thu Jan 1 00:00:00 1970 From: JC Subject: Re: netfilter hook function error... Date: Wed, 21 Sep 2005 02:49:18 +0100 Message-ID: References: <4330b900.50a87b17.7179.ffffad17SMTPIN_ADDED@mx.gmail.com> Reply-To: JC Mime-Version: 1.0 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <4330b900.50a87b17.7179.ffffad17SMTPIN_ADDED@mx.gmail.com> Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii" To: wei shuxi Cc: netfilter-devel@lists.netfilter.org, netfilter@lists.netfilter.org On 21/09/05, wei shuxi wrote: > Hi, > > try my_ipheader =3D (struct iphdr *)((*skb)->nh->iph); > both my_ipheader =3D (struct iphdr *)((*skb)->nh->iph); and my_ipheader =3D (struct iphdr *)((*skb).nh->iph); don't work either... J