Lines Matching refs:Cursor
933 UINT8 *Cursor; in Dhcp6SeekOption() local
939 Cursor = Buf; in Dhcp6SeekOption()
944 while (Cursor < Buf + SeekLen) { in Dhcp6SeekOption()
945 OpCode = ReadUnaligned16 ((UINT16 *) Cursor); in Dhcp6SeekOption()
947 Option = Cursor; in Dhcp6SeekOption()
950 DataLen = NTOHS (ReadUnaligned16 ((UINT16 *) (Cursor + 2))); in Dhcp6SeekOption()
951 Cursor += (DataLen + 4); in Dhcp6SeekOption()
976 UINT8 *Cursor; in Dhcp6SeekIaOption() local
986 Cursor = Buf; in Dhcp6SeekIaOption()
988 while (Cursor < Buf + SeekLen) { in Dhcp6SeekIaOption()
989 OpCode = ReadUnaligned16 ((UINT16 *) Cursor); in Dhcp6SeekIaOption()
990 IaId = ReadUnaligned32 ((UINT32 *) (Cursor + 4)); in Dhcp6SeekIaOption()
992 Option = Cursor; in Dhcp6SeekIaOption()
995 DataLen = NTOHS (ReadUnaligned16 ((UINT16 *) (Cursor + 2))); in Dhcp6SeekIaOption()
996 Cursor += (DataLen + 4); in Dhcp6SeekIaOption()
1050 UINT8 *Cursor; in Dhcp6ParseAddrOption() local
1087 Cursor = IaInnerOpt; in Dhcp6ParseAddrOption()
1090 while (Cursor < IaInnerOpt + IaInnerLen) { in Dhcp6ParseAddrOption()
1095 OpCode = ReadUnaligned16 ((UINT16 *) Cursor); in Dhcp6ParseAddrOption()
1096 PreferredLt = NTOHL (ReadUnaligned32 ((UINT32 *) (Cursor + 20))); in Dhcp6ParseAddrOption()
1097 ValidLt = NTOHL (ReadUnaligned32 ((UINT32 *) (Cursor + 24))); in Dhcp6ParseAddrOption()
1098 IaAddr = (EFI_DHCP6_IA_ADDRESS *) (Cursor + 4); in Dhcp6ParseAddrOption()
1109 DataLen = NTOHS (ReadUnaligned16 ((UINT16 *) (Cursor + 2))); in Dhcp6ParseAddrOption()
1110 Cursor += (DataLen + 4); in Dhcp6ParseAddrOption()