next up previous contents index
Next: 12. Error Model Up: 11. Packet Headers and Previous: 11.2.4 The PacketHeaderManager Class

11.3 Commands at a glance

Following is a list of packet-header related procedures:

$ns_ create_packetformat
This is an internal simulator procedure and is called once during the simulator configuration to setup a packetHeaderManager object.

$pktHdrManager allochdr
This is another internal procedure of Class PacketHeaderManager that keeps track of a variable called hdrlen_ as new packet-headers are enabled. It also allows 8-byte allignment for any newly-enabled pkt header.