| ns2 Network Simulator C++ Class Hierarchy of version ns-snapshot-20040722 | |
| | Home | Source Code | Manual | FAQ | Mailing List Archive | Search | | | Download | |
#include <packet.h>
Inheritance diagram for Packet:

Public Member Functions | |
| Packet () | |
| unsigned char *const | bits () |
| Packet * | copy () const |
| Packet * | refcopy () |
| int & | ref_count () |
| void | allocdata (int) |
| void | initdata () |
| unsigned char * | access (int off) const |
| unsigned char * | accessdata () const |
| AppData * | userdata () const |
| void | setdata (AppData *d) |
| int | datalen () const |
Static Public Member Functions | |
| Packet * | alloc () |
| Packet * | alloc (int) |
| void | free (Packet *) |
| void | dump_header (Packet *p, int offset, int length) |
Public Attributes | |
| Packet * | next_ |
| PacketStamp | txinfo_ |
| u_int8_t | incoming |
Static Public Attributes | |
| int | hdrlen_ = 0 |
Protected Attributes | |
| int | ref_count_ |
Static Protected Attributes | |
| Packet * | free_ |
Static Private Member Functions | |
| void | init (Packet *) |
Private Attributes | |
| unsigned char * | bits_ |
| AppData * | data_ |
| bool | fflag_ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from Event. |
|
|
|
|
|
|