- Home Page of ProjectGuideline.com ›
- Forums ›
- Get Help to do your B.E., and M.E., M.Tech., & M.S., Project in Ns2 ›
- size of the recieved packet
sasan175571
Participant
hi,
i want to measure the size of the received packet in ns2.33 (mac 802.11) and i want to add a code for that i mean i want to put the size of received packet in a variable and compare it with some 🙄 variables in mac 802.11.cc code for changing other parameters such as CW_, DIFS,…
. thx in advance
devums
Participant
Look for the structure hdr_cmn *ch = HDR_CMN(); In this you have an option called ch->size() to get the size. Try that out and see.