search for: nfc_alter

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

Did you mean: nfc_altered
2007 Apr 18
5
[Bridge] Any way of knowing a packet's been defragmented
...elow. cheers, Bart --- linux-2.6.8-rc2-bk9/include/linux/netfilter.h.old 2004-08-04 22:46:45.000000000 +0200 +++ linux-2.6.8-rc2-bk9/include/linux/netfilter.h 2004-08-04 22:47:49.000000000 +0200 @@ -24,6 +24,7 @@ <= 0x2000 is used for protocol-flags. */ #define NFC_UNKNOWN 0x4000 #define NFC_ALTERED 0x8000 +#define NFC_DEFRAGMENTED 0x10000 #ifdef __KERNEL__ #include <linux/config.h> --- linux-2.6.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...
2005 Oct 04
0
IMQ and nfcache
...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...
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]
2002 May 14
1
what''s the meaning of xchg()?
...gned int >++target(struct sk_buff **pskb, >++ unsigned int hooknum, >++ const struct net_device *in, >++ const struct net_device *out, >++ const void *targinfo, >++ void *userinfo) >++{ >++ (*pskb)->from_imq = 1; >++ (*pskb)->nfcache |= NFC_ALTERED; >++ >++ return IPT_CONTINUE; >++} >++ >++static int >++checkentry(const char *tablename, >++ const struct ipt_entry *e, >++ void *targinfo, >++ unsigned int targinfosize, >++ unsigned int hook_mask) >++{ >++ if (strcmp(tablenam...