Hi, everyone,

I know how to access physical layer since Class Node provides a variable 
ifhead_ for list of phys.
So
WirelessPhy* physicalLayer = (WirelessPhy*)(node_->ifhead()).lh_first;
works.

But it does not provide list of mac, thus can I access mac layer similar as 
above?
I know tcl may work by calling mac layer and then again use tcl to return the 
desired value, but is there any method to access it directly using c++?

Best,
Pei

Pei Huang, Ph.D. student
Dept. of Computer Science and Engineering
Michigan State University
http://dekst.awardspace.com
       
---------------------------------
 雅虎邮箱,您的终生邮箱!

Reply via email to