OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:IkePacket
(Results
1 - 7
of
7
) sorted by null
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/Ikev2/
ChildSa.c
39
IKE_PACKET *
IkePacket
;
44
IkePacket
= IkePacketAlloc();
47
if (
IkePacket
== NULL) {
58
IkePacket
->Header->Version = (UINT8) (2 << 4);
59
IkePacket
->Header->NextPayload = IKEV2_PAYLOAD_TYPE_NOTIFY;
60
IkePacket
->Header->ExchangeType = IKE_XCG_TYPE_CREATE_CHILD_SA;
64
// 1.a Fill the
IkePacket
->Hdr
66
IkePacket
->Header->InitiatorCookie = ChildSaSession->IkeSaSession->InitiatorCookie;
67
IkePacket
->Header->ResponderCookie = ChildSaSession->IkeSaSession->ResponderCookie;
70
IkePacket
->Header->MessageId = *MessageId;
[
all
...]
Info.c
43
IKE_PACKET *
IkePacket
;
49
IkePacket
= IkePacketAlloc ();
50
ASSERT (
IkePacket
!= NULL);
53
// Fill
IkePacket
Header.
55
IkePacket
->Header->ExchangeType = IKEV2_EXCHANGE_TYPE_INFO;
56
IkePacket
->Header->Version = (UINT8) (2 << 4);
68
IkePacket
->Header->MessageId = InfoContext->MessageId;
69
IkePacket
->Header->InitiatorCookie = IkeSaSession->InitiatorCookie;
70
IkePacket
->Header->ResponderCookie = IkeSaSession->ResponderCookie;
71
IkePacket
->Header->NextPayload = IKEV2_PAYLOAD_TYPE_NONE;
[
all
...]
Exchange.c
47
IKE_PACKET *
IkePacket
;
54
IkePacket
= NULL;
119
IkePacket
= Handler.Generator ((UINT8 *) IkeSaSession, NULL);
120
if (
IkePacket
== NULL) {
125
Status = Ikev2SendIkePacket (UdpService, (UINT8 *) SessionCommon,
IkePacket
, 0);
140
if (
IkePacket
!= NULL) {
141
IkePacketFree (
IkePacket
);
176
IKE_PACKET *
IkePacket
;
181
IkePacket
= NULL;
230
IkePacket
= mIkev2CreateChild.Generator ((UINT8 *) ChildSaSession, NULL);
[
all
...]
Sa.c
86
IKE_PACKET *
IkePacket
;
104
IkePacket
= IkePacketAlloc ();
105
ASSERT (
IkePacket
!= NULL);
108
// 1.a Fill the
IkePacket
->Hdr
110
IkePacket
->Header->ExchangeType = IKEV2_EXCHANGE_TYPE_INIT;
111
IkePacket
->Header->InitiatorCookie = IkeSaSession->InitiatorCookie;
112
IkePacket
->Header->ResponderCookie = IkeSaSession->ResponderCookie;
113
IkePacket
->Header->Version = (UINT8) (2 << 4);
114
IkePacket
->Header->MessageId = 0;
117
IkePacket
->Header->Flags = IKE_HEADER_FLAGS_INIT;
[
all
...]
Payload.c
[
all
...]
/device/linaro/bootloader/edk2/NetworkPkg/IpSecDxe/
IkePacket.c
30
IKE_PACKET *
IkePacket
;
32
IkePacket
= (IKE_PACKET *) AllocateZeroPool (sizeof (IKE_PACKET));
33
if (
IkePacket
== NULL) {
37
IkePacket
->RefCount = 1;
38
InitializeListHead (&
IkePacket
->PayloadList);
40
IkePacket
->Header = (IKE_HEADER *) AllocateZeroPool (sizeof (IKE_HEADER));
41
if (
IkePacket
->Header == NULL) {
42
FreePool (
IkePacket
);
45
return
IkePacket
;
49
Free the
IkePacket
by the specified IKE_PACKET pointer.
[
all
...]
IkeService.c
607
IKE_PACKET *
IkePacket
;
614
IkePacket
= NULL;
636
IkePacket
= IkePacketFromNetbuf (Packet);
638
if (
IkePacket
== NULL) {
645
*(UINT32 *)
IkePacket
->RemotePeerIp.Addr = HTONL ((*(UINT32 *) EndPoint->RemoteAddr.Addr));
648
&
IkePacket
->RemotePeerIp,
656
Status = IkeOpenOutputUdp (UdpService, &
IkePacket
->RemotePeerIp);
662
IkeHdr =
IkePacket
->Header;
677
Exchange->HandleSa (UdpService,
IkePacket
);
682
Exchange->HandleChildSa (UdpService,
IkePacket
);
[
all
...]
Completed in 74 milliseconds