I want to create or edit the nodes in inet or omnet++.
Instead of having seven layers for example, I want a host with three layers (phys, mac and app)
I want to create or edit the nodes in inet or omnet++.
Instead of having seven layers for example, I want a host with three layers (phys, mac and app)
Copyright © 2021 Jogjafile Inc.
There are several approaches, from the most complex to the simplest:
EthernetHostas an example)LinkLayerNodeBase. That will inherit only up to the link layer.hasIpv4,hasUdpandhasTcpto false)EthernetAppand all its descendant) then packets sent by the app will anyway directly sent to the linklayer and routed around the transport and network layers).