2013-04-11 25 views
0

我想从FPGA一个以太网帧发送到我的电脑为Wireshark来接收什么是可以发送的以太网帧样本?

我通过有效载荷送入CRC发生器获得CRC的结果,但我想作为Wireshark的没有收到这是我的有效载荷

任何事情CRC错误

我得到2个想法

1. find a ethernet frame in hex code in internet and copy to VHDL to send in order to make sure no CRC error and check whether it send or not? could you post a correct ethernet frame in hex code here? 

1b. any free CRC generator code in VHDL available in internet? and any free CRC generator code in C++ language or C# language or Java language for hard code CRC in ethernet frame? 

2. use layer 2 programming in ubuntu to send a ethernet frame to another computer, 
whether i can send and display the ethernet frame which i send in ubuntu or i need to capture with wireshark in another computer? 
+0

如果你需要的是以太网帧,为什么不使用Wireshark来捕获数据包你浏览到这个网站? – Josh 2013-04-11 15:57:14

+0

这个问题的答案可能会有帮助,但我不认为它是重复的:http://stackoverflow.com/questions/12497608/calculate-and-validate-ethernet-fcs-crc32-in-vhdl – 2013-04-12 14:57:06

回答