# this piece of code in the clean_rx_irq function
#if 0
# similar logic to the another article of mine (need a little adaption)--> [从skb结构中获取packet的mac地址](https://editor.csdn.net/md/?articleId=111411995)
# use the %pI4 instead of %pM
#endif
e1000_receive_skb(adapter, netdev, skb, staterr, // original code
rx_desc->wb.upper.vlan);
next_desc:
rx_desc->wb.upper.status_error &= cpu_to_le32(~0xFF);
从skb结构中获取packet的ipv4地址
最新推荐文章于 2022-12-13 15:46:20 发布