Home | History | Annotate | Download | only in UefiShellNetwork1CommandsLib

Lines Matching refs:IfInfo

48   EFI_IP4_CONFIG2_INTERFACE_INFO              *IfInfo; 

405 EFI_IP4_CONFIG2_INTERFACE_INFO *IfInfo;
412 IfInfo = NULL;
434 IfInfo = NULL;
466 IfInfo = AllocateZeroPool (DataSize);
468 if (IfInfo == NULL) {
480 IfInfo
490 if ((IfName != NULL) && (StrCmp (IfName, IfInfo->Name) != 0)) {
491 FreePool (IfInfo);
519 IfCb->IfInfo = IfInfo;
556 if ((IfName != NULL) && (StrCmp (IfName, IfInfo->Name) == 0)) {
561 IfInfo = NULL;
574 if (IfInfo != NULL) {
575 FreePool (IfInfo);
623 ShellPrintHiiEx (-1, -1, NULL, STRING_TOKEN (STR_IFCONFIG_INFO_IF_NAME), gShellNetwork1HiiHandle, IfCb->IfInfo->Name);
650 IfCb->IfInfo->HwAddress.Addr,
651 IfCb->IfInfo->HwAddressSize
665 (UINTN)IfCb->IfInfo->StationAddress.Addr[0],
666 (UINTN)IfCb->IfInfo->StationAddress.Addr[1],
667 (UINTN)IfCb->IfInfo->StationAddress.Addr[2],
668 (UINTN)IfCb->IfInfo->StationAddress.Addr[3]
682 (UINTN)IfCb->IfInfo->SubnetMask.Addr[0],
683 (UINTN)IfCb->IfInfo->SubnetMask.Addr[1],
684 (UINTN)IfCb->IfInfo->SubnetMask.Addr[2],
685 (UINTN)IfCb->IfInfo->SubnetMask.Addr[3]
695 for (Index = 0; Index < IfCb->IfInfo->RouteTableSize; Index++) {
696 if ((CompareMem (&IfCb->IfInfo->RouteTable[Index].SubnetAddress, &mZeroIp4Addr, sizeof (EFI_IPv4_ADDRESS)) == 0) &&
697 (CompareMem (&IfCb->IfInfo->RouteTable[Index].SubnetMask , &mZeroIp4Addr, sizeof (EFI_IPv4_ADDRESS)) == 0) ){
698 CopyMem (&Gateway, &IfCb->IfInfo->RouteTable[Index].GatewayAddress, sizeof (EFI_IPv4_ADDRESS));
717 ShellPrintHiiEx(-1, -1, NULL,STRING_TOKEN (STR_IFCONFIG_ROUTES_SIZE), gShellNetwork1HiiHandle, IfCb->IfInfo->RouteTableSize);
719 for (Index = 0; Index < IfCb->IfInfo->RouteTableSize; Index++) {
729 (UINTN)IfCb->IfInfo->RouteTable[Index].SubnetAddress.Addr[0],
730 (UINTN)IfCb->IfInfo->RouteTable[Index].SubnetAddress.Addr[1],
731 (UINTN)IfCb->IfInfo->RouteTable[Index].SubnetAddress.Addr[2],
732 (UINTN)IfCb->IfInfo->RouteTable[Index].SubnetAddress.Addr[3]
742 (UINTN)IfCb->IfInfo->RouteTable[Index].SubnetMask.Addr[0],
743 (UINTN)IfCb->IfInfo->RouteTable[Index].SubnetMask.Addr[1],
744 (UINTN)IfCb->IfInfo->RouteTable[Index].SubnetMask.Addr[2],
745 (UINTN)IfCb->IfInfo->RouteTable[Index].SubnetMask.Addr[3]
755 (UINTN)IfCb->IfInfo->RouteTable[Index].GatewayAddress.Addr[0],
756 (UINTN)IfCb->IfInfo->RouteTable[Index].GatewayAddress.Addr[1],
757 (UINTN)IfCb->IfInfo->RouteTable[Index].GatewayAddress.Addr[2],
758 (UINTN)IfCb->IfInfo->RouteTable[Index].GatewayAddress.Addr[3]
1296 if (IfCb->IfInfo != NULL) {
1298 FreePool (IfCb->IfInfo);