CPktDrvBase Class Reference

class CPktDrvBase : public CBase
Since
v8.1 (internalComponent from v5.0u)

Inherits from

Constructor & Destructor Documentation

CPktDrvBase(CPktDrvFactory &)

IMPORT_CCPktDrvBase(CPktDrvFactory &aFactory)

Parameters

CPktDrvFactory & aFactory

~CPktDrvBase()

IMPORT_C~CPktDrvBase()

Member Functions Documentation

ConstructL(CLANLinkCommon *)

voidConstructL(CLANLinkCommon *aParent)[pure virtual]

Parameters

CLANLinkCommon * aParent

Control(TUint, TUint, TDes8 &, TAny *)

TInt Control(TUintaLevel,
TUintaName,
TDes8 &aOption,
TAny *aSource = 0
)[pure virtual]

Parameters

TUint aLevel
TUint aName
TDes8 & aOption
TAny * aSource = 0

GetInterfaceAddress()

TUint8 *GetInterfaceAddress()const [pure virtual]

GetInterfaceStats()

const TPacketDriverStats &GetInterfaceStats()const [inline]

GetMulticastList(const THWAddr *, TInt &)

TInt GetMulticastList(const THWAddr *aAddr,
TInt &n
)const [pure virtual]

Parameters

const THWAddr * aAddr
TInt & n

GetRxMode()

TInt GetRxMode()const [pure virtual]

InterfacePowerDown()

TInt InterfacePowerDown()[pure virtual]

InterfacePowerUp()

TInt InterfacePowerUp()[pure virtual]

InterfaceResume()

TInt InterfaceResume()[pure virtual]

InterfaceSleep()

TInt InterfaceSleep()[pure virtual]

Notification(enum TAgentToNifEventType, void *)

TInt Notification(enum TAgentToNifEventTypeaEvent,
void *aInfo
)[pure virtual]

Parameters

enum TAgentToNifEventType aEvent
void * aInfo

ResetInterface()

TInt ResetInterface()[pure virtual]

Send(RMBufChain &)

TInt Send(RMBufChain &aPkt)[pure virtual]

Parameters

RMBufChain & aPkt

SenseInterfacePower()

TInt SenseInterfacePower()const [inline]

SetInterfaceAddress(const THWAddr &)

TInt SetInterfaceAddress(const THWAddr &)[pure virtual]

Parameters

const THWAddr &

SetMulticastList(const THWAddr *, TInt)

TInt SetMulticastList(const THWAddr *aAddr,
TIntn
)[pure virtual]

Parameters

const THWAddr * aAddr
TInt n

SetNameL(const TDesC &)

IMPORT_C voidSetNameL(const TDesC &aName)

Parameters

const TDesC & aName

SetRxMode(TRxMode)

TInt SetRxMode(TRxModeAMode)[pure virtual]

Parameters

TRxMode AMode

StartInterface()

TInt StartInterface()[pure virtual]

StopInterface()

TInt StopInterface()[pure virtual]

Member Enumerations Documentation

Enum TDriverPowerState

Enumerators

EPowerOn
EPowerOff
ESleep

Enum TDriverResetState

Enumerators

EStart
EWarmStart
EInitialising
Ready
ESleeping
ERunning
EHalted

Enum TRxMode

Enumerators

RxOff
RxPhysicalAddr
RxBroadcast
RxSomeMulticast
RxAllMulticast
RxPromiscuous

Member Data Documentation

CPktDrvFactory * iFactory

CPktDrvFactory *iFactory[protected]

THWAddr iHWAddr

THWAddr iHWAddr[protected]

HBufC * iName

HBufC *iName[protected]

CLANLinkCommon * iParent

CLANLinkCommon *iParent[protected]

TDriverPowerState iPowerState

TDriverPowerState iPowerState[protected]

TInt iRefCount

TInt iRefCount[protected]

TDriverResetState iResetState

TDriverResetState iResetState[protected]

TRxMode iRxMode

TRxMode iRxMode[protected]

TPacketDriverStats iStats

TPacketDriverStats iStats[protected]