Lines Matching refs:Ip6ModeData

329   EFI_IP6_MODE_DATA            Ip6ModeData;  in IScsiGetIp6NicInfo()  local
340 ZeroMem (&Ip6ModeData, sizeof (EFI_IP6_MODE_DATA)); in IScsiGetIp6NicInfo()
345 &Ip6ModeData, in IScsiGetIp6NicInfo()
353 if (!Ip6ModeData.IsConfigured) { in IScsiGetIp6NicInfo()
358 IP6_COPY_ADDRESS (&NvData->LocalIp, &Ip6ModeData.ConfigData.StationAddress); in IScsiGetIp6NicInfo()
361 for (Index = 0; Index < Ip6ModeData.AddressCount; Index++) { in IScsiGetIp6NicInfo()
362 if (EFI_IP6_EQUAL (&NvData->LocalIp.v6, &Ip6ModeData.AddressList[Index].Address)) { in IScsiGetIp6NicInfo()
363 NvData->PrefixLength = Ip6ModeData.AddressList[Index].PrefixLength; in IScsiGetIp6NicInfo()
369 RouteEntry = Ip6ModeData.RouteCount; in IScsiGetIp6NicInfo()
370 for (Index = 0; Index < Ip6ModeData.RouteCount; Index++) { in IScsiGetIp6NicInfo()
371 …if (NetIp6IsNetEqual (TargetIp, &Ip6ModeData.RouteTable[Index].Destination, Ip6ModeData.RouteTable… in IScsiGetIp6NicInfo()
372 if (SubnetPrefixLength < Ip6ModeData.RouteTable[Index].PrefixLength) { in IScsiGetIp6NicInfo()
373 SubnetPrefixLength = Ip6ModeData.RouteTable[Index].PrefixLength; in IScsiGetIp6NicInfo()
378 if (RouteEntry != Ip6ModeData.RouteCount) { in IScsiGetIp6NicInfo()
379 IP6_COPY_ADDRESS (&NvData->Gateway, &Ip6ModeData.RouteTable[RouteEntry].Gateway); in IScsiGetIp6NicInfo()
383 if (Ip6ModeData.AddressList != NULL) { in IScsiGetIp6NicInfo()
384 FreePool (Ip6ModeData.AddressList); in IScsiGetIp6NicInfo()
386 if (Ip6ModeData.GroupTable!= NULL) { in IScsiGetIp6NicInfo()
387 FreePool (Ip6ModeData.GroupTable); in IScsiGetIp6NicInfo()
389 if (Ip6ModeData.RouteTable!= NULL) { in IScsiGetIp6NicInfo()
390 FreePool (Ip6ModeData.RouteTable); in IScsiGetIp6NicInfo()
392 if (Ip6ModeData.NeighborCache!= NULL) { in IScsiGetIp6NicInfo()
393 FreePool (Ip6ModeData.NeighborCache); in IScsiGetIp6NicInfo()
395 if (Ip6ModeData.PrefixTable!= NULL) { in IScsiGetIp6NicInfo()
396 FreePool (Ip6ModeData.PrefixTable); in IScsiGetIp6NicInfo()
398 if (Ip6ModeData.IcmpTypeList!= NULL) { in IScsiGetIp6NicInfo()
399 FreePool (Ip6ModeData.IcmpTypeList); in IScsiGetIp6NicInfo()