[Click] Using netfilter/ipt_CLICK

Eddie Kohler kohler at CS.UCLA.EDU
Fri Feb 13 15:41:11 EST 2004


Hi Julio,

> I wrote a click element fromnetfilter which is supposed to get packets from
> netfilter. To do so, it has to use the function ipt_click_register defined in
> /net/ipv4/netfilter/ipt_CLICK.c (which is a module for passing packets to click)
>  to register a callback.I included the
> header files /linux/netfilter_ip4/ip_tables.h and ipt_CLICK.h. Now what else 
> do I have to do to get the fromnetfilter element running? Obviously if I try
> to click-install any configuration I get the error message click.o: unresolved
>  symbol ipt_click_register. That's no surprise, I mean ipt_CLICK.o was not yet 

Did you ever solve this problem?  It's a Linux thing: you need to make sure
that the kernel exports the ipt_click_register symbol.  See
LINUXSRC/net/netsyms.c for examples.

Eddie


More information about the click mailing list