#include <mac.h>
Collaboration diagram for hdr_mac:

Public Member Functions | |
| void | set (MacFrameType ft, int sa, int da=-1) |
| MacFrameType & | ftype () |
| int & | macSA () |
| int & | macDA () |
| u_int16_t & | hdr_type () |
| double & | txtime () |
| double & | sstime () |
Static Public Member Functions | |
| int & | offset () |
| hdr_mac * | access (const Packet *p) |
Public Attributes | |
| MacFrameType | ftype_ |
| int | macSA_ |
| int | macDA_ |
| u_int16_t | hdr_type_ |
| double | txtime_ |
| double | sstime_ |
| int | padding_ |
Static Public Attributes | |
| int | offset_ |
|
|
Definition at line 131 of file mac.h. References Packet::access(), and offset_. Referenced by MacCsma::endofContention(), MultihopMac::recv(), and MultihopMac::send().
|
Here is the call graph for this function:

|
|
Definition at line 120 of file mac.h. References ftype_, and MacFrameType. Referenced by TraceIpMac::recv(), and MultihopMac::recv().
00120 { return ftype_; }
|
|
|
Definition at line 123 of file mac.h. References hdr_type_, and u_int16_t.
00123 {return hdr_type_; }
|
|
|
Definition at line 122 of file mac.h. References macDA_. Referenced by MacClassifier::recv(), and Mac802_3::recv_complete().
00122 { return macDA_; }
|
|
|
Definition at line 121 of file mac.h. References macSA_. Referenced by MultihopMac::recv(), and MacClassifier::recv().
00121 { return macSA_; }
|
|
|
Definition at line 130 of file mac.h. References offset_.
00130 { return offset_; }
|
|
||||||||||||||||
|
Definition at line 115 of file mac.h. References ftype_, macDA_, and macSA_. Referenced by Mac::recv().
|
|
|
Definition at line 126 of file mac.h. References sstime_.
00126 { return sstime_; }
|
|
|
Definition at line 125 of file mac.h. References txtime_. Referenced by MacCsma::endofContention(), MultihopMac::send(), UnslottedAlohaMac::sendUp(), and SatMac::sendUp().
00125 { return txtime_; }
|
|
|
|
|
|
Definition at line 108 of file mac.h. Referenced by hdr_type(). |
|
|
|
|
|
|
|
|
|
Definition at line 113 of file mac.h. Referenced by Mac802_3::recv_complete(), and Mac802_3::sendDown(). |
|
|
Definition at line 111 of file mac.h. Referenced by sstime(). |
|
|
Definition at line 110 of file mac.h. Referenced by txtime(). |
1.3.3