static int hello_init(void) { printk(KERN_INFO "[+] Register Hello_Packet module!\n"); init_filter_if(); return 0; // Non-zero return means that the module couldn't be loaded. }
static int __init hello_init(void) { printk(KERN_INFO "Hello world!\n"); init_filter_if(); return 0; // Non-zero return means that the module couldn't be loaded. }