transport.c
来自「一个基于linux的TCP/IP协议栈的实现」· C语言 代码 · 共 23 行
C
23 行
#include <linux/module.h>#include "dummy_ipv4.h"#include "log.h"MODULE_LICENSE("Dual BSD/GPL");static int __init mytransport_init(void){ PR_DEBUG("loading the module mytransport...\n"); PR_DEBUG("loading the module mytransport finished.\n"); return 0;}static void __exit mytransport_exit(void){}module_init(mytransport_init);module_exit(mytransport_exit);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?