search for: nfcache

Displaying 4 results from an estimated 4 matches for "nfcache".

Did you mean: ncache
2005 Oct 04
0
IMQ and nfcache
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...
2005 Dec 17
0
ipt_IPMARK.c should have nfcache removed
Hello! I think 36th line of ipt_MARK which is (*pskb)->nfcache |= NFC_ALTERED; Should be removed. At least looking at that patch: http://lists.netfilter.org/pipermail/netfilter-devel/2005-July/020382.html -- Michał Margula, alchemyx@uznam.net.pl, http://alchemyx.uznam.net.pl/ "W życiu piękne są tylko chwile" [Ryszard Riedel]
2007 Apr 18
5
[Bridge] Any way of knowing a packet's been defragmented
....8-rc2-bk9/net/ipv4/netfilter/ip_conntrack_core.c.old 2004-08-04 22:46:32.000000000 +0200 +++ linux-2.6.8-rc2-bk9/net/ipv4/netfilter/ip_conntrack_core.c 2004-08-04 22:48:20.000000000 +0200 @@ -1212,7 +1212,7 @@ ip_ct_gather_frags(struct sk_buff *skb) } ip_send_check(skb->nh.iph); - skb->nfcache |= NFC_ALTERED; + skb->nfcache |= NFC_ALTERED | NFC_DEFRAGMENTED; #ifdef CONFIG_NETFILTER_DEBUG /* Packet path as if nothing had happened. */ skb->nf_debug = olddebug;
2002 May 14
1
what''s the meaning of xchg()?
...ic void >+help(void) >+{ >+ printf( >+"IMQX target vs has no options\n", >+NETFILTER_VERSION); >+} >+ >+static struct option opts[] = { >+ { 0 } >+}; >+ >+/* Initialize the target. */ >+static void >+init(struct ipt_entry_target *t, unsigned int *nfcache) >+{ >+} >+ >+/* Function which parses command options; returns true if it >+ ate an option */ >+static int >+parse(int c, char **argv, int invert, unsigned int *flags, >+ const struct ipt_entry *entry, >+ struct ipt_entry_target **target) >+{ >+ if (c)...