#include <parentnode.h>
Inheritance diagram for LanNode:


Public Member Functions | |
| LanNode () | |
| virtual int | command (int argc, const char *const *argv) |
| virtual int | address () |
| virtual int | nodeid () |
| virtual void | add_route (char *, NsObject *) |
| virtual void | delete_route (char *, NsObject *) |
| virtual void | set_table_size (int nn) |
| virtual void | set_table_size (int lev, int nn) |
Protected Attributes | |
| int | nodeid_ |
| int | address_ |
|
|
Definition at line 63 of file parentnode.h.
00063 : ParentNode() {} |
|
||||||||||||
|
Reimplemented in Node, and BroadcastNode. Definition at line 47 of file parentnode.h. Referenced by Simulator::populate_flat_classifiers().
00047 {}
|
|
|
Reimplemented in Node. Definition at line 45 of file parentnode.h. References ParentNode::address_. Referenced by Simulator::node_id_by_addr(), and Simulator::populate_hier_classifiers().
00045 { return address_;}
|
|
||||||||||||
|
Definition at line 57 of file parentnode.cc. References ParentNode::address_, Address::instance(), ParentNode::nodeid_, and Address::str2addr().
00057 {
00058 if (argc == 3) {
00059 if (strcmp(argv[1], "addr") == 0) {
00060 address_ = Address::instance().str2addr(argv[2]);
00061 return TCL_OK;
00062 } else if (strcmp(argv[1], "nodeid") == 0) {
00063 nodeid_ = atoi(argv[2]);
00064 return TCL_OK;
00065 }
00066 }
00067 return ParentNode::command(argc,argv);
00068 }
|
Here is the call graph for this function:

|
||||||||||||
|
Reimplemented in Node, and BroadcastNode. Definition at line 48 of file parentnode.h.
00048 {}
|
|
|
Reimplemented in Node. Definition at line 46 of file parentnode.h. References ParentNode::nodeid_. Referenced by Simulator::get_link_head(), and Simulator::node_id_by_addr().
00046 { return nodeid_;}
|
|
||||||||||||
|
Reimplemented in Node. Definition at line 50 of file parentnode.h.
00050 {}
|
|
|
Reimplemented in Node. Definition at line 49 of file parentnode.h. Referenced by Simulator::populate_flat_classifiers().
00049 {}
|
|
|
Reimplemented in Node. Definition at line 53 of file parentnode.h. Referenced by ParentNode::address(), BroadcastNode::command(), AbsLanNode::command(), command(), and ParentNode::ParentNode(). |
|
|
Reimplemented in Node. Definition at line 52 of file parentnode.h. Referenced by BroadcastNode::command(), AbsLanNode::command(), command(), ParentNode::nodeid(), and ParentNode::ParentNode(). |
1.3.3