next up previous contents index
Next: 9.2 Agent methods Up: 9. Agents Previous: 9. Agents

9.1 Agent state

The C++ Agent../ns-2/agent.h includes enough internal state to assign various fields to a simulated packet before it is sent. This state includes the following:

These variables may be modified by any class derived from Agent, although not all of them may be needed by any particular agent.