/device/linaro/bootloader/edk2/NetworkPkg/IScsiDxe/ |
D | IScsiIbft.c | 204 ISCSI_SESSION_CONFIG_NVDATA *NvData; in IScsiFillNICAndTargetSections() local 280 NvData = &Attempt->SessionConfigData; in IScsiFillNICAndTargetSections() 298 if (NvData->InitiatorInfoFromDhcp) { in IScsiFillNICAndTargetSections() 304 if (NvData->IpMode == IP_MODE_IP4 || NvData->IpMode == IP_MODE_AUTOCONFIG) { in IScsiFillNICAndTargetSections() 308 Nic->SubnetMaskPrefixLength = IScsiGetSubnetMaskPrefixLength (&NvData->SubnetMask); in IScsiFillNICAndTargetSections() 313 IScsiMapV4ToV6Addr (&NvData->LocalIp.v4, &Nic->Ip); in IScsiFillNICAndTargetSections() 314 IScsiMapV4ToV6Addr (&NvData->Gateway.v4, &Nic->Gateway); in IScsiFillNICAndTargetSections() 319 } else if (NvData->IpMode == IP_MODE_IP6 || NvData->IpMode == IP_MODE_AUTOCONFIG) { in IScsiFillNICAndTargetSections() 321 Nic->SubnetMaskPrefixLength = NvData->PrefixLength; in IScsiFillNICAndTargetSections() 322 CopyMem (&Nic->Ip, &NvData->LocalIp, sizeof (EFI_IPv6_ADDRESS)); in IScsiFillNICAndTargetSections() [all …]
|
D | IScsiDhcp.c | 289 ISCSI_SESSION_CONFIG_NVDATA *NvData; in IScsiParseDhcpAck() local 300 NvData = &ConfigData->SessionConfigData; in IScsiParseDhcpAck() 302 CopyMem (&NvData->LocalIp, &Dhcp4ModeData.ClientAddress, sizeof (EFI_IPv4_ADDRESS)); in IScsiParseDhcpAck() 303 CopyMem (&NvData->SubnetMask, &Dhcp4ModeData.SubnetMask, sizeof (EFI_IPv4_ADDRESS)); in IScsiParseDhcpAck() 304 CopyMem (&NvData->Gateway, &Dhcp4ModeData.RouterAddress, sizeof (EFI_IPv4_ADDRESS)); in IScsiParseDhcpAck() 387 ISCSI_SESSION_CONFIG_NVDATA *NvData; in IScsiDoDhcp() local 428 NvData = &ConfigData->SessionConfigData; in IScsiDoDhcp() 440 ParaList->Length = (UINT8) (NvData->TargetInfoFromDhcp ? 4 : 3); in IScsiDoDhcp() 450 if (NvData->TargetInfoFromDhcp) { in IScsiDoDhcp()
|
D | IScsiProto.c | 206 ISCSI_SESSION_CONFIG_NVDATA *NvData; in IScsiCreateConnection() local 214 NvData = &Session->ConfigData->SessionConfigData; in IScsiCreateConnection() 231 …Conn->Ipv6Flag = NvData->IpMode == IP_MODE_IP6 || Session->ConfigData->AutoConfigureMode ==… in IScsiCreateConnection() 257 CopyMem (&Tcp4IoConfig->LocalIp, &NvData->LocalIp, sizeof (EFI_IPv4_ADDRESS)); in IScsiCreateConnection() 258 CopyMem (&Tcp4IoConfig->SubnetMask, &NvData->SubnetMask, sizeof (EFI_IPv4_ADDRESS)); in IScsiCreateConnection() 259 CopyMem (&Tcp4IoConfig->Gateway, &NvData->Gateway, sizeof (EFI_IPv4_ADDRESS)); in IScsiCreateConnection() 260 CopyMem (&Tcp4IoConfig->RemoteIp, &NvData->TargetIp, sizeof (EFI_IPv4_ADDRESS)); in IScsiCreateConnection() 262 Tcp4IoConfig->RemotePort = NvData->TargetPort; in IScsiCreateConnection() 268 CopyMem (&Tcp6IoConfig->RemoteIp, &NvData->TargetIp, sizeof (EFI_IPv6_ADDRESS)); in IScsiCreateConnection() 269 Tcp6IoConfig->RemotePort = NvData->TargetPort; in IScsiCreateConnection() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/IScsiDxe/ |
D | IScsiIbft.c | 311 …Nic->SubnetMaskPrefixLength = IScsiGetSubnetMaskPrefixLength (&SessionConfigData->NvData.SubnetMas… in IScsiFillNICAndTargetSections() 313 if (SessionConfigData->NvData.InitiatorInfoFromDhcp) { in IScsiFillNICAndTargetSections() 321 IScsiMapV4ToV6Addr (&SessionConfigData->NvData.LocalIp, &Nic->Ip); in IScsiFillNICAndTargetSections() 322 IScsiMapV4ToV6Addr (&SessionConfigData->NvData.Gateway, &Nic->Gateway); in IScsiFillNICAndTargetSections() 351 Target->Port = SessionConfigData->NvData.TargetPort; in IScsiFillNICAndTargetSections() 362 IScsiMapV4ToV6Addr (&SessionConfigData->NvData.TargetIp, &Target->Ip); in IScsiFillNICAndTargetSections() 363 CopyMem (Target->BootLun, SessionConfigData->NvData.BootLun, sizeof (Target->BootLun)); in IScsiFillNICAndTargetSections() 368 Length = (UINT16) AsciiStrLen (SessionConfigData->NvData.TargetName); in IScsiFillNICAndTargetSections() 369 IScsiAddHeapItem (Heap, SessionConfigData->NvData.TargetName, Length); in IScsiFillNICAndTargetSections()
|
D | IScsiDhcp.c | 279 CopyMem (&ConfigData->NvData.LocalIp, &Dhcp4ModeData.ClientAddress, sizeof (EFI_IPv4_ADDRESS)); in IScsiParseDhcpAck() 280 CopyMem (&ConfigData->NvData.SubnetMask, &Dhcp4ModeData.SubnetMask, sizeof (EFI_IPv4_ADDRESS)); in IScsiParseDhcpAck() 281 CopyMem (&ConfigData->NvData.Gateway, &Dhcp4ModeData.RouterAddress, sizeof (EFI_IPv4_ADDRESS)); in IScsiParseDhcpAck() 413 ParaList->Length = (UINT8) (ConfigData->NvData.TargetInfoFromDhcp ? 4 : 3); in IScsiDoDhcp() 424 if (ConfigData->NvData.TargetInfoFromDhcp) { in IScsiDoDhcp() 429 Dhcp4ConfigData.CallbackContext = &ConfigData->NvData; in IScsiDoDhcp()
|
D | IScsiExtScsiPassThru.c | 73 ConfigNvData = &Private->Session.ConfigData.NvData; in IScsiExtScsiPassThruFunction() 136 ConfigNvData = &Private->Session.ConfigData.NvData; in IScsiExtScsiPassThruGetNextTargetLun() 209 ConfigNvData = &Session->ConfigData.NvData; in IScsiExtScsiPassThruBuildDevicePath() 296 ConfigNvData = &Private->Session.ConfigData.NvData; in IScsiExtScsiPassThruGetTargetLun()
|
D | IScsiMisc.c | 720 BufferSize = sizeof (Session->ConfigData.NvData); in IScsiGetConfigData() 726 &Session->ConfigData.NvData in IScsiGetConfigData() 732 if (!Session->ConfigData.NvData.Enabled) { in IScsiGetConfigData() 747 if (!EFI_ERROR (Status) && Session->ConfigData.NvData.InitiatorInfoFromDhcp) { in IScsiGetConfigData() 815 (BOOLEAN) (!Session->ConfigData.NvData.InitiatorInfoFromDhcp); in IScsiGetTcpConnDevicePath() 827 &Session->ConfigData.NvData.Gateway in IScsiGetTcpConnDevicePath() 832 &Session->ConfigData.NvData.SubnetMask in IScsiGetTcpConnDevicePath()
|
D | IScsiMisc.h | 47 ISCSI_SESSION_CONFIG_NVDATA NvData; member
|
D | IScsiProto.c | 231 CopyMem (&Tcp4IoConfig.LocalIp, &Session->ConfigData.NvData.LocalIp, sizeof (EFI_IPv4_ADDRESS)); in IScsiCreateConnection() 232 …CopyMem (&Tcp4IoConfig.SubnetMask, &Session->ConfigData.NvData.SubnetMask, sizeof (EFI_IPv4_ADDRES… in IScsiCreateConnection() 233 CopyMem (&Tcp4IoConfig.Gateway, &Session->ConfigData.NvData.Gateway, sizeof (EFI_IPv4_ADDRESS)); in IScsiCreateConnection() 234 CopyMem (&Tcp4IoConfig.RemoteIp, &Session->ConfigData.NvData.TargetIp, sizeof (EFI_IPv4_ADDRESS)); in IScsiCreateConnection() 236 Tcp4IoConfig.RemotePort = Session->ConfigData.NvData.TargetPort; in IScsiCreateConnection() 308 CopyMem (Session->Isid, Session->ConfigData.NvData.IsId, 6); in IScsiSessionLogin() 875 Session->ConfigData.NvData.TargetPort = (UINT16) Number; in IScsiUpdateTargetAddress() 881 Session->ConfigData.NvData.TargetPort = ISCSI_WELL_KNOWN_PORT; in IScsiUpdateTargetAddress() 886 Status = IScsiAsciiStrToIp (IpStr, &Session->ConfigData.NvData.TargetIp); in IScsiUpdateTargetAddress()
|
D | IScsiCHAP.c | 360 IScsiAddKeyValuePair (Pdu, ISCSI_KEY_TARGET_NAME, Session->ConfigData.NvData.TargetName); in IScsiCHAPToSendReq()
|
/device/linaro/bootloader/edk2/EmulatorPkg/Include/Protocol/ |
D | EmuSnp.h | 451 EMU_SNP_NVDATA NvData; member
|
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/SimpleNetwork/ |
D | SimpleNetwork.h | 629 EFI_SIMPLE_NETWORK_NVDATA NvData; member
|
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/ |
D | SimpleNetwork.h | 646 EFI_SIMPLE_NETWORK_NVDATA NvData; member
|
/device/linaro/bootloader/edk2/OvmfPkg/VirtioNetDxe/ |
D | DriverBinding.c | 202 Dev->Snp.NvData = &VirtioNetNvData; in VirtioNetSnpPopulate()
|
/device/linaro/bootloader/edk2/EmulatorPkg/EmuSnpDxe/ |
D | EmuSnpDxe.c | 395 Status = Private->Io->NvData (Private->Io, ReadOrWrite, Offset, BufferSize, Buffer); in EmuSnpNvdata()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/SnpDxe/ |
D | Snp.c | 396 Snp->Snp.NvData = SnpUndi32NvData; in SimpleNetworkDriverStart()
|
/device/linaro/bootloader/edk2/OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772/ |
D | SimpleNetwork.c | 850 pSimpleNetwork->NvData = (EFI_SIMPLE_NETWORK_NVDATA)SN_NvData; in SN_Setup()
|
/device/linaro/bootloader/edk2/OptionRomPkg/Bus/Usb/UsbNetworking/Ax88772b/ |
D | SimpleNetwork.c | 925 pSimpleNetwork->NvData = (EFI_SIMPLE_NETWORK_NVDATA)SN_NvData; in SN_Setup()
|
/device/linaro/bootloader/edk2/EmbeddedPkg/Drivers/Lan9118Dxe/ |
D | Lan9118Dxe.c | 88 Snp->NvData = SnpNvData; in Lan9118DxeEntry()
|
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Net/Lan91xDxe/ |
D | Lan91xDxe.c | 2170 Snp->NvData = SnpNvData; in Lan91xDxeEntry()
|
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/Snp16Dxe/ |
D | BiosSnp16.c | 471 SimpleNetworkDevice->SimpleNetwork.NvData = Undi16SimpleNetworkNvData; in BiosSnp16DriverBindingStart()
|