After compile my iptables i try to insert my simple netfilter target.
All goes right, but when i try to start my module iptables says :

# iptables -I INPUT -j HELLO
iptables: Invalid argument

I have insert libipt_HELLO.c into /iptables/extensions and recompiled
iptables(I have also modified Android.mk to add the module HELLO) and
recompiled it, then i compiled xt_HELLO.c and i have obtained
xt_HELLO.ko.
I push iptables command into /system/bin and I have insmodded
xt_HELLO.ko.

This is my libipt_HELLO.c
https://docs.google.com/leaf?id=0B5fuqkGT9Av2Y2E1MjFlNTQtZDI5ZC00MTM3LWExNzUtMDIyZGU1ZjhhNGMy&sort=name&layout=list&num=50

this is xt_HELLO.c
https://docs.google.com/leaf?id=0B5fuqkGT9Av2ZGEyMmEwYjYtMDNjNi00NTM0LTk2ZmUtYjBhOGU2OTdiNDVi&sort=name&layout=list&num=50

and finally the makefile
https://docs.google.com/leaf?id=0B5fuqkGT9Av2ZDBkYzY2ZjQtZjMwZi00ZTExLWE5YzgtMzVkN2EzMDY1ODFi&sort=name&layout=list&num=50

What is wrong?

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel

Reply via email to