Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
* [LARTC] IMQ and nfcache
@ 2005-10-04 17:24 Andre D. Correa
  0 siblings, 0 replies; only message in thread
From: Andre D. Correa @ 2005-10-04 17:24 UTC (permalink / raw)
  To: lartc


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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-10-04 17:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-04 17:24 [LARTC] IMQ and nfcache Andre D. Correa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox