This wraps '#ifdef __KERNEL__' around the definitions for SKF_* in
linux/filter.h
Signed-off-by: Kris Katterjohn <[EMAIL PROTECTED]>
Thanks.
--- x/include/linux/filter.h 2006-01-18 15:16:02.000000000 -0600
+++ y/include/linux/filter.h 2006-01-19 20:44:06.000000000 -0600
@@ -126,6 +126,7 @@ static inline unsigned int sk_filter_len
*/
#define BPF_MEMWORDS 16
+#ifdef __KERNEL__
/* RATIONALE. Negative offsets are invalid in BPF.
We use them to reference ancillary data.
Unlike introduction new instructions, it does not break
@@ -139,7 +140,6 @@ static inline unsigned int sk_filter_len
#define SKF_NET_OFF (-0x100000)
#define SKF_LL_OFF (-0x200000)
-#ifdef __KERNEL__
struct sk_buff;
struct sock;
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html