Home
last modified time | relevance | path

Searched refs:ExtInfo (Results 1 – 6 of 6) sorted by relevance

/device/linaro/bootloader/edk2/NetworkPkg/Mtftp6Dxe/
DMtftp6Option.c41 IN MTFTP6_EXT_OPTION_INFO *ExtInfo in Mtftp6ParseMcastOption() argument
55 ZeroMem (&ExtInfo->McastIp, sizeof (EFI_IPv6_ADDRESS)); in Mtftp6ParseMcastOption()
73 Status = NetLibAsciiStrToIp6 (Ip6Str, &ExtInfo->McastIp); in Mtftp6ParseMcastOption()
97 ExtInfo->McastPort = 0; in Mtftp6ParseMcastOption()
106 ExtInfo->McastPort = (UINT16) Num; in Mtftp6ParseMcastOption()
128 ExtInfo->IsMaster = (BOOLEAN) (Num == 1); in Mtftp6ParseMcastOption()
161 IN MTFTP6_EXT_OPTION_INFO *ExtInfo in Mtftp6ParseExtensionOption() argument
169 ExtInfo->BitMap = 0; in Mtftp6ParseExtensionOption()
189 ExtInfo->BlkSize = (UINT16) Value; in Mtftp6ParseExtensionOption()
190 ExtInfo->BitMap |= MTFTP6_OPT_BLKSIZE_BIT; in Mtftp6ParseExtensionOption()
[all …]
DMtftp6Rrq.c454 MTFTP6_EXT_OPTION_INFO ExtInfo; in Mtftp6RrqHandleOack() local
473 ZeroMem (&ExtInfo, sizeof (MTFTP6_EXT_OPTION_INFO)); in Mtftp6RrqHandleOack()
488 Status = Mtftp6ParseExtensionOption (Options, Count, FALSE, &ExtInfo); in Mtftp6RrqHandleOack()
490 if (EFI_ERROR (Status) || !Mtftp6RrqOackValid (Instance, &ExtInfo, &Instance->ExtInfo)) { in Mtftp6RrqHandleOack()
514 if ((ExtInfo.BitMap & MTFTP6_OPT_MCAST_BIT) != 0) { in Mtftp6RrqHandleOack()
521 Instance->IsMaster = ExtInfo.IsMaster; in Mtftp6RrqHandleOack()
524 if (NetIp6IsUnspecifiedAddr (&ExtInfo.McastIp) || ExtInfo.McastPort == 0) { in Mtftp6RrqHandleOack()
548 &ExtInfo.McastIp, in Mtftp6RrqHandleOack()
552 Instance->McastPort = ExtInfo.McastPort; in Mtftp6RrqHandleOack()
611 if (ExtInfo.BlkSize != 0) { in Mtftp6RrqHandleOack()
[all …]
DMtftp6Wrq.c292 MTFTP6_EXT_OPTION_INFO ExtInfo; in Mtftp6WrqHandleOack() local
312 ZeroMem (&ExtInfo, sizeof (MTFTP6_EXT_OPTION_INFO)); in Mtftp6WrqHandleOack()
321 Status = Mtftp6ParseExtensionOption (Options, Count, FALSE, &ExtInfo); in Mtftp6WrqHandleOack()
323 if (EFI_ERROR(Status) || !Mtftp6WrqOackValid (&ExtInfo, &Instance->ExtInfo)) { in Mtftp6WrqHandleOack()
348 if (ExtInfo.BlkSize != 0) { in Mtftp6WrqHandleOack()
349 Instance->BlkSize = ExtInfo.BlkSize; in Mtftp6WrqHandleOack()
352 if (ExtInfo.Timeout != 0) { in Mtftp6WrqHandleOack()
353 Instance->Timeout = ExtInfo.Timeout; in Mtftp6WrqHandleOack()
DMtftp6Option.h68 IN MTFTP6_EXT_OPTION_INFO *ExtInfo
91 IN MTFTP6_EXT_OPTION_INFO *ExtInfo
DMtftp6Impl.h74 MTFTP6_EXT_OPTION_INFO ExtInfo; member
DMtftp6Support.c951 ZeroMem (&Instance->ExtInfo, sizeof (MTFTP6_EXT_OPTION_INFO)); in Mtftp6OperationClean()
1040 &Instance->ExtInfo in Mtftp6OperationStart()