The node can receive standard Ethernet packet and output corresponding current loop.
此节点可以接收标准以太网报文,转换成相应的电流输出。
Since we are looking for IP packets, we can check for IP packets by looking at the Ethernet packet type.
因为我们寻找的是 IP 数据包,所以我们能通过检查 Ethernet 数据包类型来检查 IP 数据包。
So in this example, we first need to extract the Ethernet packet, including the data payload, from the raw network packet.
所以在本例中,我们首先需要从原始网络数据包中提取Ethernet数据包,包括数据有效负载。
应用推荐