warning: assignment from incompatible pointer type (注册hook时出现了)
在中的钩子函数的签名是:unsignedintnf_hookfn(unsignedinthooknum,structsk_buff**skb,conststructnet_device*in,conststructnet_device*out,int(*okfn)(structsk_buff*))
当我将nf_hookfn函数赋值给hook时,就出现了warning:assignmentfrom