#include <netelem.h>
Public Member Functions | |
| Packet (NetElement *src, NetElement *dst, unsigned int bits, timeunits stamp, unsigned long datagramid=0, unsigned int totalbits=0, unsigned int k=0) | |
| timeunits | GetStamp (void) const |
| unsigned long int | GetPacketId (void) const |
| unsigned int | GetBits (void) const |
| unsigned int | GetTotalBits (void) const |
| unsigned long | GetDatagramId (void) const |
| NetElement * | GetSrc (void) const |
| NetElement * | GetDst (void) const |
| unsigned int | GetPos (void) const |
| void | Jump (void) |
| void | SetTotalBits (unsigned int b) |
| void | SetBytes (unsigned int B) |
| void | SetBits (unsigned int b) |
| void | SetDatagramId (unsigned long id) |
| void | Stamp (timeunits stamp) |
|
||||||||||||||||||||||||||||||||
|
Constructor.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Advances the packet to the next hop to dst. |
|
|
Modifies this fragment size.
|
|
|
Modifies the original packet length
|
|
|
|
|
|
Modifies the original packet length
|
|
|
Modifies the origination time
|
1.4.2