ns3 itetris - scratch file

32 views
Skip to first unread message

Osama Gazali

unread,
Sep 16, 2014, 11:13:05 AM9/16/14
to ns-3-...@googlegroups.com
Dear Helper,

before i ask, i have to clarify that i build scratch scenario of topological broadcast of CAM and i want to calculate the interReceptionTime.

I would like to ask you about the right methodology of extracting reception ID in the function
void
L3RPTrace
(std::string context,
        const c2cCommonHeader &c2cHeader, Ptr<const Packet> packet,
        uint32_t interface).

Do i need to add node as argument and what changes i have to make accordingly. Any clue helper

Kind regards

Konstantinos

unread,
Sep 16, 2014, 11:23:05 AM9/16/14
to ns-3-...@googlegroups.com
Hi,

On Tuesday, September 16, 2014 4:13:05 PM UTC+1, Osama Gazali wrote:
Dear Helper,

before i ask, i have to clarify that i build scratch scenario of topological broadcast of CAM and i want to calculate the interReceptionTime.


How do you define interReceptionTime? Is it the delay?
 
I would like to ask you about the right methodology of extracting reception ID in the function
void
L3RPTrace
(std::string context,
        const c2cCommonHeader &c2cHeader, Ptr<const Packet> packet,
        uint32_t interface).

Do i need to add node as argument and what changes i have to make accordingly. Any clue helper


Again, not enough information provided. What is the reception ID. Do you want to know the ID of the vehicle/node which received it?
Have you printed the 'context' parameter to see what does it have? 
 
Kind regards


Please, when you post in the list (any list) follow these rules [1]:
  1. The post topic: state your issue briefly.
  2. The post: describe your issue in detail.
  3. The attachments: use them, if needed.
  4. The code in the post: don't do it.
  5. Reply to old posts: avoid it.
  6. Patience is a virtue: don't expect a reply in hours.

Regards,
K. 

Reply all
Reply to author
Forward
0 new messages