Error at simulation with inet 4.3.9

53 views
Skip to first unread message

Νικος Γιαννόπουλος

unread,
Aug 12, 2022, 4:06:02 AM8/12/22
to OMNeT++ Users
Hello all when i run the simulation and after the packet sends from nodes and going to switch i am getting this

Returning an incorrect chunk is not allowed according to the flags: 0 -- in module (inet::EthernetMac) ARPTest.switch1.eth[0].mac (id=28), at t=0.002012144s, event #6

how to fix this?

Νικος Γιαννόπουλος

unread,
Aug 12, 2022, 5:31:27 AM8/12/22
to OMNeT++ Users

Now i am getting this 
Cannot find serializer for inet::testPacket -- in module (inet::EthernetMac) ARPTest.switch1.eth[0].mac (id=28), at t=0.002000816s, event #6

Alfonso Ariza Quintana

unread,
Aug 12, 2022, 6:13:19 AM8/12/22
to omn...@googlegroups.com
I suppose that you are using emulation, in this case, you need to include the serializer
You can use this like reference
INET Framework for the OMNeT++ discrete event simulator - inet/ApplicationPacketSerializer.h at master · inet-framework/inet
https://github.com/inet-framework/inet/blob/master/src/inet/applications/base/ApplicationPacketSerializer.cc
INET Framework for the OMNeT++ discrete event simulator - inet/ApplicationPacketSerializer.cc at master · inet-framework/inet


De: omn...@googlegroups.com <omn...@googlegroups.com> en nombre de Νικος Γιαννόπουλος <giannop...@gmail.com>
Enviado: viernes, 12 de agosto de 2022 11:31
Para: OMNeT++ Users <omn...@googlegroups.com>
Asunto: [Omnetpp-l] Re: Error at simulation with inet 4.3.9
 
--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/omnetpp/0dee4e27-62d0-47f3-94f7-7b01c2b5142cn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages