1、相关结构体 1.1 struct eth_device //表示一个网络设备 struct eth_device { #define ETH_NAME_LEN 20 char name[ETH_NAME_LEN]; unsigne