Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: "Andre D. Correa" <andre.correa@pobox.com>
To: lartc@vger.kernel.org
Subject: [LARTC] IMQ and nfcache
Date: Tue, 04 Oct 2005 17:24:18 +0000	[thread overview]
Message-ID: <4342BAC2.3090805@pobox.com> (raw)


Hi, I'm working on the IMQ patch for 2.6.14-rc* and ran in trouble with 
nfcache. I have to be honest that I'm not following kernel devel as I 
should so I need to ask for a little help here. I know Mr Harald Welte 
removed nfcache but I'm not sure about the way to go. I have this at 
net/ipv4/netfilter/ipt-IMQ.c:

static unsigned int imq_target(struct sk_buff **pskb,
                               const struct net_device *in,
                               const struct net_device *out,
                               unsigned int hooknum,
                               const void *targinfo,
                               void *userdata)
{
        struct ipt_imq_info *mr = (struct ipt_imq_info*)targinfo;

        (*pskb)->imq_flags = mr->todev | IMQ_F_ENQUEUE;
        (*pskb)->nfcache |= NFC_ALTERED;

        return IPT_CONTINUE;
}

I found that in places like ip_conntrack_core.c and ip_nat_core.c, 
nfcache references have just being removed.

Tk in advance for any help.

Cheers...

--------------------------------------------------------------------
Andre D. Correa, CISSP         |  Visite meus projetos pessoais:
andre.correa (at) pobox.com    |  Visit my personal projects:
http://andre.hiperlinks.com.br |  - http://www.malware.com.br/
Sao Paulo / SP / Brazil        |  - http://www.linuximq.net/
--------------------------------------------------------------------

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

                 reply	other threads:[~2005-10-04 17:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=4342BAC2.3090805@pobox.com \
    --to=andre.correa@pobox.com \
    --cc=lartc@vger.kernel.org \
    /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