PCAP Recording - Showcase #603
Replies: 5 comments
-
Is there any way to capture PCAP with the AODV protocol without the serialize UDP error ? |
Beta Was this translation helpful? Give feedback.
-
Cannot find serializer for VeinsInetSampleMessage -- in module (inet::Ipv4) Scenario.wifi[0].ipv4.ip |
Beta Was this translation helpful? Give feedback.
-
@selzermauricio The answer for your question is in the error message, add the following to your INI file: **.crcMode = "computed" and perhaps also **.fcsMode = "computed" @SandeepaDevin You have to have a serializer for VeinsInetSampleMessage, see how the other serializers are implemented. |
Beta Was this translation helpful? Give feedback.
-
I'm sorry if this is a stupid question but is there a way to make your PCAP-recorder backwards compatible for INET 3.6.6? After those modifications the showcase simulation runs as expected and once it has concluded it generates the PCAP files containing IP, ICMP, TCP and UDP packets, but it seems like I can't capture any Ethernet frames, which is unfortunate since that's exactly what I need. Judging from the comments in your code, I guess the issue could be related to these two lines: I have tried adding the files from inet 4.1.2 to inet 3.6.6 where you define this, but I haven't been able to get it to work. I was wondering if you have any thoughts on whatever it's feasible to make this showcase work in INET 3.6.6? |
Beta Was this translation helpful? Give feedback.
-
Hi, After run simulation of this example, I found pcap file of host2 has no data. I have tried to modified the code, but it didn't work. |
Beta Was this translation helpful? Give feedback.
-
Discuss the "PCAP Recording" showcase here. Ideas and recommendations are welcome.
Beta Was this translation helpful? Give feedback.
All reactions