Appendix C

Trace File Field Types

Field 0: event type

s: send r: receive d: drop f: forward

Filed 1: General tag

–t: time

Field 2: Next hop info

–Hs: id for this node

–Hd: id for next hop towards the destination
Field 3: Node property type tag

–Ni: node id

–Nx –Ny –Nz: node’s x/y/z coordinate

–Ne: node energy level

–Nl: trace level, such as AGT, RTR, MAC

–Nw: reason for the event
Field 4: packet info at MAC level

–Ma: duration

–Md: dest’s ethernet address

–Ms: src’s ethernet address

–Mt: ethernet type
Field 5: Packet information at IP level

–Is: source address. Source port number

–Id: dest address.dest port number

–It: packet type

–Il: packet size

–If: flow id

–Ii: unique id

–Iv: ttl value
Field 6: Packet info at “Application level” which consists of the type of application like ARP, TCP, CBR, the type of ad-hoc routing protocol like DSDV, DSR, AODV etc. The field consists of a leading –P and the list of tags for different applications.
For values of the fields for AODV and CBR are described below;
For AODV:

–Pt: Control message type

–Ph: Hop-count

–Pb: Broadcast-id

–Pd: Destination

–Pds: Dest Seqno

–Ps: Source

–Pss: Source Seqno

–Pl: Lifetime

–Pc: Pkt Type, REPLY/ERROR
For CBR:

–Pn: This denotes the application of “CBR”

–Pi: sequence number

–Pf: how many times this pkt was forwarded

–Po: optimal number of forwards

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.141.31.222