Lines Matching refs:Expected
256 INTN Expected;
260 Expected = Mtftp4GetNextBlockNum (&Instance->Blocks);
262 ASSERT (Expected >= 0);
269 if (Instance->Master && (Expected != BlockNum)) {
294 Expected = Mtftp4GetNextBlockNum (&Instance->Blocks);
296 if (Instance->Master || (Expected < 0)) {
297 if (Expected < 0) {
308 BlockNum = (UINT16) (Expected - 1);
488 INTN Expected;
496 Expected = Mtftp4GetNextBlockNum (&Instance->Blocks);
497 ASSERT (Expected != -1);
499 if (Instance->Master && (Expected != 1)) {
600 // Send an ACK to (Expected - 1) which is 0 for unicast download,
601 // or tell the server we want to receive the Expected block.
603 return Mtftp4RrqSendAck (Instance, (UINT16) (Expected - 1));