Lines Matching refs:UdpService
210 IN IKE_UDP_SERVICE *UdpService, in IkeOpenOutputUdp() argument
228 if (UdpService->IsConfigured) { in IkeOpenOutputUdp()
232 if (UdpService->IpVersion == UDP_IO_UDP4_VERSION) { in IkeOpenOutputUdp()
237 UdpService->NicHandle, in IkeOpenOutputUdp()
282 &UdpService->DefaultAddress.v4, in IkeOpenOutputUdp()
290 UdpService->Output = UdpIoCreateIo ( in IkeOpenOutputUdp()
291 UdpService->NicHandle, in IkeOpenOutputUdp()
292 UdpService->ImageHandle, in IkeOpenOutputUdp()
295 &UdpService->DefaultAddress in IkeOpenOutputUdp()
298 if (UdpService->Output == NULL) { in IkeOpenOutputUdp()
307 UdpService->Output = UdpIoCreateIo ( in IkeOpenOutputUdp()
308 UdpService->NicHandle, in IkeOpenOutputUdp()
309 UdpService->ImageHandle, in IkeOpenOutputUdp()
315 if (UdpService->Output == NULL) { in IkeOpenOutputUdp()
324 Udp6 = UdpService->Output->Protocol.Udp6; in IkeOpenOutputUdp()
328 UdpIoFreeIo (UdpService->Output); in IkeOpenOutputUdp()
360 Status = IkeConfigUdp6 (UdpService->Output, NULL); in IkeOpenOutputUdp()
366 &UdpService->DefaultAddress.v6, in IkeOpenOutputUdp()
372 UdpService->IsConfigured = TRUE; in IkeOpenOutputUdp()
542 IN IKE_UDP_SERVICE *UdpService, in IkeNegotiate() argument
554 Private = (UdpService->IpVersion == IP_VERSION_4) ? in IkeNegotiate()
555 IPSEC_PRIVATE_DATA_FROM_UDP4LIST(UdpService->ListHead) : in IkeNegotiate()
556 IPSEC_PRIVATE_DATA_FROM_UDP6LIST(UdpService->ListHead); in IkeNegotiate()
561 Status = IkeOpenOutputUdp (UdpService, RemoteIp); in IkeNegotiate()
575 PadEntry = IpSecLookupPadEntry (UdpService->IpVersion, RemoteIp); in IkeNegotiate()
590 Status = Exchange->NegotiateSa (UdpService, SpdEntry, PadEntry, RemoteIp); in IkeNegotiate()
634 IKE_UDP_SERVICE *UdpService; in IkeDispatch() local
638 UdpService = (IKE_UDP_SERVICE *) Context; in IkeDispatch()
640 Private = (UdpService->IpVersion == IP_VERSION_4) ? in IkeDispatch()
641 IPSEC_PRIVATE_DATA_FROM_UDP4LIST(UdpService->ListHead) : in IkeDispatch()
642 IPSEC_PRIVATE_DATA_FROM_UDP6LIST(UdpService->ListHead); in IkeDispatch()
669 if (UdpService->IpVersion == IP_VERSION_4) { in IkeDispatch()
681 Status = IkeOpenOutputUdp (UdpService, &IkePacket->RemotePeerIp); in IkeDispatch()
702 Exchange->HandleSa (UdpService, IkePacket); in IkeDispatch()
707 Exchange->HandleChildSa (UdpService, IkePacket); in IkeDispatch()
712 Exchange->HandleInfo (UdpService, IkePacket); in IkeDispatch()
728 UdpIoRecvDatagram (UdpService->Input, IkeDispatch, UdpService, 0); in IkeDispatch()