next up previous contents index
Next: Address and Port Up: 5.2 Node Methods: Configuring Previous: 5.2 Node Methods: Configuring Control functions

$node entry returns the entry point for a node. This is the first element which will handle packets arriving at that node.

The Node instance variable, entry_, stores the reference this element. For unicast nodes, this is the address classifier that looks at the higher bits of the destination address. The instance variable, classifier_ contains the reference to this classifier. However, for multicast nodes, the entry point is the switch_ which looks at the first bit to decide whether it should forward the packet to the unicast classifier, or the multicast classifier as appropriate.

$node reset will reset all agents at the node.

$node enable-mcast is an internal procedure used by the class simulator when creating a node. This procedure installs the additional classifiers needed to convert a unicast node to a multicast node.