<div dir="ltr"><div><div><div>Hi <br><br></div>I am trying to add tag to the data packet like fw-hop-count tag.<br></div>So I modified EXPTag.hpp and .cpp like fw-hop-count-tag .hpp and cpp. And I wnat to ADD this when the producer provide the data.<br></div><div>Therefore I do it as follow.<br></div><div>I am currently using ndnSIM 2.0.<br><br></div><div><br>if (data!=0) <br>{<br> EXPTag exptag;<br>NS_LOG_INFO ("Infomation "<< exp<< " : send to data > "<< data->getName());<br>exptag.Set (exp);<br>data->GetPayload()->AddPacketTag (exptag);<br><br><br></div><div>The error is that data have no member name "GetPayload ( ) " .<br><br></div><div>And I also check the data.h file and I don't see GetPayload function.<br><br></div><div>Please kindly let me get your guidance how can I used  AddPacketTag in producer.cpp in ndnSIM 2.0. <br><br></div><div>With Best Regards.<br></div><div>Theint Theint Myo<br></div></div>