Hello list, I am implementing a self-healing routing protocol for ring topologies on ns-2.23. My header has a field "type_" which is set to indicate four different types of packets that the protocol can handle. For instance, one type is DIAGN(ostics) and one other is DIAGN_ACK.
Is there an easy way to change packet colors based on their "type_" values so I could spot them with nam? (I am very new with ns/nam) Many thanks in advance, Alexandros