| ns2 Network Simulator C++ Class Hierarchy of version ns-snapshot-20040722 | |
| | Home | Source Code | Manual | FAQ | Mailing List Archive | Search | | | Download | |
Inheritance diagram for ArpAgent:

Public Member Functions | |
| ArpAgent () | |
| ~ArpAgent () | |
Protected Member Functions | |
| char | icode (const char *) |
| acache_entry * | find (in_addr &) |
| void | insert (in_addr &, ether_addr &, char code) |
| void | dispatch (int) |
| int | sendreq (in_addr &) |
| int | sendresp (ether_addr &, in_addr &, ether_addr &) |
| int | resolve (const char *host, char *&result, int sendreq) |
| void | doreq (ether_arp *) |
| void | doreply (ether_arp *) |
| void | recv (Packet *, Handler *) |
| int | command (int, const char *const *) |
Protected Attributes | |
| Network * | net_ |
| ether_header | eh_template_ |
| ether_arp | ea_template_ |
| ether_addr | my_ether_ |
| in_addr | my_ip_ |
| int | base_size_ |
| u_char * | rcv_buf_ |
| acache_entry * | acache_ |
| int | nacache_ |
| int | cur_ |
| int | pending_ |
|
|
|
|
|
|
|
||||||||||||
|
Reimplemented from NsObject. |
|
|
Implements IOHandler. |
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
||||||||||||
|
Implements NsObject. |
|
||||||||||||||||
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|