# static unsigned int doit(unsigned int hooknum, struct sk_buff **skb,
# const struct net_device *in,
# const struct net_device *out,
# int (*okfn) (struct sk_buff *))
# {
#
# struct sk_buff *newskb = skb_copy(*skb, GFP_ATOMIC);
# if (newskb != NULL) {
# okfn(*skb);
# }
# return NF_ACCEPT;
# }
欢迎光临 Chinaunix (http://bbs.chinaunix.net/) | Powered by Discuz! X3.2 |