[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

About "insmod -f ./nethook.o"



Hi, everyone:
 
When insert one module about network testing, I meet some problems as following:
[root#ss-test ~/c]# insmod -f ./nethook.o
./nethook.o: unresolved symbol nf_unregister_hook
./nethook.o: unresolved symbol nf_register_hook
./nethook.o: unresolved symbol ntohs
 
[root#ss-test ~/c]#cat /proc/ksyms | grep hook
c030382c console_blank_hook_Rd25d4f74
c01db050 nf_register_hook_R__ver_nf_register_hook
c01db0b0 nf_unregister_hook_R__ver_nf_unregister_hook
c01db5b0 nf_hook_slow_R__ver_nf_hook_slow
c0312620 nf_hooks_R__ver_nf_hooks
[root@ss-test ~/c]#
---------end of the snippet
 
Anyone would give some help?
 
Thank you in advace!
--
David
--
There are three kinds of people, man, woman and unix.