packet.hh (6768:c5401cb99aae) packet.hh (7006:77c9c4d5007d)
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;

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

585 reinitNacked()
586 {
587 assert(wasNacked());
588 cmd = origCmd;
589 assert(needsResponse());
590 setDest(Broadcast);
591 }
592
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;

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

585 reinitNacked()
586 {
587 assert(wasNacked());
588 cmd = origCmd;
589 assert(needsResponse());
590 setDest(Broadcast);
591 }
592
593 void
594 setSize(unsigned size)
595 {
596 assert(!flags.isSet(VALID_SIZE));
593
597
598 this->size = size;
599 flags.set(VALID_SIZE);
600 }
601
602
594 /**
595 * Set the data pointer to the following value that should not be
596 * freed.
597 */
598 template <typename T>
599 void
600 dataStatic(T *p)
601 {

--- 169 unchanged lines hidden ---
603 /**
604 * Set the data pointer to the following value that should not be
605 * freed.
606 */
607 template <typename T>
608 void
609 dataStatic(T *p)
610 {

--- 169 unchanged lines hidden ---