Hello everyone,--I am trying to insert the SeqTsHeader in the packet and access it at MacRx interfaceWhen I remove the SeqTsHeader from the packet the time value is not correct but we can see the correct time value there in the packet.following is my part of codes.....create packetPtr<Packet> packet = Create<Packet> (m_pktSize);SeqTsHeader hdr = SeqTsHeader();packet->AddHeader(hdr);.....Config::Connect ("/NodeList/*/DeviceList/*/$ns3::WifiNetDevice/Mac/$ns3::WifiMac/MacRx", MakeCallback (&MacRxCallback));....void MacRxCallback (std::string context, Ptr<const Packet> p){...Ptr<Packet> pcopy = p->Copy();SeqTsHeader tsHdr;pcopy->RemoveHeader (tsHdr);Time ts = tsHdr.GetTs().GetNanoSeconds();NS_LOG_UNCOND (tsHdr << "\t" << "ts: "<< ts);...}Output:=====================MacRxCallback()=====================simulator time: +10997468000.0nsns3::LlcSnapHeader (type 0x800) ns3::Ipv4Header (tos 0x0 DSCP Default ECN Not-ECT ttl 64 id 9987 protocol 17 offset (bytes) 0 flags [none] length: 140 10.1.1.2 > 10.1.1.5) ns3::UdpHeader (length: 120 49153 > 10) ns3::SeqTsHeader ((seq=0 time=10.997)) Payload (size=100)(seq=3221291018 time=3.3777e+07) ts: +33776997205278720.0ns/NodeList/4/DeviceList/0/$ns3::WifiNetDevice/Mac/$ns3::WifiMac/MacRxin the packet SeqTsHeader contains correct time 10.997s but when I remove the header the seq number and time both changed with the constant value for all MacRx.can it be because I am removing the header at Mac?I appreciate your help
You received this message because you are subscribed to the Google Groups "Orlando Lions Cricket Club" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orlando-lions-cricket-club+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to orlando-lions-cricket-club+unsubsc...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Nuwan DankMobile +1 347 849 1484Home Office +1 321 315 5145"Pick up something when you fall"This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.