[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] create trace for the new link layer



Hi, all:
  I developed a new link layer, which is derived from LL in ns, and I want
to create a trace for this new link layer. From mac.h(cc), and
mac-802_11.cc(h), they have a logtarget in Mac or Mac_802_11, but the
logtarget_ need to be initialized. I guess it needs to be initialized to a
Trace object?? and where can I initialize it?? in some tcl file??


THANKS for any feedback!
yan