Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

ARPEntry Class Reference

#include <arp.h>

Collaboration diagram for ARPEntry:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ARPEntry (ARPEntry_List *head, nsaddr_t dst)
ARPEntrynextarp ()

Private Member Functions

 LIST_ENTRY (ARPEntry) arp_link_

Private Attributes

int up_
nsaddr_t ipaddr_
int macaddr_
Packethold_
int count_

Friends

class ARPTable

Constructor & Destructor Documentation

ARPEntry::ARPEntry ARPEntry_List *  head,
nsaddr_t  dst
[inline]
 

Definition at line 96 of file arp.h.

References count_, hold_, ipaddr_, LIST_INSERT_HEAD, macaddr_, and up_.

00096                                                     {
00097                 up_ = macaddr_ = count_ = 0;
00098                 ipaddr_ = dst;
00099                 hold_ = 0;
00100                 LIST_INSERT_HEAD(head, this, arp_link_);
00101         }


Member Function Documentation

ARPEntry::LIST_ENTRY ARPEntry   )  [private]
 

ARPEntry* ARPEntry::nextarp  )  [inline]
 

Definition at line 102 of file arp.h.

Referenced by ARPTable::arplookup().

00102 { return arp_link_.le_next; }


Friends And Related Function Documentation

friend class ARPTable [friend]
 

Definition at line 94 of file arp.h.


Member Data Documentation

int ARPEntry::count_ [private]
 

Definition at line 111 of file arp.h.

Referenced by ARPEntry(), and ARPTable::arpresolve().

Packet* ARPEntry::hold_ [private]
 

Definition at line 110 of file arp.h.

Referenced by ARPEntry(), ARPTable::arpinput(), and ARPTable::arpresolve().

nsaddr_t ARPEntry::ipaddr_ [private]
 

Definition at line 108 of file arp.h.

Referenced by ARPEntry(), and ARPTable::arplookup().

int ARPEntry::macaddr_ [private]
 

Definition at line 109 of file arp.h.

Referenced by ARPEntry(), ARPTable::arpinput(), and ARPTable::arpresolve().

int ARPEntry::up_ [private]
 

Definition at line 107 of file arp.h.

Referenced by ARPEntry(), ARPTable::arpinput(), and ARPTable::arpresolve().


The documentation for this class was generated from the following file:
Generated on Tue Apr 20 12:33:05 2004 for NS2.26SourcesOriginal by doxygen 1.3.3