Ns Parameter
Ns Parameter
the destination -1 means that the packet is a broadcast packet -2 means that the destination node has not been set packets that are passed between the agent (-Nl AGT) and routing (-Nl RTR) levels Node information -Ni: node id -Nx: nodes x-coordinate -Ny: nodes y-coordinate -Nz: nodes z-coordinate -Ne: node energy level -Nl: trace level, such as AGT, RTR, MAC -Nw: reason for the event (ref. NS manual) Mac layer information -Ma: duration -Md: dsts ethernet address -Ms: srcs ethernet address -Mt: ethernet type IP level information -Is: source address.source port number -Id: destination address.dest port number -It: packet type -Il: packet size -If: flow id -Ii: unique id -Iv: ttl value Address Resolution Protocol information -P arp -Po: ARP Request/Reply -Pm: src mac address -Ps: src address -Pa: dst mac address -Pd: dst address CBR traffic information -P cbr -Pi: sequence number -Pf: how many times this pkt was forwarded -Po: optimal number of forwards
TCP traffic information -P tcp -Ps: seq number -Pa: ack number -Pf: how many times this pkt was forwarded -Po: optimal number of forwards