snull.mod.c

来自「linux device driver examples」· C语言 代码 · 共 54 行

C
54
字号
#include <linux/module.h>#include <linux/vermagic.h>#include <linux/compiler.h>MODULE_INFO(vermagic, VERMAGIC_STRING);#undef unixstruct module __this_module__attribute__((section(".gnu.linkonce.this_module"))) = { .name = __stringify(KBUILD_MODNAME), .init = init_module,#ifdef CONFIG_MODULE_UNLOAD .exit = cleanup_module,#endif};static const struct modversion_info ____versions[]__attribute_used____attribute__((section("__versions"))) = {	{ 0xcad995a5, "struct_module" },	{ 0xf3ac1ec4, "register_netdev" },	{ 0x67abd1d3, "alloc_etherdev" },	{ 0xa153ce0f, "free_netdev" },	{ 0x71b6e0eb, "unregister_netdev" },	{ 0x8e70a9cf, "ether_setup" },	{ 0x9b331292, "skb_under_panic" },	{ 0x7d11c268, "jiffies" },	{ 0xb994c584, "per_cpu__irq_stat" },	{ 0xbd76022d, "__kfree_skb" },	{ 0x89ed8078, "netif_receive_skb" },	{ 0x49dbc89b, "skb_over_panic" },	{ 0xa13798f8, "printk_ratelimit" },	{ 0xe5a49a70, "netif_rx" },	{ 0xfcf443fb, "eth_type_trans" },	{ 0x69c36f70, "alloc_skb" },	{ 0xd8c152cd, "raise_softirq_irqoff" },	{ 0xdbfd4ec3, "per_cpu__softnet_data" },	{ 0x1902adf, "netpoll_trap" },	{ 0x37a0cba, "kfree" },	{ 0x1b7d4074, "printk" },	{ 0x2642591c, "kmem_cache_alloc" },	{ 0x3de88ff0, "malloc_sizes" },	{ 0x89b301d4, "param_get_int" },	{ 0x98bd6f46, "param_set_int" },};static const char __module_depends[]__attribute_used____attribute__((section(".modinfo"))) ="depends=";MODULE_INFO(srcversion, "321F1FCEE1833FB33C2BFB8");

⌨️ 快捷键说明

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