Searched hist:10251 (Results 1 - 2 of 2) sorted by relevance

/gem5/src/base/
H A Dinet.hhdiff 10251:878f2f30b12d Wed Jul 02 13:19:00 EDT 2014 Anthony Gutierrez <atgutier@umich.edu> base: fix some bugs in EthAddr

per the IEEE 802 spec:
1) fixed broadcast() to ensure that all bytes are equal to 0xff.
2) fixed unicast() to ensure that bit 0 of the first byte is equal to 0
3) fixed multicast() to ensure that bit 0 of the first byte is equal to 1, and
that it is not a broadcast.

also the constructors in EthAddr are fixed so that all bytes of data are
initialized.
H A Dinet.ccdiff 10251:878f2f30b12d Wed Jul 02 13:19:00 EDT 2014 Anthony Gutierrez <atgutier@umich.edu> base: fix some bugs in EthAddr

per the IEEE 802 spec:
1) fixed broadcast() to ensure that all bytes are equal to 0xff.
2) fixed unicast() to ensure that bit 0 of the first byte is equal to 0
3) fixed multicast() to ensure that bit 0 of the first byte is equal to 1, and
that it is not a broadcast.

also the constructors in EthAddr are fixed so that all bytes of data are
initialized.

Completed in 16 milliseconds