LWIP ethernetif.c分析

一、ethernetif_init()初始化底層接口 err_t ethernetif_init(struct netif *netif) {   struct ethernetif *ethernetif;   ethernetif 是一個結構體,用來描述底層硬件設備,該結構體惟一不可或缺的是MAC地址,它是LWIP用於相應ARP查詢的核心數據。其餘若是沒有特殊須要,能夠不添加其餘成員數據。  
相關文章
相關標籤/搜索