CMUTRACE.CC

7 views
Skip to first unread message

shrutisagar pattnaik

unread,
May 3, 2015, 12:19:26 AM5/3/15
to ns-u...@googlegroups.com
Could anyone please tell me what is opt_num_forwards() in cmutrace.cc file?

knudfl

unread,
May 3, 2015, 6:30:33 AM5/3/15
to ns-u...@googlegroups.com
Hi .

Google  https://www.google.com/webhp?hl=all&gws_rd=ssl#hl=en&q=define+opt_num_forwards

http://www.netlab.ecnu.edu.cn/software/ns-class/structhdr__cmn.htm

http://www-sop.inria.fr/planete/software/ns-doc/ns-current/hdr_cmn.html
int num_forwards_ :
→ »filled in by GOD on first transmission, used for trace analysis how many times this pkt was forwarded«
inline int& opt_num_forwards()
int opt_num_forwards_
→  » optimal forwards «

http://www.cs.mun.ca/~yzchen/code/ns-2.33/packet_8h_source.html
$ cd ns-2.35/ && grep -Rin opt_num_forwards *
packet
.h:639:        int opt_num_forwards_;   // optimal #forwards
packet
.h:666:   inline int& opt_num_forwards() { return (opt_num_forwards_); }

-
Reply all
Reply to author
Forward
0 new messages