コード例 #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.
}