NetworkPkg/IpSecDxe/Ikev2/ChildSa.c File Reference


Functions

IKE_PACKETIkev2CreateChildGenerator (IN UINT8 *SaSession, IN VOID *Context)
EFI_STATUS Ikev2CreateChildParser (IN UINT8 *SaSession, IN IKE_PACKET *IkePacket)
VOID Ikev2ChildSaBeforeDecodePayload (IN UINT8 *SessionCommon, IN UINT8 *PayloadBuf, IN UINTN PayloadSize, IN UINT8 PayloadType)
VOID Ikev2ChildSaAfterEncodePayload (IN UINT8 *SessionCommon, IN UINT8 *PayloadBuf, IN UINTN PayloadSize, IN UINT8 PayloadType)

Variables

IKEV2_PACKET_HANDLER mIkev2CreateChild

Detailed Description

The operations for Child SA.

Copyright (c) 2010, Intel Corporation. All rights reserved.

This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php.

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.


Function Documentation

VOID Ikev2ChildSaAfterEncodePayload ( IN UINT8 *  SessionCommon,
IN UINT8 *  PayloadBuf,
IN UINTN  PayloadSize,
IN UINT8  PayloadType 
)

Routine Process after the payload encoding.

Parameters:
[in] SessionCommon Pointer to ChildSa SessionCommon.
[in] PayloadBuf Pointer to the payload.
[in] PayloadSize Size of PayloadBuf in byte.
[in] PayloadType Type of Payload.

Referenced by Ikev2ChildSaSessionAlloc().

VOID Ikev2ChildSaBeforeDecodePayload ( IN UINT8 *  SessionCommon,
IN UINT8 *  PayloadBuf,
IN UINTN  PayloadSize,
IN UINT8  PayloadType 
)

Routine process before the payload decoding.

Parameters:
[in] SessionCommon Pointer to ChildSa SessionCommon.
[in] PayloadBuf Pointer to the payload.
[in] PayloadSize Size of PayloadBuf in byte.
[in] PayloadType Type of Payload.

Referenced by Ikev2ChildSaSessionAlloc().

IKE_PACKET* Ikev2CreateChildGenerator ( IN UINT8 *  SaSession,
IN VOID *  Context 
)

EFI_STATUS Ikev2CreateChildParser ( IN UINT8 *  SaSession,
IN IKE_PACKET IkePacket 
)

Parse the IKE packet of CREATE_CHILD_SA exchange.

This function parse the IKE packet and save the related information to further calculation.

Parameters:
[in] SaSession Pointer to IKEv2_CHILD_SA_SESSION related to this Exchange.
[in] IkePacket Received packet to be parsed.
Return values:
EFI_SUCCESS The IKE Packet is acceptable.
EFI_UNSUPPORTED Not support the CREATE_CHILD_SA request.


Variable Documentation


Generated on Mon Sep 28 08:49:06 2015 for NetworkPkg[ALL] by  doxygen 1.5.7.1