CPppBinderIp4 Class Reference
class CPppBinderIp4 : public CBase
|
Implements IPCP and support for IP datagrams (RFC 1332)
Constructor & Destructor Documentation
CPppBinderIp4(CPppLcp *)
CPppBinderIp4
|
(
|
CPppLcp
*
|
aLcp
|
)
|
[private]
|
Member Functions Documentation
BindL(ESock::MUpperDataReceiver &, ESock::MUpperControl &)
Binds NCPIP to the TCP/IP stack.
BlockFlow(ESock::MLowerControl::TBlockOption)
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
Construct the Link Protocol Object
Control(TUint, TUint, TDes8 &)
Called by the TCP/IP stack to get/set PPP NIF parameters.
Parameters
TUint
aLevel
|
Must be KSOLInterface
|
TUint
aName
|
Option name
|
TDes8
& aOption
|
Data for the given option
|
DoSend()
void
|
DoSend
|
(
|
)
|
[private]
|
Dequeues packets and sends them out the link.
Error(TInt)
void
|
Error
|
(
|
TInt
|
aError
|
)
|
|
Flow()
CPppLcp
*
|
Flow
|
(
|
)
|
[private, inline]
|
FsmApplyConfigRequest(RPppOptionList &)
void
|
FsmApplyConfigRequest
|
(
|
RPppOptionList
&
|
aRequestList
|
)
|
[protected, virtual]
|
Applies options in a received config request (that was ACK'd). Upcall from the FSM.
FsmCheckConfigRequest(RPppOptionList &, RPppOptionList &, RPppOptionList &, RPppOptionList &)
Checks options in a received config request. Each option is added to the appropriate Ack, Nak or Rej list. Upcall from the FSM.
FsmFillinConfigRequestL(RPppOptionList &)
void
|
FsmFillinConfigRequestL
|
(
|
RPppOptionList
&
|
aRequestList
|
)
|
[protected, virtual]
|
Fills in Config Request to be sent
FsmLayerDown(TInt)
void
|
FsmLayerDown
|
(
|
TInt
|
aReason =
KErrNone
|
)
|
[protected, virtual]
|
Signals down event to next layer above
FsmLayerFinished(TInt)
void
|
FsmLayerFinished
|
(
|
TInt
|
aReason =
KErrNone
|
)
|
[protected, virtual]
|
FsmLayerStarted()
TInt
|
FsmLayerStarted
|
(
|
)
|
[protected, virtual]
|
FsmLayerUp()
void
|
FsmLayerUp
|
(
|
)
|
[protected, virtual]
|
Signals up event to next layer above
FsmRecvConfigAck(RPppOptionList &)
void
|
FsmRecvConfigAck
|
(
|
RPppOptionList
&
|
aReplyList
|
)
|
[protected, virtual]
|
Applies the options received in a Config Ack Upcall from the FSM.
FsmRecvConfigNak(RPppOptionList &, RPppOptionList &)
Modifies request after receiving a Config Nak Upcall from the FSM.
FsmRecvConfigReject(RPppOptionList &, RPppOptionList &)
Modifies request after receiving a Config Reject Upcall from the FSM.
FsmRecvUnknownCode(TUint8, TUint8, TInt, RMBufChain &)
Received an unrecognised opcode - has a default implementation
FsmTerminationPhaseComplete()
void
|
FsmTerminationPhaseComplete
|
(
|
)
|
[protected, virtual]
|
GetConfig(TBinderConfig &)
TInt
|
GetConfig
|
(
|
TBinderConfig
&
|
aConfig
|
)
|
[virtual]
|
KillProtocol()
void
|
KillProtocol
|
(
|
)
|
[protected, virtual]
|
LoadVJCompressorL()
Loads the VJ compressor DLL and creates a compressor object.
LoadVJDeCompressorL()
Loads the VJ decompressor DLL and creates a decompressor object.
MatchesUpperControl(const ESock::MUpperControl *)
Comparison routine used by Flow to determine which binder is being referred to in an MFlowBinderControl::Unbind() call.
Notification(TAgentToNifEventType)
RecvIp(RMBufChain &)
Receives an IP packet from the lower layer.
RecvVjCompTcp(RMBufChain &)
Receives a VJ-compressed IP packet from the lower layer.
RecvVjUncompTcp(RMBufChain &)
Receives a VJ-uncompressed IP packet from the lower layer.
Send(RMBufChain &)
Called by the IP stack to send a packet. The packet is first VJ compressed if compression was negotiated.
SendCallBack(TAny *)
TInt
|
SendCallBack
|
(
|
TAny
*
|
aCProtocol
|
)
|
[private, static]
|
Static function called asynchronously to send packets out the link.
Parameters
TAny
* aCProtocol
|
Pointer to this NCPIP object
|
SendFlowOn()
Notifies the TCP/IP stack that it may start sending data.
SendProtFrame(RMBufChain &, TUint)
Queues a packet as-is onto the send queue and sends it out the link via an asynchronous callback function.
Parameters
RMBufChain
& aPacket
|
MBuf chain containing packet
|
TUint
aProtocol
|
PPP protocol number
|
UnBind(ESock::MUpperDataReceiver &, ESock::MUpperControl &)
VjCompTcpFrameError()
void
|
VjCompTcpFrameError
|
(
|
)
|
|
VjCompTcpKillProtocol()
void
|
VjCompTcpKillProtocol
|
(
|
)
|
|
VjUncompTcpFrameError()
void
|
VjUncompTcpFrameError
|
(
|
)
|
|
VjUncompTcpKillProtocol()
void
|
VjUncompTcpKillProtocol
|
(
|
)
|
|
Member Data Documentation
__FLOG_DECLARATION_MEMBER
|
__FLOG_DECLARATION_MEMBER
|
[private]
|
TBool
iAuthenticated
TBool
|
iAuthenticated
|
[private]
|
TBool
iCompressConnId
TBool
|
iCompressConnId
|
[private]
|
TPppExtraRecvr< CPppBinderIp4 > iIpRecvr
ESock::MLowerDataSender::TSendResult
iLowerFlowOn
TUint
iMaxVJSlots
TUint
|
iMaxVJSlots
|
[private]
|
CPppLcp * iPppNifSubConnectionFlow
CPppLcp
*
|
iPppNifSubConnectionFlow
|
[private]
|
TUint32
iPrimaryNbns
Held in case of a future NetBios protocol
TUint32
iSecondaryNbns
Held in case of a future NetBios protocol
CAsyncCallBack * iSendCallBack
ESock::MUpperControl * iUpperControl
ESock::MLowerDataSender::TSendResult
iUpperFlowOn
ESock::MUpperDataReceiver * iUpperReceiver
TBool
iVJCompressionOn
TBool
|
iVJCompressionOn
|
[private]
|
ETrue if the user enabled VJ compression
CVJCompressorIf * iVJCompressor
CObjectCon * iVJCompressorCon
CObjectCon * iVJDeCompressorCon
CVJDeCompressorIf * iVJDecompressor
TPppExtraRecvr< CPppBinderIp4 > iVjCompTcpRecvr
TPppExtraRecvr< CPppBinderIp4 > iVjUncompTcpRecvr
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.