Searched refs:bufLength (Results 1 - 2 of 2) sorted by relevance

/gem5/src/dev/net/
H A Detherpkt.cc45 paramOut(cp, base + ".bufLength", bufLength);
55 if (optParamIn(cp, base + ".bufLength", chkpt_buf_length)) {
56 // If bufLength is in the checkpoint, make sure that the current buffer
59 assert(!data || chkpt_buf_length <= bufLength);
60 bufLength = chkpt_buf_length;
62 // If bufLength is not in the checkpoint, try to use the existing
65 bufLength = length;
67 assert(length <= bufLength);
69 data = new uint8_t[bufLength];
[all...]
H A Detherpkt.hh60 unsigned bufLength; member in class:EthPacketData
77 : data(nullptr), bufLength(0), length(0), simLength(0)
81 : data(new uint8_t[size]), bufLength(size), length(0), simLength(0)

Completed in 5 milliseconds