On Wed, Aug 10, 2005 at 12:59:11PM +0200, Harald Welte wrote: > thanks. So my initial idea was to put those three bits into the > "local_df,cloned,ip_summed,nohdr" bitfield. But meanwhile I stuffed > nfctinfo into that field, so there is no space.
I meant something like this (totally untested):
diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -247,16 +247,18 @@ struct sk_buff {
cloned:1,
ip_summed:2,
nohdr:1,
- nfctinfo:3;
- __u8 pkt_type;
+ pkt_type:3;
__u16 protocol;
void (*destructor)(struct sk_buff *skb);
#ifdef CONFIG_NETFILTER
- __u32 nfmark;
struct nf_conntrack *nfct;
+ __u32 nfmark;
#if defined(CONFIG_IP_VS) || defined(CONFIG_IP_VS_MODULE)
- __u8 ipvs_property:1;
+ __u8 nfctinfo:3,
+ ipvs_property:1;
+#else
+ __u8 nfctinfo:3;
#endif
#ifdef CONFIG_BRIDGE_NETFILTER
struct nf_bridge_info *nf_bridge;
--
- Harald Welte <[EMAIL PROTECTED]> http://gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
(ETSI EN 300 175-7 Ch. A6)
pgpiHNwM8TwsU.pgp
Description: PGP signature
