VLANs(802.1Q)forOMNet++  0.5Beta
EthernetDot1QFrame Class Reference

Class generated from linklayer/EtherFrameVlans.msg by opp_msgc. More...

#include <EtherFrameVlans_m.h>

List of all members.

Public Member Functions

 EthernetDot1QFrame ()
 EthernetDot1QFrame (const EthernetDot1QFrame &other)
virtual ~EthernetDot1QFrame ()
EthernetDot1QFrameoperator= (const EthernetDot1QFrame &other)
virtual EthernetDot1QFramedup () const
virtual void parsimPack (cCommBuffer *b)
virtual void parsimUnpack (cCommBuffer *b)
virtual uint16_t getVlanType () const
virtual void setVlanType (uint16_t vlanType_var)
virtual uint16_t getVlanID () const
virtual void setVlanID (uint16_t vlanID_var)
virtual uint16_t getEtherType () const
virtual void setEtherType (uint16_t etherType_var)

Protected Member Functions

bool operator== (const EthernetDot1QFrame &)

Protected Attributes

uint16_t vlanType_var
uint16_t vlanID_var
uint16_t etherType_var

Detailed Description

Class generated from linklayer/EtherFrameVlans.msg by opp_msgc.

 packet EthernetDot1QFrame extends EtherFrame
 {
     uint16_t vlanType;
     uint16_t vlanID;
     uint16_t etherType;
 }
 

Constructor & Destructor Documentation


Member Function Documentation

virtual EthernetDot1QFrame* EthernetDot1QFrame::dup ( ) const [inline, virtual]
{return new EthernetDot1QFrame(*this);}
virtual uint16_t EthernetDot1QFrame::getEtherType ( ) const [virtual]
virtual uint16_t EthernetDot1QFrame::getVlanID ( ) const [virtual]
virtual uint16_t EthernetDot1QFrame::getVlanType ( ) const [virtual]
EthernetDot1QFrame& EthernetDot1QFrame::operator= ( const EthernetDot1QFrame other)
bool EthernetDot1QFrame::operator== ( const EthernetDot1QFrame ) [protected]
virtual void EthernetDot1QFrame::parsimPack ( cCommBuffer *  b) [virtual]
virtual void EthernetDot1QFrame::parsimUnpack ( cCommBuffer *  b) [virtual]
virtual void EthernetDot1QFrame::setEtherType ( uint16_t  etherType_var) [virtual]
virtual void EthernetDot1QFrame::setVlanID ( uint16_t  vlanID_var) [virtual]
virtual void EthernetDot1QFrame::setVlanType ( uint16_t  vlanType_var) [virtual]

Member Data Documentation

uint16_t EthernetDot1QFrame::etherType_var [protected]
uint16_t EthernetDot1QFrame::vlanID_var [protected]
uint16_t EthernetDot1QFrame::vlanType_var [protected]

The documentation for this class was generated from the following file:
 All Classes Files Functions Variables Typedefs Friends Defines