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

hdr_arp Struct Reference

#include <arp.h>

Collaboration diagram for hdr_arp:

Collaboration graph
[legend]
List of all members.

Static Public Member Functions

int & offset ()
hdr_arpaccess (const Packet *p)

Public Attributes

u_int16_t arp_hrd
u_int16_t arp_pro
u_int8_t arp_hln
u_int8_t arp_pln
u_int16_t arp_op
int arp_sha
u_int16_t pad1
nsaddr_t arp_spa
int arp_tha
u_int16_t pad2
nsaddr_t arp_tpa

Static Public Attributes

int offset_

Member Function Documentation

hdr_arp* hdr_arp::access const Packet p  )  [inline, static]
 

Definition at line 88 of file arp.h.

References Packet::access(), and offset_.

00088                                                        {
00089                 return (hdr_arp*) p->access(offset_);
00090         }

Here is the call graph for this function:

int& hdr_arp::offset  )  [inline, static]
 

Definition at line 87 of file arp.h.

References offset_.

00087 { return offset_; }


Member Data Documentation

u_int8_t hdr_arp::arp_hln
 

Definition at line 75 of file arp.h.

Referenced by ARPTable::arprequest().

u_int16_t hdr_arp::arp_hrd
 

Definition at line 73 of file arp.h.

Referenced by ARPTable::arprequest().

u_int16_t hdr_arp::arp_op
 

Definition at line 77 of file arp.h.

Referenced by ARPTable::arpinput(), and ARPTable::arprequest().

u_int8_t hdr_arp::arp_pln
 

Definition at line 76 of file arp.h.

Referenced by ARPTable::arprequest().

u_int16_t hdr_arp::arp_pro
 

Definition at line 74 of file arp.h.

Referenced by ARPTable::arprequest().

int hdr_arp::arp_sha
 

Definition at line 78 of file arp.h.

Referenced by ARPTable::arpinput(), and ARPTable::arprequest().

nsaddr_t hdr_arp::arp_spa
 

Definition at line 80 of file arp.h.

Referenced by ARPTable::arpinput(), and ARPTable::arprequest().

int hdr_arp::arp_tha
 

Definition at line 81 of file arp.h.

Referenced by ARPTable::arpinput(), and ARPTable::arprequest().

nsaddr_t hdr_arp::arp_tpa
 

Definition at line 83 of file arp.h.

Referenced by ARPTable::arpinput(), and ARPTable::arprequest().

int hdr_arp::offset_ [static]
 

Definition at line 71 of file mac/arp.cc.

Referenced by access(), ARPHeaderClass::ARPHeaderClass(), and offset().

u_int16_t hdr_arp::pad1
 

Definition at line 79 of file arp.h.

u_int16_t hdr_arp::pad2
 

Definition at line 82 of file arp.h.


The documentation for this struct was generated from the following files:
Generated on Tue Apr 20 12:50:26 2004 for NS2.26SourcesOriginal by doxygen 1.3.3