[lkml]   [2001]   [Oct]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectNetfilter problem

I've a strange error when I try to check protocol type
in netfilter hook function.

I see this message:
kping.c: In function `knet_hook':
kping.c:116: dereferencing pointer to incomplete type
make: *** [kping.o] Error 1

This is part of my code:
unsigned int knet_hook(unsigned int hooknum,
struct sk_buff** p_skb,
const struct net_device* p_in,
const struct net_device* p_out,
int (*okfn)(struct sk_buff* ))
(unsigned char)IPPROTO_ICMP)
printk("<1>ICMP Packet killed\n");
return NF_DROP;

It had compiled on 2.4.1 version.

I don't understand why ... .

Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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