Lines Matching defs:UdpService
197 If the UdpService is not configured, this fuction calls UdpIoCreatIo() to
198 create UDPIO to bind this UdpService for IKE packet sending. If the UdpService
201 @param[in] UdpService The UDP_IO to be configured.
210 IN IKE_UDP_SERVICE *UdpService,
228 if (UdpService->IsConfigured) {
232 if (UdpService->IpVersion == UDP_IO_UDP4_VERSION) {
237 UdpService->NicHandle,
282 &UdpService->DefaultAddress.v4,
290 UdpService->Output = UdpIoCreateIo (
291 UdpService->NicHandle,
292 UdpService->ImageHandle,
295 &UdpService->DefaultAddress
298 if (UdpService->Output == NULL) {
307 UdpService->Output = UdpIoCreateIo (
308 UdpService->NicHandle,
309 UdpService->ImageHandle,
315 if (UdpService->Output == NULL) {
324 Udp6 = UdpService->Output->Protocol.Udp6;
328 UdpIoFreeIo (UdpService->Output);
360 Status = IkeConfigUdp6 (UdpService->Output, NULL);
366 &UdpService->DefaultAddress.v6,
372 UdpService->IsConfigured = TRUE;
530 @param[in] UdpService Point to IKE_UDP_SERVICE which will be used for
542 IN IKE_UDP_SERVICE *UdpService,
554 Private = (UdpService->IpVersion == IP_VERSION_4) ?
555 IPSEC_PRIVATE_DATA_FROM_UDP4LIST(UdpService->ListHead) :
556 IPSEC_PRIVATE_DATA_FROM_UDP6LIST(UdpService->ListHead);
561 Status = IkeOpenOutputUdp (UdpService, RemoteIp);
575 PadEntry = IpSecLookupPadEntry (UdpService->IpVersion, RemoteIp);
590 Status = Exchange->NegotiateSa (UdpService, SpdEntry, PadEntry, RemoteIp);
634 IKE_UDP_SERVICE *UdpService;
638 UdpService = (IKE_UDP_SERVICE *) Context;
640 Private = (UdpService->IpVersion == IP_VERSION_4) ?
641 IPSEC_PRIVATE_DATA_FROM_UDP4LIST(UdpService->ListHead) :
642 IPSEC_PRIVATE_DATA_FROM_UDP6LIST(UdpService->ListHead);
669 if (UdpService->IpVersion == IP_VERSION_4) {
681 Status = IkeOpenOutputUdp (UdpService, &IkePacket->RemotePeerIp);
702 Exchange->HandleSa (UdpService, IkePacket);
707 Exchange->HandleChildSa (UdpService, IkePacket);
712 Exchange->HandleInfo (UdpService, IkePacket);
728 UdpIoRecvDatagram (UdpService->Input, IkeDispatch, UdpService, 0);