RFrameXferBlockBase Class Reference

class RFrameXferBlockBase

Ethernet frame transfer context block base class between user and kernel space

Constructor & Destructor Documentation

RFrameXferBlockBase()

RFrameXferBlockBase ( ) [private]

Prohibit default constructor

RFrameXferBlockBase(const RFrameXferBlockBase &)

RFrameXferBlockBase ( const RFrameXferBlockBase & ) [private]

Prohibit copy constructor

Parameters

const RFrameXferBlockBase &

Member Functions Documentation

GetNextRxDataBuffer(TDataBuffer *&)

TBool GetNextRxDataBuffer ( TDataBuffer *& aBuf ) [inline]

Gets next Rx-data buffer that has data to be read

Since
S60 3.1

Parameters

TDataBuffer *& aBuf OUT parameter where Rx-data buffers address that is to be read is copied

SetRxDataChunkField(TLinAddr)

void SetRxDataChunkField ( TLinAddr aUserAddr ) [inline]

Set data chunk address

Note! This method is executed in user mode context by the user mode client interface, i.e. not the client itself!
Since
S60 3.1

Parameters

TLinAddr aUserAddr user address of the buffer

operator=(const RFrameXferBlockBase &)

RFrameXferBlockBase & operator= ( const RFrameXferBlockBase & ) [private]

Prohibit assigment operator

Parameters

const RFrameXferBlockBase &

Member Data Documentation

TUint32 iCurrentRxBuffer

TUint32 iCurrentRxBuffer [protected]

index to iRxCompletedBuffers denoting the Rx buffer that is to be extracted next by the user application

TUint32 iFirstRxBufferToFree

TUint32 iFirstRxBufferToFree [protected]
index of the first Rx buffer in iRxCompletedBuffers array
  • which the user side client has already handled and which can therefore be freed & re-used AND

  • which hasn't been freed yet

TUint32 iNumOfCompleted

TUint32 iNumOfCompleted [protected]

number of Rx-data buffers that were completed by the device driver

TUint32 iRxCompletedBuffers

TUint32 iRxCompletedBuffers [protected]

array of TDataBuffer offset addresses from the memory pool start address, denoting Rx buffers which are ready to be read

TUint8 * iRxDataChunk

TUint8 * iRxDataChunk [protected]

the beginning of the Rx data area in user address space

TUint32 iTxOffset

TUint32 iTxOffset [protected]

defines a Tx offset for every frame type which can be transmitted