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

5.2.0.0.1 Control functions

1.
$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.

2.
$node reset will reset all agents at the node.

3.
$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.




2000-08-24