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


Public Member Functions | |
| AbsLanNode () | |
| 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 76 of file parentnode.h.
00076 : 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 70 of file parentnode.cc. References ParentNode::address_, Address::instance(), ParentNode::nodeid_, and Address::str2addr().
00070 {
00071 if (argc == 3) {
00072 if (strcmp(argv[1], "addr") == 0) {
00073 address_ = Address::instance().str2addr(argv[2]);
00074 return TCL_OK;
00075 } else if (strcmp(argv[1], "nodeid") == 0) {
00076 nodeid_ = Address::instance().str2addr(argv[2]);
00077 return TCL_OK;
00078 }
00079 }
00080 return ParentNode::command(argc,argv);
00081 }
|
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(), command(), LanNode::command(), and ParentNode::ParentNode(). |
|
|
Reimplemented in Node. Definition at line 52 of file parentnode.h. Referenced by BroadcastNode::command(), command(), LanNode::command(), ParentNode::nodeid(), and ParentNode::ParentNode(). |
1.3.3