예제 #1
0
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.
}
예제 #2
0
파일: filter.c 프로젝트: 09zwcbupt/personal
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.
}