NetworkPkg/IpSecDxe/Ikev2/Info.c File Reference


Functions

IKE_PACKETIkev2InfoGenerator (IN UINT8 *SaSession, IN VOID *Context)
EFI_STATUS Ikev2InfoParser (IN UINT8 *SaSession, IN IKE_PACKET *IkePacket)

Variables

GLOBAL_REMOVE_IF_UNREFERENCED
IKEV2_PACKET_HANDLER 
mIkev2Info

Detailed Description

The Implementations for Information Exchange.

(C) Copyright 2015 Hewlett-Packard Development Company, L.P.
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

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

Generate Information Packet.

The information Packet may contain one Delete Payload, or Notify Payload, which dependes on the Context's parameters.

Parameters:
[in] SaSession Pointer to IKE SA Session or Child SA Session which is related to the information Exchange.
[in] Context The Data passed from the caller. If the Context is not NULL it should contain the information for Notification Data.
Return values:
Pointer of IKE_PACKET generated.

References IKE_HEADER::ExchangeType, IKE_HEADER::Flags, IKE_PACKET::Header, IKE_HEADER_FLAGS_INIT, IKE_HEADER_FLAGS_RESPOND, IKE_PACKET_APPEND_PAYLOAD, IkePacketAlloc(), IKEV2_CHILD_SA_SESSION::IkeSaSession, IKEV2_SESSION_COMMON::IkeSessionType, IkeSessionTypeIkeSa, IkeStateSaDeleting, IKEV2_EXCHANGE_TYPE_INFO, IKEV2_PAYLOAD_TYPE_DELETE, IKEV2_PAYLOAD_TYPE_NONE, Ikev2GenerateDeletePayload(), Ikev2InfoLiveCheck, Ikev2InfoNotify, Ikev2SaSessionIncreaseMessageId(), IKEV2_INFO_EXCHANGE_CONTEXT::InfoType, IKEV2_SA_SESSION::InitiatorCookie, IKE_HEADER::InitiatorCookie, IKE_PACKET::IsDeleteInfo, IKEV2_SESSION_COMMON::IsInitiator, IKEV2_SESSION_COMMON::IsOnDeleting, IKEV2_CHILD_SA_SESSION::LocalPeerSpi, IKEV2_CHILD_SA_SESSION::MessageId, IKEV2_SA_SESSION::MessageId, IKEV2_INFO_EXCHANGE_CONTEXT::MessageId, IKE_HEADER::MessageId, IKE_HEADER::NextPayload, IKEV2_SESSION_COMMON::Private, IKE_PACKET::Private, IKEV2_SA_SESSION::ResponderCookie, IKE_HEADER::ResponderCookie, IKEV2_CHILD_SA_SESSION::SessionCommon, IKEV2_SA_SESSION::SessionCommon, IKE_PACKET::Spi, IKEV2_SESSION_COMMON::State, and IKE_HEADER::Version.

Referenced by Ikev2InfoParser().

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


Variable Documentation

GLOBAL_REMOVE_IF_UNREFERENCED IKEV2_PACKET_HANDLER mIkev2Info


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