test.c

来自「一个基于linux的TCP/IP协议栈的实现」· C语言 代码 · 共 30 行

C
30
字号
/* test.c * linqianghe@163.com  * 2006-09-30 */#include "log.h"#include "dev.h"#include "test.h"#include <linux/module.h>MODULE_LICENSE("Dual BSD/GPL");static int __init mytest_init(void){	PR_DEBUG("loading the module myinet_test...\n");	arp_test();	PR_DEBUG("loading the module myinet_test finished.\n");	return 0;}static void __exit mytest_exit(void){}module_init( mytest_init);module_exit( mytest_exit);

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?