packet.hh (6216:2f4020838149) packet.hh (6223:3623155c0e95)
1/*
2 * Copyright (c) 2006 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 523 unchanged lines hidden (view full) ---

532 */
533 void
534 reinitFromRequest()
535 {
536 assert(req->hasPaddr());
537 flags = 0;
538 addr = req->getPaddr();
539 size = req->getSize();
1/*
2 * Copyright (c) 2006 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 523 unchanged lines hidden (view full) ---

532 */
533 void
534 reinitFromRequest()
535 {
536 assert(req->hasPaddr());
537 flags = 0;
538 addr = req->getPaddr();
539 size = req->getSize();
540 time = req->getTime();
540 time = req->time();
541
542 flags.set(VALID_ADDR|VALID_SIZE);
543 deleteData();
544 }
545
546 /**
547 * Take a request packet and modify it in place to be suitable for
548 * returning as a response to that request. The source and

--- 220 unchanged lines hidden ---
541
542 flags.set(VALID_ADDR|VALID_SIZE);
543 deleteData();
544 }
545
546 /**
547 * Take a request packet and modify it in place to be suitable for
548 * returning as a response to that request. The source and

--- 220 unchanged lines hidden ---