|
INET Framework for OMNeT++/OMNEST
|
00001 // 00002 // Generated file, do not edit! Created by opp_msgc 4.2 from linklayer/ieee80211/mgmt/Ieee80211MgmtFrames.msg. 00003 // 00004 00005 #ifndef _IEEE80211MGMTFRAMES_M_H_ 00006 #define _IEEE80211MGMTFRAMES_M_H_ 00007 00008 #include <omnetpp.h> 00009 00010 // opp_msgc version check 00011 #define MSGC_VERSION 0x0402 00012 #if (MSGC_VERSION!=OMNETPP_VERSION) 00013 # error Version mismatch! Probably this file was generated by an earlier version of opp_msgc: 'make clean' should help. 00014 #endif 00015 00016 // cplusplus {{ 00017 #include "MACAddress.h" 00018 #include "Ieee80211Frame_m.h" 00019 // }} 00020 00021 00022 00041 enum Ieee80211ReasonCode { 00042 RC_UNSPECIFIED = 1, 00043 RC_PREV_AUTH_EXPIRED = 2, 00044 RC_DEAUTH_MS_LEAVING = 3, 00045 RC_DISASS_INACTIVITY = 4, 00046 RC_DISASS_TOO_MANY_MS = 5, 00047 RC_NONAUTH_CLASS2 = 6, 00048 RC_NONASS_CLASS3 = 7, 00049 RC_DIASS_MS_LEAVING = 8, 00050 RC_NONAUTH_ASS_REQUEST = 9 00051 }; 00052 00073 enum Ieee80211StatusCode { 00074 SC_SUCCESSFUL = 0, 00075 SC_UNSPECIFIED = 1, 00076 SC_UNSUP_CAP = 10, 00077 SC_REASS_DENIED = 11, 00078 SC_ASS_DENIED_UNKNOWN = 12, 00079 SC_AUTH_ALG0_UNSUP = 13, 00080 SC_AUTH_OUT_OF_SEQ = 14, 00081 SC_AUTH_CHALLENGE_FAIL = 15, 00082 SC_AUTH_TIMEOUT = 16, 00083 SC_ASS_TOO_MANY_MS = 17, 00084 SC_DATARATE_UNSUP = 18 00085 }; 00086 00090 struct Ieee80211CapabilityInformation 00091 { 00092 Ieee80211CapabilityInformation(); 00093 bool ESS; 00094 bool IBSS; 00095 bool CFPollable; 00096 bool CFPollRequest; 00097 bool privacy; 00098 }; 00099 00100 void doPacking(cCommBuffer *b, Ieee80211CapabilityInformation& a); 00101 void doUnpacking(cCommBuffer *b, Ieee80211CapabilityInformation& a); 00102 00106 struct Ieee80211HandoverParameters 00107 { 00108 Ieee80211HandoverParameters(); 00109 double avgBackoffTime; 00110 double avgWaitTime; 00111 double avgErrorRate; 00112 double estAvailBW; 00113 }; 00114 00115 void doPacking(cCommBuffer *b, Ieee80211HandoverParameters& a); 00116 void doUnpacking(cCommBuffer *b, Ieee80211HandoverParameters& a); 00117 00121 struct Ieee80211SupportedRatesElement 00122 { 00123 Ieee80211SupportedRatesElement(); 00124 short numRates; 00125 double rate[8]; 00126 }; 00127 00128 void doPacking(cCommBuffer *b, Ieee80211SupportedRatesElement& a); 00129 void doUnpacking(cCommBuffer *b, Ieee80211SupportedRatesElement& a); 00130 00140 class Ieee80211FrameBody : public ::cObject 00141 { 00142 protected: 00143 short bodyLength_var; 00144 00145 private: 00146 void copy(const Ieee80211FrameBody& other); 00147 00148 protected: 00149 // protected and unimplemented operator==(), to prevent accidental usage 00150 bool operator==(const Ieee80211FrameBody&); 00151 00152 public: 00153 Ieee80211FrameBody(); 00154 Ieee80211FrameBody(const Ieee80211FrameBody& other); 00155 virtual ~Ieee80211FrameBody(); 00156 Ieee80211FrameBody& operator=(const Ieee80211FrameBody& other); 00157 virtual Ieee80211FrameBody *dup() const {return new Ieee80211FrameBody(*this);} 00158 virtual void parsimPack(cCommBuffer *b); 00159 virtual void parsimUnpack(cCommBuffer *b); 00160 00161 // field getter/setter methods 00162 virtual short getBodyLength() const; 00163 virtual void setBodyLength(short bodyLength); 00164 }; 00165 00166 inline void doPacking(cCommBuffer *b, Ieee80211FrameBody& obj) {obj.parsimPack(b);} 00167 inline void doUnpacking(cCommBuffer *b, Ieee80211FrameBody& obj) {obj.parsimUnpack(b);} 00168 00181 class Ieee80211AuthenticationFrameBody : public ::Ieee80211FrameBody 00182 { 00183 protected: 00184 unsigned short sequenceNumber_var; 00185 int statusCode_var; 00186 bool isLast_var; 00187 00188 private: 00189 void copy(const Ieee80211AuthenticationFrameBody& other); 00190 00191 protected: 00192 // protected and unimplemented operator==(), to prevent accidental usage 00193 bool operator==(const Ieee80211AuthenticationFrameBody&); 00194 00195 public: 00196 Ieee80211AuthenticationFrameBody(); 00197 Ieee80211AuthenticationFrameBody(const Ieee80211AuthenticationFrameBody& other); 00198 virtual ~Ieee80211AuthenticationFrameBody(); 00199 Ieee80211AuthenticationFrameBody& operator=(const Ieee80211AuthenticationFrameBody& other); 00200 virtual Ieee80211AuthenticationFrameBody *dup() const {return new Ieee80211AuthenticationFrameBody(*this);} 00201 virtual void parsimPack(cCommBuffer *b); 00202 virtual void parsimUnpack(cCommBuffer *b); 00203 00204 // field getter/setter methods 00205 virtual unsigned short getSequenceNumber() const; 00206 virtual void setSequenceNumber(unsigned short sequenceNumber); 00207 virtual int getStatusCode() const; 00208 virtual void setStatusCode(int statusCode); 00209 virtual bool getIsLast() const; 00210 virtual void setIsLast(bool isLast); 00211 }; 00212 00213 inline void doPacking(cCommBuffer *b, Ieee80211AuthenticationFrameBody& obj) {obj.parsimPack(b);} 00214 inline void doUnpacking(cCommBuffer *b, Ieee80211AuthenticationFrameBody& obj) {obj.parsimUnpack(b);} 00215 00226 class Ieee80211DeauthenticationFrameBody : public ::Ieee80211FrameBody 00227 { 00228 protected: 00229 int reasonCode_var; 00230 00231 private: 00232 void copy(const Ieee80211DeauthenticationFrameBody& other); 00233 00234 protected: 00235 // protected and unimplemented operator==(), to prevent accidental usage 00236 bool operator==(const Ieee80211DeauthenticationFrameBody&); 00237 00238 public: 00239 Ieee80211DeauthenticationFrameBody(); 00240 Ieee80211DeauthenticationFrameBody(const Ieee80211DeauthenticationFrameBody& other); 00241 virtual ~Ieee80211DeauthenticationFrameBody(); 00242 Ieee80211DeauthenticationFrameBody& operator=(const Ieee80211DeauthenticationFrameBody& other); 00243 virtual Ieee80211DeauthenticationFrameBody *dup() const {return new Ieee80211DeauthenticationFrameBody(*this);} 00244 virtual void parsimPack(cCommBuffer *b); 00245 virtual void parsimUnpack(cCommBuffer *b); 00246 00247 // field getter/setter methods 00248 virtual int getReasonCode() const; 00249 virtual void setReasonCode(int reasonCode); 00250 }; 00251 00252 inline void doPacking(cCommBuffer *b, Ieee80211DeauthenticationFrameBody& obj) {obj.parsimPack(b);} 00253 inline void doUnpacking(cCommBuffer *b, Ieee80211DeauthenticationFrameBody& obj) {obj.parsimUnpack(b);} 00254 00265 class Ieee80211DisassociationFrameBody : public ::Ieee80211FrameBody 00266 { 00267 protected: 00268 int reasonCode_var; 00269 00270 private: 00271 void copy(const Ieee80211DisassociationFrameBody& other); 00272 00273 protected: 00274 // protected and unimplemented operator==(), to prevent accidental usage 00275 bool operator==(const Ieee80211DisassociationFrameBody&); 00276 00277 public: 00278 Ieee80211DisassociationFrameBody(); 00279 Ieee80211DisassociationFrameBody(const Ieee80211DisassociationFrameBody& other); 00280 virtual ~Ieee80211DisassociationFrameBody(); 00281 Ieee80211DisassociationFrameBody& operator=(const Ieee80211DisassociationFrameBody& other); 00282 virtual Ieee80211DisassociationFrameBody *dup() const {return new Ieee80211DisassociationFrameBody(*this);} 00283 virtual void parsimPack(cCommBuffer *b); 00284 virtual void parsimUnpack(cCommBuffer *b); 00285 00286 // field getter/setter methods 00287 virtual int getReasonCode() const; 00288 virtual void setReasonCode(int reasonCode); 00289 }; 00290 00291 inline void doPacking(cCommBuffer *b, Ieee80211DisassociationFrameBody& obj) {obj.parsimPack(b);} 00292 inline void doUnpacking(cCommBuffer *b, Ieee80211DisassociationFrameBody& obj) {obj.parsimUnpack(b);} 00293 00305 class Ieee80211ProbeRequestFrameBody : public ::Ieee80211FrameBody 00306 { 00307 protected: 00308 opp_string SSID_var; 00309 Ieee80211SupportedRatesElement supportedRates_var; 00310 00311 private: 00312 void copy(const Ieee80211ProbeRequestFrameBody& other); 00313 00314 protected: 00315 // protected and unimplemented operator==(), to prevent accidental usage 00316 bool operator==(const Ieee80211ProbeRequestFrameBody&); 00317 00318 public: 00319 Ieee80211ProbeRequestFrameBody(); 00320 Ieee80211ProbeRequestFrameBody(const Ieee80211ProbeRequestFrameBody& other); 00321 virtual ~Ieee80211ProbeRequestFrameBody(); 00322 Ieee80211ProbeRequestFrameBody& operator=(const Ieee80211ProbeRequestFrameBody& other); 00323 virtual Ieee80211ProbeRequestFrameBody *dup() const {return new Ieee80211ProbeRequestFrameBody(*this);} 00324 virtual void parsimPack(cCommBuffer *b); 00325 virtual void parsimUnpack(cCommBuffer *b); 00326 00327 // field getter/setter methods 00328 virtual const char * getSSID() const; 00329 virtual void setSSID(const char * SSID); 00330 virtual Ieee80211SupportedRatesElement& getSupportedRates(); 00331 virtual const Ieee80211SupportedRatesElement& getSupportedRates() const {return const_cast<Ieee80211ProbeRequestFrameBody*>(this)->getSupportedRates();} 00332 virtual void setSupportedRates(const Ieee80211SupportedRatesElement& supportedRates); 00333 }; 00334 00335 inline void doPacking(cCommBuffer *b, Ieee80211ProbeRequestFrameBody& obj) {obj.parsimPack(b);} 00336 inline void doUnpacking(cCommBuffer *b, Ieee80211ProbeRequestFrameBody& obj) {obj.parsimUnpack(b);} 00337 00349 class Ieee80211AssociationRequestFrameBody : public ::Ieee80211FrameBody 00350 { 00351 protected: 00352 opp_string SSID_var; 00353 Ieee80211SupportedRatesElement supportedRates_var; 00354 00355 private: 00356 void copy(const Ieee80211AssociationRequestFrameBody& other); 00357 00358 protected: 00359 // protected and unimplemented operator==(), to prevent accidental usage 00360 bool operator==(const Ieee80211AssociationRequestFrameBody&); 00361 00362 public: 00363 Ieee80211AssociationRequestFrameBody(); 00364 Ieee80211AssociationRequestFrameBody(const Ieee80211AssociationRequestFrameBody& other); 00365 virtual ~Ieee80211AssociationRequestFrameBody(); 00366 Ieee80211AssociationRequestFrameBody& operator=(const Ieee80211AssociationRequestFrameBody& other); 00367 virtual Ieee80211AssociationRequestFrameBody *dup() const {return new Ieee80211AssociationRequestFrameBody(*this);} 00368 virtual void parsimPack(cCommBuffer *b); 00369 virtual void parsimUnpack(cCommBuffer *b); 00370 00371 // field getter/setter methods 00372 virtual const char * getSSID() const; 00373 virtual void setSSID(const char * SSID); 00374 virtual Ieee80211SupportedRatesElement& getSupportedRates(); 00375 virtual const Ieee80211SupportedRatesElement& getSupportedRates() const {return const_cast<Ieee80211AssociationRequestFrameBody*>(this)->getSupportedRates();} 00376 virtual void setSupportedRates(const Ieee80211SupportedRatesElement& supportedRates); 00377 }; 00378 00379 inline void doPacking(cCommBuffer *b, Ieee80211AssociationRequestFrameBody& obj) {obj.parsimPack(b);} 00380 inline void doUnpacking(cCommBuffer *b, Ieee80211AssociationRequestFrameBody& obj) {obj.parsimUnpack(b);} 00381 00392 class Ieee80211ReassociationRequestFrameBody : public ::Ieee80211AssociationRequestFrameBody 00393 { 00394 protected: 00395 MACAddress currentAP_var; 00396 00397 private: 00398 void copy(const Ieee80211ReassociationRequestFrameBody& other); 00399 00400 protected: 00401 // protected and unimplemented operator==(), to prevent accidental usage 00402 bool operator==(const Ieee80211ReassociationRequestFrameBody&); 00403 00404 public: 00405 Ieee80211ReassociationRequestFrameBody(); 00406 Ieee80211ReassociationRequestFrameBody(const Ieee80211ReassociationRequestFrameBody& other); 00407 virtual ~Ieee80211ReassociationRequestFrameBody(); 00408 Ieee80211ReassociationRequestFrameBody& operator=(const Ieee80211ReassociationRequestFrameBody& other); 00409 virtual Ieee80211ReassociationRequestFrameBody *dup() const {return new Ieee80211ReassociationRequestFrameBody(*this);} 00410 virtual void parsimPack(cCommBuffer *b); 00411 virtual void parsimUnpack(cCommBuffer *b); 00412 00413 // field getter/setter methods 00414 virtual MACAddress& getCurrentAP(); 00415 virtual const MACAddress& getCurrentAP() const {return const_cast<Ieee80211ReassociationRequestFrameBody*>(this)->getCurrentAP();} 00416 virtual void setCurrentAP(const MACAddress& currentAP); 00417 }; 00418 00419 inline void doPacking(cCommBuffer *b, Ieee80211ReassociationRequestFrameBody& obj) {obj.parsimPack(b);} 00420 inline void doUnpacking(cCommBuffer *b, Ieee80211ReassociationRequestFrameBody& obj) {obj.parsimUnpack(b);} 00421 00434 class Ieee80211AssociationResponseFrameBody : public ::Ieee80211FrameBody 00435 { 00436 protected: 00437 int statusCode_var; 00438 short aid_var; 00439 Ieee80211SupportedRatesElement supportedRates_var; 00440 00441 private: 00442 void copy(const Ieee80211AssociationResponseFrameBody& other); 00443 00444 protected: 00445 // protected and unimplemented operator==(), to prevent accidental usage 00446 bool operator==(const Ieee80211AssociationResponseFrameBody&); 00447 00448 public: 00449 Ieee80211AssociationResponseFrameBody(); 00450 Ieee80211AssociationResponseFrameBody(const Ieee80211AssociationResponseFrameBody& other); 00451 virtual ~Ieee80211AssociationResponseFrameBody(); 00452 Ieee80211AssociationResponseFrameBody& operator=(const Ieee80211AssociationResponseFrameBody& other); 00453 virtual Ieee80211AssociationResponseFrameBody *dup() const {return new Ieee80211AssociationResponseFrameBody(*this);} 00454 virtual void parsimPack(cCommBuffer *b); 00455 virtual void parsimUnpack(cCommBuffer *b); 00456 00457 // field getter/setter methods 00458 virtual int getStatusCode() const; 00459 virtual void setStatusCode(int statusCode); 00460 virtual short getAid() const; 00461 virtual void setAid(short aid); 00462 virtual Ieee80211SupportedRatesElement& getSupportedRates(); 00463 virtual const Ieee80211SupportedRatesElement& getSupportedRates() const {return const_cast<Ieee80211AssociationResponseFrameBody*>(this)->getSupportedRates();} 00464 virtual void setSupportedRates(const Ieee80211SupportedRatesElement& supportedRates); 00465 }; 00466 00467 inline void doPacking(cCommBuffer *b, Ieee80211AssociationResponseFrameBody& obj) {obj.parsimPack(b);} 00468 inline void doUnpacking(cCommBuffer *b, Ieee80211AssociationResponseFrameBody& obj) {obj.parsimUnpack(b);} 00469 00478 class Ieee80211ReassociationResponseFrameBody : public ::Ieee80211AssociationResponseFrameBody 00479 { 00480 protected: 00481 00482 private: 00483 void copy(const Ieee80211ReassociationResponseFrameBody& other); 00484 00485 protected: 00486 // protected and unimplemented operator==(), to prevent accidental usage 00487 bool operator==(const Ieee80211ReassociationResponseFrameBody&); 00488 00489 public: 00490 Ieee80211ReassociationResponseFrameBody(); 00491 Ieee80211ReassociationResponseFrameBody(const Ieee80211ReassociationResponseFrameBody& other); 00492 virtual ~Ieee80211ReassociationResponseFrameBody(); 00493 Ieee80211ReassociationResponseFrameBody& operator=(const Ieee80211ReassociationResponseFrameBody& other); 00494 virtual Ieee80211ReassociationResponseFrameBody *dup() const {return new Ieee80211ReassociationResponseFrameBody(*this);} 00495 virtual void parsimPack(cCommBuffer *b); 00496 virtual void parsimUnpack(cCommBuffer *b); 00497 00498 // field getter/setter methods 00499 }; 00500 00501 inline void doPacking(cCommBuffer *b, Ieee80211ReassociationResponseFrameBody& obj) {obj.parsimPack(b);} 00502 inline void doUnpacking(cCommBuffer *b, Ieee80211ReassociationResponseFrameBody& obj) {obj.parsimUnpack(b);} 00503 00518 class Ieee80211BeaconFrameBody : public ::Ieee80211FrameBody 00519 { 00520 protected: 00521 opp_string SSID_var; 00522 Ieee80211SupportedRatesElement supportedRates_var; 00523 simtime_t beaconInterval_var; 00524 int channelNumber_var; 00525 Ieee80211HandoverParameters handoverParameters_var; 00526 00527 private: 00528 void copy(const Ieee80211BeaconFrameBody& other); 00529 00530 protected: 00531 // protected and unimplemented operator==(), to prevent accidental usage 00532 bool operator==(const Ieee80211BeaconFrameBody&); 00533 00534 public: 00535 Ieee80211BeaconFrameBody(); 00536 Ieee80211BeaconFrameBody(const Ieee80211BeaconFrameBody& other); 00537 virtual ~Ieee80211BeaconFrameBody(); 00538 Ieee80211BeaconFrameBody& operator=(const Ieee80211BeaconFrameBody& other); 00539 virtual Ieee80211BeaconFrameBody *dup() const {return new Ieee80211BeaconFrameBody(*this);} 00540 virtual void parsimPack(cCommBuffer *b); 00541 virtual void parsimUnpack(cCommBuffer *b); 00542 00543 // field getter/setter methods 00544 virtual const char * getSSID() const; 00545 virtual void setSSID(const char * SSID); 00546 virtual Ieee80211SupportedRatesElement& getSupportedRates(); 00547 virtual const Ieee80211SupportedRatesElement& getSupportedRates() const {return const_cast<Ieee80211BeaconFrameBody*>(this)->getSupportedRates();} 00548 virtual void setSupportedRates(const Ieee80211SupportedRatesElement& supportedRates); 00549 virtual simtime_t getBeaconInterval() const; 00550 virtual void setBeaconInterval(simtime_t beaconInterval); 00551 virtual int getChannelNumber() const; 00552 virtual void setChannelNumber(int channelNumber); 00553 virtual Ieee80211HandoverParameters& getHandoverParameters(); 00554 virtual const Ieee80211HandoverParameters& getHandoverParameters() const {return const_cast<Ieee80211BeaconFrameBody*>(this)->getHandoverParameters();} 00555 virtual void setHandoverParameters(const Ieee80211HandoverParameters& handoverParameters); 00556 }; 00557 00558 inline void doPacking(cCommBuffer *b, Ieee80211BeaconFrameBody& obj) {obj.parsimPack(b);} 00559 inline void doUnpacking(cCommBuffer *b, Ieee80211BeaconFrameBody& obj) {obj.parsimUnpack(b);} 00560 00569 class Ieee80211ProbeResponseFrameBody : public ::Ieee80211BeaconFrameBody 00570 { 00571 protected: 00572 00573 private: 00574 void copy(const Ieee80211ProbeResponseFrameBody& other); 00575 00576 protected: 00577 // protected and unimplemented operator==(), to prevent accidental usage 00578 bool operator==(const Ieee80211ProbeResponseFrameBody&); 00579 00580 public: 00581 Ieee80211ProbeResponseFrameBody(); 00582 Ieee80211ProbeResponseFrameBody(const Ieee80211ProbeResponseFrameBody& other); 00583 virtual ~Ieee80211ProbeResponseFrameBody(); 00584 Ieee80211ProbeResponseFrameBody& operator=(const Ieee80211ProbeResponseFrameBody& other); 00585 virtual Ieee80211ProbeResponseFrameBody *dup() const {return new Ieee80211ProbeResponseFrameBody(*this);} 00586 virtual void parsimPack(cCommBuffer *b); 00587 virtual void parsimUnpack(cCommBuffer *b); 00588 00589 // field getter/setter methods 00590 }; 00591 00592 inline void doPacking(cCommBuffer *b, Ieee80211ProbeResponseFrameBody& obj) {obj.parsimPack(b);} 00593 inline void doUnpacking(cCommBuffer *b, Ieee80211ProbeResponseFrameBody& obj) {obj.parsimUnpack(b);} 00594 00606 class Ieee80211AuthenticationFrame : public ::Ieee80211ManagementFrame 00607 { 00608 protected: 00609 Ieee80211AuthenticationFrameBody body_var; 00610 00611 private: 00612 void copy(const Ieee80211AuthenticationFrame& other); 00613 00614 protected: 00615 // protected and unimplemented operator==(), to prevent accidental usage 00616 bool operator==(const Ieee80211AuthenticationFrame&); 00617 00618 public: 00619 Ieee80211AuthenticationFrame(const char *name=NULL, int kind=0); 00620 Ieee80211AuthenticationFrame(const Ieee80211AuthenticationFrame& other); 00621 virtual ~Ieee80211AuthenticationFrame(); 00622 Ieee80211AuthenticationFrame& operator=(const Ieee80211AuthenticationFrame& other); 00623 virtual Ieee80211AuthenticationFrame *dup() const {return new Ieee80211AuthenticationFrame(*this);} 00624 virtual void parsimPack(cCommBuffer *b); 00625 virtual void parsimUnpack(cCommBuffer *b); 00626 00627 // field getter/setter methods 00628 virtual Ieee80211AuthenticationFrameBody& getBody(); 00629 virtual const Ieee80211AuthenticationFrameBody& getBody() const {return const_cast<Ieee80211AuthenticationFrame*>(this)->getBody();} 00630 virtual void setBody(const Ieee80211AuthenticationFrameBody& body); 00631 }; 00632 00633 inline void doPacking(cCommBuffer *b, Ieee80211AuthenticationFrame& obj) {obj.parsimPack(b);} 00634 inline void doUnpacking(cCommBuffer *b, Ieee80211AuthenticationFrame& obj) {obj.parsimUnpack(b);} 00635 00647 class Ieee80211DeauthenticationFrame : public ::Ieee80211ManagementFrame 00648 { 00649 protected: 00650 Ieee80211DeauthenticationFrameBody body_var; 00651 00652 private: 00653 void copy(const Ieee80211DeauthenticationFrame& other); 00654 00655 protected: 00656 // protected and unimplemented operator==(), to prevent accidental usage 00657 bool operator==(const Ieee80211DeauthenticationFrame&); 00658 00659 public: 00660 Ieee80211DeauthenticationFrame(const char *name=NULL, int kind=0); 00661 Ieee80211DeauthenticationFrame(const Ieee80211DeauthenticationFrame& other); 00662 virtual ~Ieee80211DeauthenticationFrame(); 00663 Ieee80211DeauthenticationFrame& operator=(const Ieee80211DeauthenticationFrame& other); 00664 virtual Ieee80211DeauthenticationFrame *dup() const {return new Ieee80211DeauthenticationFrame(*this);} 00665 virtual void parsimPack(cCommBuffer *b); 00666 virtual void parsimUnpack(cCommBuffer *b); 00667 00668 // field getter/setter methods 00669 virtual Ieee80211DeauthenticationFrameBody& getBody(); 00670 virtual const Ieee80211DeauthenticationFrameBody& getBody() const {return const_cast<Ieee80211DeauthenticationFrame*>(this)->getBody();} 00671 virtual void setBody(const Ieee80211DeauthenticationFrameBody& body); 00672 }; 00673 00674 inline void doPacking(cCommBuffer *b, Ieee80211DeauthenticationFrame& obj) {obj.parsimPack(b);} 00675 inline void doUnpacking(cCommBuffer *b, Ieee80211DeauthenticationFrame& obj) {obj.parsimUnpack(b);} 00676 00688 class Ieee80211DisassociationFrame : public ::Ieee80211ManagementFrame 00689 { 00690 protected: 00691 Ieee80211DisassociationFrameBody body_var; 00692 00693 private: 00694 void copy(const Ieee80211DisassociationFrame& other); 00695 00696 protected: 00697 // protected and unimplemented operator==(), to prevent accidental usage 00698 bool operator==(const Ieee80211DisassociationFrame&); 00699 00700 public: 00701 Ieee80211DisassociationFrame(const char *name=NULL, int kind=0); 00702 Ieee80211DisassociationFrame(const Ieee80211DisassociationFrame& other); 00703 virtual ~Ieee80211DisassociationFrame(); 00704 Ieee80211DisassociationFrame& operator=(const Ieee80211DisassociationFrame& other); 00705 virtual Ieee80211DisassociationFrame *dup() const {return new Ieee80211DisassociationFrame(*this);} 00706 virtual void parsimPack(cCommBuffer *b); 00707 virtual void parsimUnpack(cCommBuffer *b); 00708 00709 // field getter/setter methods 00710 virtual Ieee80211DisassociationFrameBody& getBody(); 00711 virtual const Ieee80211DisassociationFrameBody& getBody() const {return const_cast<Ieee80211DisassociationFrame*>(this)->getBody();} 00712 virtual void setBody(const Ieee80211DisassociationFrameBody& body); 00713 }; 00714 00715 inline void doPacking(cCommBuffer *b, Ieee80211DisassociationFrame& obj) {obj.parsimPack(b);} 00716 inline void doUnpacking(cCommBuffer *b, Ieee80211DisassociationFrame& obj) {obj.parsimUnpack(b);} 00717 00729 class Ieee80211ProbeRequestFrame : public ::Ieee80211ManagementFrame 00730 { 00731 protected: 00732 Ieee80211ProbeRequestFrameBody body_var; 00733 00734 private: 00735 void copy(const Ieee80211ProbeRequestFrame& other); 00736 00737 protected: 00738 // protected and unimplemented operator==(), to prevent accidental usage 00739 bool operator==(const Ieee80211ProbeRequestFrame&); 00740 00741 public: 00742 Ieee80211ProbeRequestFrame(const char *name=NULL, int kind=0); 00743 Ieee80211ProbeRequestFrame(const Ieee80211ProbeRequestFrame& other); 00744 virtual ~Ieee80211ProbeRequestFrame(); 00745 Ieee80211ProbeRequestFrame& operator=(const Ieee80211ProbeRequestFrame& other); 00746 virtual Ieee80211ProbeRequestFrame *dup() const {return new Ieee80211ProbeRequestFrame(*this);} 00747 virtual void parsimPack(cCommBuffer *b); 00748 virtual void parsimUnpack(cCommBuffer *b); 00749 00750 // field getter/setter methods 00751 virtual Ieee80211ProbeRequestFrameBody& getBody(); 00752 virtual const Ieee80211ProbeRequestFrameBody& getBody() const {return const_cast<Ieee80211ProbeRequestFrame*>(this)->getBody();} 00753 virtual void setBody(const Ieee80211ProbeRequestFrameBody& body); 00754 }; 00755 00756 inline void doPacking(cCommBuffer *b, Ieee80211ProbeRequestFrame& obj) {obj.parsimPack(b);} 00757 inline void doUnpacking(cCommBuffer *b, Ieee80211ProbeRequestFrame& obj) {obj.parsimUnpack(b);} 00758 00770 class Ieee80211AssociationRequestFrame : public ::Ieee80211ManagementFrame 00771 { 00772 protected: 00773 Ieee80211AssociationRequestFrameBody body_var; 00774 00775 private: 00776 void copy(const Ieee80211AssociationRequestFrame& other); 00777 00778 protected: 00779 // protected and unimplemented operator==(), to prevent accidental usage 00780 bool operator==(const Ieee80211AssociationRequestFrame&); 00781 00782 public: 00783 Ieee80211AssociationRequestFrame(const char *name=NULL, int kind=0); 00784 Ieee80211AssociationRequestFrame(const Ieee80211AssociationRequestFrame& other); 00785 virtual ~Ieee80211AssociationRequestFrame(); 00786 Ieee80211AssociationRequestFrame& operator=(const Ieee80211AssociationRequestFrame& other); 00787 virtual Ieee80211AssociationRequestFrame *dup() const {return new Ieee80211AssociationRequestFrame(*this);} 00788 virtual void parsimPack(cCommBuffer *b); 00789 virtual void parsimUnpack(cCommBuffer *b); 00790 00791 // field getter/setter methods 00792 virtual Ieee80211AssociationRequestFrameBody& getBody(); 00793 virtual const Ieee80211AssociationRequestFrameBody& getBody() const {return const_cast<Ieee80211AssociationRequestFrame*>(this)->getBody();} 00794 virtual void setBody(const Ieee80211AssociationRequestFrameBody& body); 00795 }; 00796 00797 inline void doPacking(cCommBuffer *b, Ieee80211AssociationRequestFrame& obj) {obj.parsimPack(b);} 00798 inline void doUnpacking(cCommBuffer *b, Ieee80211AssociationRequestFrame& obj) {obj.parsimUnpack(b);} 00799 00811 class Ieee80211ReassociationRequestFrame : public ::Ieee80211ManagementFrame 00812 { 00813 protected: 00814 Ieee80211ReassociationRequestFrameBody body_var; 00815 00816 private: 00817 void copy(const Ieee80211ReassociationRequestFrame& other); 00818 00819 protected: 00820 // protected and unimplemented operator==(), to prevent accidental usage 00821 bool operator==(const Ieee80211ReassociationRequestFrame&); 00822 00823 public: 00824 Ieee80211ReassociationRequestFrame(const char *name=NULL, int kind=0); 00825 Ieee80211ReassociationRequestFrame(const Ieee80211ReassociationRequestFrame& other); 00826 virtual ~Ieee80211ReassociationRequestFrame(); 00827 Ieee80211ReassociationRequestFrame& operator=(const Ieee80211ReassociationRequestFrame& other); 00828 virtual Ieee80211ReassociationRequestFrame *dup() const {return new Ieee80211ReassociationRequestFrame(*this);} 00829 virtual void parsimPack(cCommBuffer *b); 00830 virtual void parsimUnpack(cCommBuffer *b); 00831 00832 // field getter/setter methods 00833 virtual Ieee80211ReassociationRequestFrameBody& getBody(); 00834 virtual const Ieee80211ReassociationRequestFrameBody& getBody() const {return const_cast<Ieee80211ReassociationRequestFrame*>(this)->getBody();} 00835 virtual void setBody(const Ieee80211ReassociationRequestFrameBody& body); 00836 }; 00837 00838 inline void doPacking(cCommBuffer *b, Ieee80211ReassociationRequestFrame& obj) {obj.parsimPack(b);} 00839 inline void doUnpacking(cCommBuffer *b, Ieee80211ReassociationRequestFrame& obj) {obj.parsimUnpack(b);} 00840 00852 class Ieee80211AssociationResponseFrame : public ::Ieee80211ManagementFrame 00853 { 00854 protected: 00855 Ieee80211AssociationResponseFrameBody body_var; 00856 00857 private: 00858 void copy(const Ieee80211AssociationResponseFrame& other); 00859 00860 protected: 00861 // protected and unimplemented operator==(), to prevent accidental usage 00862 bool operator==(const Ieee80211AssociationResponseFrame&); 00863 00864 public: 00865 Ieee80211AssociationResponseFrame(const char *name=NULL, int kind=0); 00866 Ieee80211AssociationResponseFrame(const Ieee80211AssociationResponseFrame& other); 00867 virtual ~Ieee80211AssociationResponseFrame(); 00868 Ieee80211AssociationResponseFrame& operator=(const Ieee80211AssociationResponseFrame& other); 00869 virtual Ieee80211AssociationResponseFrame *dup() const {return new Ieee80211AssociationResponseFrame(*this);} 00870 virtual void parsimPack(cCommBuffer *b); 00871 virtual void parsimUnpack(cCommBuffer *b); 00872 00873 // field getter/setter methods 00874 virtual Ieee80211AssociationResponseFrameBody& getBody(); 00875 virtual const Ieee80211AssociationResponseFrameBody& getBody() const {return const_cast<Ieee80211AssociationResponseFrame*>(this)->getBody();} 00876 virtual void setBody(const Ieee80211AssociationResponseFrameBody& body); 00877 }; 00878 00879 inline void doPacking(cCommBuffer *b, Ieee80211AssociationResponseFrame& obj) {obj.parsimPack(b);} 00880 inline void doUnpacking(cCommBuffer *b, Ieee80211AssociationResponseFrame& obj) {obj.parsimUnpack(b);} 00881 00893 class Ieee80211ReassociationResponseFrame : public ::Ieee80211ManagementFrame 00894 { 00895 protected: 00896 Ieee80211ReassociationResponseFrameBody body_var; 00897 00898 private: 00899 void copy(const Ieee80211ReassociationResponseFrame& other); 00900 00901 protected: 00902 // protected and unimplemented operator==(), to prevent accidental usage 00903 bool operator==(const Ieee80211ReassociationResponseFrame&); 00904 00905 public: 00906 Ieee80211ReassociationResponseFrame(const char *name=NULL, int kind=0); 00907 Ieee80211ReassociationResponseFrame(const Ieee80211ReassociationResponseFrame& other); 00908 virtual ~Ieee80211ReassociationResponseFrame(); 00909 Ieee80211ReassociationResponseFrame& operator=(const Ieee80211ReassociationResponseFrame& other); 00910 virtual Ieee80211ReassociationResponseFrame *dup() const {return new Ieee80211ReassociationResponseFrame(*this);} 00911 virtual void parsimPack(cCommBuffer *b); 00912 virtual void parsimUnpack(cCommBuffer *b); 00913 00914 // field getter/setter methods 00915 virtual Ieee80211ReassociationResponseFrameBody& getBody(); 00916 virtual const Ieee80211ReassociationResponseFrameBody& getBody() const {return const_cast<Ieee80211ReassociationResponseFrame*>(this)->getBody();} 00917 virtual void setBody(const Ieee80211ReassociationResponseFrameBody& body); 00918 }; 00919 00920 inline void doPacking(cCommBuffer *b, Ieee80211ReassociationResponseFrame& obj) {obj.parsimPack(b);} 00921 inline void doUnpacking(cCommBuffer *b, Ieee80211ReassociationResponseFrame& obj) {obj.parsimUnpack(b);} 00922 00934 class Ieee80211BeaconFrame : public ::Ieee80211ManagementFrame 00935 { 00936 protected: 00937 Ieee80211BeaconFrameBody body_var; 00938 00939 private: 00940 void copy(const Ieee80211BeaconFrame& other); 00941 00942 protected: 00943 // protected and unimplemented operator==(), to prevent accidental usage 00944 bool operator==(const Ieee80211BeaconFrame&); 00945 00946 public: 00947 Ieee80211BeaconFrame(const char *name=NULL, int kind=0); 00948 Ieee80211BeaconFrame(const Ieee80211BeaconFrame& other); 00949 virtual ~Ieee80211BeaconFrame(); 00950 Ieee80211BeaconFrame& operator=(const Ieee80211BeaconFrame& other); 00951 virtual Ieee80211BeaconFrame *dup() const {return new Ieee80211BeaconFrame(*this);} 00952 virtual void parsimPack(cCommBuffer *b); 00953 virtual void parsimUnpack(cCommBuffer *b); 00954 00955 // field getter/setter methods 00956 virtual Ieee80211BeaconFrameBody& getBody(); 00957 virtual const Ieee80211BeaconFrameBody& getBody() const {return const_cast<Ieee80211BeaconFrame*>(this)->getBody();} 00958 virtual void setBody(const Ieee80211BeaconFrameBody& body); 00959 }; 00960 00961 inline void doPacking(cCommBuffer *b, Ieee80211BeaconFrame& obj) {obj.parsimPack(b);} 00962 inline void doUnpacking(cCommBuffer *b, Ieee80211BeaconFrame& obj) {obj.parsimUnpack(b);} 00963 00975 class Ieee80211ProbeResponseFrame : public ::Ieee80211ManagementFrame 00976 { 00977 protected: 00978 Ieee80211ProbeResponseFrameBody body_var; 00979 00980 private: 00981 void copy(const Ieee80211ProbeResponseFrame& other); 00982 00983 protected: 00984 // protected and unimplemented operator==(), to prevent accidental usage 00985 bool operator==(const Ieee80211ProbeResponseFrame&); 00986 00987 public: 00988 Ieee80211ProbeResponseFrame(const char *name=NULL, int kind=0); 00989 Ieee80211ProbeResponseFrame(const Ieee80211ProbeResponseFrame& other); 00990 virtual ~Ieee80211ProbeResponseFrame(); 00991 Ieee80211ProbeResponseFrame& operator=(const Ieee80211ProbeResponseFrame& other); 00992 virtual Ieee80211ProbeResponseFrame *dup() const {return new Ieee80211ProbeResponseFrame(*this);} 00993 virtual void parsimPack(cCommBuffer *b); 00994 virtual void parsimUnpack(cCommBuffer *b); 00995 00996 // field getter/setter methods 00997 virtual Ieee80211ProbeResponseFrameBody& getBody(); 00998 virtual const Ieee80211ProbeResponseFrameBody& getBody() const {return const_cast<Ieee80211ProbeResponseFrame*>(this)->getBody();} 00999 virtual void setBody(const Ieee80211ProbeResponseFrameBody& body); 01000 }; 01001 01002 inline void doPacking(cCommBuffer *b, Ieee80211ProbeResponseFrame& obj) {obj.parsimPack(b);} 01003 inline void doUnpacking(cCommBuffer *b, Ieee80211ProbeResponseFrame& obj) {obj.parsimUnpack(b);} 01004 01005 01006 #endif // _IEEE80211MGMTFRAMES_M_H_