|
DRCL J-Sim API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectdrcl.net.Packet
drcl.inet.mac.Mac_802_11_Packet
drcl.inet.mac.Mac_802_11_Beacon_Frame
This class defines the IEEE802.11 Beacon frame structure.
Mac_802_11,
Mac_802_11_Packet| Field Summary | |
static int |
Mac_802_11_Beacon_Frame_Header_Length
|
| Fields inherited from class drcl.inet.mac.Mac_802_11_Packet |
EHTER_FCS_LEN, ETHER_ADDR_LEN, ETHER_TYPE_LEN |
| Fields inherited from class drcl.net.Packet |
body, headerSize, id, size |
| Constructor Summary | |
Mac_802_11_Beacon_Frame(Mac_802_11_Frame_Control fc_,
int duration_,
long sa_,
int fcs_,
int hsize_,
long bb_ts_)
Creates a Mac_802_11_Beacon_Frame |
|
| Method Summary | |
java.lang.String |
_toString(java.lang.String separator_)
Prints the packet header. |
java.lang.Object |
clone()
Returns a clone of this object. |
long |
getSa()
Get the source MAC address of the beacon frame |
long |
getTSF()
Get the TSF timer of the beacon frame |
void |
setSa(long sa_)
Set the source MAC address of the beacon frame |
void |
setTSF(long timer)
Set the TSF timer of the beacon frame |
| Methods inherited from class drcl.inet.mac.Mac_802_11_Packet |
getDuration, getFc, getFcs, getName, isForcedError, set_fc_flags, setDuration, setFc, setFcs, setForcedError |
| Methods inherited from class drcl.net.Packet |
equals, getBody, getByteCount, getHeaderSize, getNumberCount, getPacketCount, getPacketSize, getPacketType, getSize, getSizeCount, getTimestamp, isByteCountSupported, isPacketCountSupported, isTimestampSupported, setBody, setBody, setHeaderSize, setPacketSize, setSize, setTimestamp, toString, toString, wraps |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final int Mac_802_11_Beacon_Frame_Header_Length
| Constructor Detail |
public Mac_802_11_Beacon_Frame(Mac_802_11_Frame_Control fc_,
int duration_,
long sa_,
int fcs_,
int hsize_,
long bb_ts_)
fc_ - - MAC frame controlduration_ - - durationsa_ - - source MAC addressfcs_ - - frame check sequencebb_ts_ - - time stamp| Method Detail |
public void setSa(long sa_)
public long getSa()
public void setTSF(long timer)
public long getTSF()
public java.lang.Object clone()
ObjectCloneable
clone in interface ObjectCloneableclone in class Packetpublic java.lang.String _toString(java.lang.String separator_)
Packet
_toString in class Mac_802_11_Packet
|
DRCL J-Sim API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||