inet-framework / inet

INET Framework for the OMNeT++ discrete event simulator
https://inet.omnetpp.org
Other
441 stars 488 forks source link

How to Add Custom Tags to the Headers of Packets Sent by the Application? #993

Closed xiaoyuyaa555 closed 2 months ago

xiaoyuyaa555 commented 2 months ago

Hi there,

I’m working on a project where I need to include custom tags in the headers of packets sent by the application. I’m not sure how to modify the application to achieve this. Could someone provide guidance or examples on how to add these custom tags to the headers?

For example, in the following example, I would like to add a new tag for the remaining deadline:

// NewTag.msg class NewATSTag extends TagBase {
double remainDeadline; }