Linux Netfilter discussions
 help / color / mirror / Atom feed
From: JC <bikkit@gmail.com>
To: wei shuxi <shuxi_w@seu.edu.cn>
Cc: netfilter-devel@lists.netfilter.org, netfilter@lists.netfilter.org
Subject: Re: netfilter hook function error...
Date: Wed, 21 Sep 2005 02:49:18 +0100	[thread overview]
Message-ID: <a60102c3050920184959fa2b84@mail.gmail.com> (raw)
In-Reply-To: <4330b900.50a87b17.7179.ffffad17SMTPIN_ADDED@mx.gmail.com>

On 21/09/05, wei shuxi <shuxi_w@seu.edu.cn> wrote:
> Hi,
>
> try   my_ipheader = (struct iphdr *)((*skb)->nh->iph);
>

both

   my_ipheader = (struct iphdr *)((*skb)->nh->iph);

and

   my_ipheader = (struct iphdr *)((*skb).nh->iph);

don't work either...

J


       reply	other threads:[~2005-09-21  1:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4330b900.50a87b17.7179.ffffad17SMTPIN_ADDED@mx.gmail.com>
2005-09-21  1:49 ` JC [this message]
2005-09-21  0:13 netfilter hook function error JC
2005-09-21  1:14 ` JC
2005-09-21  5:51 ` Patrick Schaaf
2005-09-21  6:09   ` JC

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a60102c3050920184959fa2b84@mail.gmail.com \
    --to=bikkit@gmail.com \
    --cc=netfilter-devel@lists.netfilter.org \
    --cc=netfilter@lists.netfilter.org \
    --cc=shuxi_w@seu.edu.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox