nic.h
来自「Linux启动程序grub的源码分析与实现;」· C头文件 代码 · 共 32 行
H
32 行
/* * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2, or (at * your option) any later version. */#ifndef NIC_H#define NIC_H/* * Structure returned from eth_probe and passed to other driver * functions. */struct nic{ void (*reset)P((struct nic *)); int (*poll)P((struct nic *)); void (*transmit)P((struct nic *, const char *d, unsigned int t, unsigned int s, const char *p)); void (*disable)P((struct nic *)); int flags; /* driver specific flags */ struct rom_info *rom_info; /* -> rom_info from main */ unsigned char *node_addr; char *packet; unsigned int packetlen; void *priv_data; /* driver can hang private data here */};#endif /* NIC_H */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?