LWIP ethernetif.c分析

一、ethernetif_init()初始化底层接口 err_t ethernetif_init(struct netif *netif) {   struct ethernetif *ethernetif;   ethernetif 是一个结构体,用来描述底层硬件设备,该结构体惟一不可或缺的是MAC地址,它是LWIP用于相应ARP查询的核心数据。其余若是没有特殊须要,能够不添加其余成员数据。  
相关文章
相关标签/搜索