static unsigned int count(unsigned int hooknum,                   struct sk_buff **pskb,                   const struct net_device *in,                   const struct net_device *out,                   int (*okfn)(struct sk_buff *)) {     /*     * callback-Funktion     * wird für jedes Paket aufgerufen des den Hook passiert     */     return NF_ACCEPT; } static struct nf_hook_ops hook_out = {         { NULL, NULL }, count, PF_INET,         NF_IP_LOCAL_OUT, NF_IP_PRI_FIRST}; /* * Kernel Module Initialisierung */ static int __init init(void) {     int ret = 0;     ret = nf_register_hook(&hook_out);     if(ret < 0)             printk("traffic:: could not register Hook: NF_LOKAL_OUT\n");     return ret; } static void __exit fini(void) {     nf_unregister_hook(&hook_out); }