diff -r ebc84c812384 -r 46218c8b8afa Symbian3/PDK/Source/GUID-88AB6957-6D2B-5668-8CC3-4E426E68C9B7.dita --- a/Symbian3/PDK/Source/GUID-88AB6957-6D2B-5668-8CC3-4E426E68C9B7.dita Thu Mar 11 15:24:26 2010 +0000 +++ b/Symbian3/PDK/Source/GUID-88AB6957-6D2B-5668-8CC3-4E426E68C9B7.dita Thu Mar 11 18:02:22 2010 +0000 @@ -1,64 +1,64 @@ - - - - - - Writing -an Outflow Hook TutorialThis topic describes how to write an outflow hook. - -The CIp6Hook() is -a base class for all hook protocols. - - -The OpenL() function is used to open a hook for a -data flow - - -The following are the parameters of OpenL() function: - - - -aHead – Contains the address information of the flow - - -aFlow – Flow for the active hook - - - - -The ReadyL() function sets the data packet in a ready -state. - - -The IP protocol calls the ApplyL() function to create -an outflow hook. The following are the parameters of an ApplyL() function: - - - -aPacket – A complete packet to be processed by the hook. It includes -the IP header - - -aInfo - Information block associated with the packet - - - - -How to write an Outflow Hook example

The following -is an example code for how to write an outflow hook:

-MFlowHook* OpenL(TPacketHead &aHead, CFlowContext *aFlow); -TInt ReadyL(TPacketHead& aHead); -TInt ApplyL(RMBufSendPacket& aPacket, RMBufSendInfo& aInfo); -
-
-Creating -an ESK File -Writing an -Inbound Hook + + + + + + Writing +an Outflow Hook TutorialThis topic describes how to write an outflow hook. + +The CIp6Hook() is +a base class for all hook protocols. + + +The OpenL() function is used to open a hook for a +data flow + + +The following are the parameters of OpenL() function: + + + +aHead – Contains the address information of the flow + + +aFlow – Flow for the active hook + + + + +The ReadyL() function sets the data packet in a ready +state. + + +The IP protocol calls the ApplyL() function to create +an outflow hook. The following are the parameters of an ApplyL() function: + + + +aPacket – A complete packet to be processed by the hook. It includes +the IP header + + +aInfo - Information block associated with the packet + + + + +How to write an Outflow Hook example

The following +is an example code for how to write an outflow hook:

+MFlowHook* OpenL(TPacketHead &aHead, CFlowContext *aFlow); +TInt ReadyL(TPacketHead& aHead); +TInt ApplyL(RMBufSendPacket& aPacket, RMBufSendInfo& aInfo); +
+
+Creating +an ESK File +Writing an +Inbound Hook
\ No newline at end of file