|
楼主 |
发表于 2022-4-6 09:59:54
|
显示全部楼层
你好,刚看资料he user function netETH_ReceiveRaw is called by the Ethernet interface to provide raw Ethernet frames to the user. The data contains Ethernet header and payload data. This allows the users to implement additional Ethernet protocols, which are not supported by the network library.
The network library calls this function, if the Ethernet Type is not supported. For supported Ethernet Types: ARP (0x0806), IPv4 (0x0800) and IPv6 (0x86dd), the function is not called.
The argument if_num specifies the Ethernet Interface which received the frame.
The argument buf points to a buffer containing the received Ethernet frame data.
The argument len specifies the number of received data bytes.
这个函数如果配置ARP IPV4 IPV6 协议,将不会回调,你测试是没有配其他协议吗? |
|