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
;
51
IkePacket
= IkePacketAlloc();
52
if (
IkePacket
== NULL) {
61
IkePacket
->Header->Version = (UINT8) (2 << 4);
62
IkePacket
->Header->NextPayload = IKEV2_PAYLOAD_TYPE_NOTIFY;
63
IkePacket
->Header->ExchangeType = IKE_XCG_TYPE_CREATE_CHILD_SA;
67
// 1.a Fill the
IkePacket
->Hdr
69
IkePacket
->Header->InitiatorCookie = ChildSaSession->IkeSaSession->InitiatorCookie;
70
IkePacket
->Header->ResponderCookie = ChildSaSession->IkeSaSession->ResponderCookie;
73
IkePacket
->Header->MessageId = *MessageId;
[
all
...]
Info.c
43
IKE_PACKET *
IkePacket
;
49
IkePacket
= IkePacketAlloc ();
50
if (
IkePacket
== NULL) {
55
// Fill
IkePacket
Header.
57
IkePacket
->Header->ExchangeType = IKEV2_EXCHANGE_TYPE_INFO;
58
IkePacket
->Header->Version = (UINT8) (2 << 4);
70
IkePacket
->Header->MessageId = InfoContext->MessageId;
71
IkePacket
->Header->InitiatorCookie = IkeSaSession->InitiatorCookie;
72
IkePacket
->Header->ResponderCookie = IkeSaSession->ResponderCookie;
73
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
if (
IkePacket
== NULL) {
110
// 1.a Fill the
IkePacket
->Hdr
112
IkePacket
->Header->ExchangeType = IKEV2_EXCHANGE_TYPE_INIT;
113
IkePacket
->Header->InitiatorCookie = IkeSaSession->InitiatorCookie;
114
IkePacket
->Header->ResponderCookie = IkeSaSession->ResponderCookie;
115
IkePacket
->Header->Version = (UINT8) (2 << 4);
116
IkePacket
->Header->MessageId = 0;
119
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
632
IKE_PACKET *
IkePacket
;
639
IkePacket
= NULL;
661
IkePacket
= IkePacketFromNetbuf (Packet);
663
if (
IkePacket
== NULL) {
670
*(UINT32 *)
IkePacket
->RemotePeerIp.Addr = HTONL ((*(UINT32 *) EndPoint->RemoteAddr.Addr));
673
&
IkePacket
->RemotePeerIp,
681
Status = IkeOpenOutputUdp (UdpService, &
IkePacket
->RemotePeerIp);
687
IkeHdr =
IkePacket
->Header;
702
Exchange->HandleSa (UdpService,
IkePacket
);
707
Exchange->HandleChildSa (UdpService,
IkePacket
);
[
all
...]
Completed in 86 milliseconds