lkml.org 
[lkml]   [2000]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectPROBLEM: 2.3.49 and 0.1.18 comp-fail
Date
From

hi.

I use netfilter with 2.3.x. kernels. Last kernel 2.3.49 does not compile
with netfilter 0.1.18...

netfilter: 0.1.18
file that comp-fails: device/netfilter_dev.c
compiler: gcc 2.7.2.3
Linux kernel: 2.3.49

Compilation Errors:
device/netfilter_dev.c:29: field `base' has incomplete type
device/netfilter_dev.c:38: field `wake' has incomplete type
device/netfilter_dev.c:239: invalid initializer for `(anonymous).base'
device/netfilter_dev.c:314: invalid initializer for `(anonymous).base'

Reason:
struct nf_interest and nf_wakeme are absent in header.

Details:
kernel header include/linux/netfilter.h has been changed in this patch.
This part of kernel patch 2.3.49 to netfilter.h causes problem:
-struct nf_wakeme
-{
- wait_queue_head_t sleep;
- struct sk_buff_head skbq;
-};
-
-/* For netfilter device. */
-struct nf_interest
-{
- struct list_head list;
-
- int pf;
- /* Bitmask of hook numbers to match (1 << hooknum). */
- unsigned int hookmask;
- /* If non-zero, only catch packets with this mark. */
- unsigned int mark;
- /* If non-zero, only catch packets of this reason. */
- unsigned int reason;
-
- struct nf_wakeme *wake;
-};
-



- Abhay
--
PKI lookup "Abhay Kanhere"
DSA/ELG fingerprint = 48AE F7B6 8723 52C6 D108 0854 AE56 E1C4 9500 EEAD
DSA Key fingerprint = FDF2 68DF C109 D6F5 A893 8C46 447E 7157 EBC8 476C


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.048 / U:0.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site