Mathieu Lacage
|
dca9b98db2
|
improve error reporting in case of assert failures.
|
2010-07-01 12:38:06 +02:00 |
|
Josh Pelkey
|
06018583d3
|
change casts to c++ style
|
2010-05-06 14:55:16 -04:00 |
|
Mathieu Lacage
|
c3256d72c6
|
optimized iperf
|
2010-03-20 21:57:51 +01:00 |
|
Mathieu Lacage
|
779c33833d
|
another iperf optimization
|
2010-03-19 14:15:19 +01:00 |
|
Mathieu Lacage
|
65a88bfab3
|
inline to optimized iperf
|
2010-03-16 19:25:56 +01:00 |
|
Josh Pelkey
|
5afc6bd374
|
Merge distributed simulation code
|
2010-03-08 21:07:31 -05:00 |
|
Mathieu Lacage
|
4811680d2a
|
avoid copying bytes one after the other.
|
2010-02-01 08:28:11 +01:00 |
|
Mathieu Lacage
|
36c8b44093
|
don't call ostream::write too often.
|
2010-01-31 19:18:38 +01:00 |
|
Mathieu Lacage
|
63b0bbc0bd
|
get rid of un-needed #ifdef
|
2009-12-09 10:38:23 +01:00 |
|
Pavel Boyko
|
b71856629c
|
buffer test suite ported
|
2009-10-01 13:23:45 +04:00 |
|
Mathieu Lacage
|
f60e34c899
|
allow --check --valgrind to pass again
|
2009-09-26 16:55:06 +02:00 |
|
Nicola Baldo
|
0372fed519
|
bug 639: Buffer::CopyData is buggy.
|
2009-08-13 09:36:16 +02:00 |
|
Mathieu Lacage
|
d0ae1f4850
|
avoid extra memory allocations when using PcapWriter
|
2009-06-08 16:43:21 +02:00 |
|
Adrian S.-W. Tam
|
2fba7f868e
|
test and fix Buffer::Iterator::WriteHtolsbU64, Buffer::Iterator::ReadU64 , Buffer::Iterator::ReadLsbtohU64
|
2009-05-07 09:13:06 +02:00 |
|
Mathieu Lacage
|
731a76246f
|
bug 247: tcp checksum crashes when enabled.
|
2008-07-10 15:58:24 -07:00 |
|
Sebastien Vincent
|
75fab6d1b0
|
bug 236: add optional support for tcp and udp checksum.
|
2008-07-01 10:52:11 -07:00 |
|
Mathieu Lacage
|
16d1d635a0
|
new Packet testcases, bug fix.
|
2008-05-29 12:13:42 -07:00 |
|
Tom Henderson
|
b851cc5b0b
|
Undo changeset 3163 (breaks multicast)
|
2008-05-28 22:06:14 -07:00 |
|
Mathieu Lacage
|
45793c3a02
|
fix new packet bug
|
2008-05-28 10:47:14 -07:00 |
|
Mathieu Lacage
|
31870b3bc0
|
more logging code
|
2008-05-28 10:11:08 -07:00 |
|
Mathieu Lacage
|
16018e8d7e
|
add logging
|
2008-05-28 08:51:27 -07:00 |
|
Mathieu Lacage
|
1a990a1877
|
bug 179: Packet fragmentation bug
|
2008-05-15 09:49:04 -07:00 |
|
Mathieu Lacage
|
2d581766fd
|
a new tag implementation: Mtag
|
2008-04-24 14:52:59 -07:00 |
|
Mathieu Lacage
|
4a78ce68d1
|
add adjustment report to overloaded Buffer::AddAtEnd method
|
2008-04-23 09:11:55 -07:00 |
|
Mathieu Lacage
|
ad54b2ce62
|
make the code more consistent across AddAtStart and AddAtEnd
|
2008-04-23 09:05:18 -07:00 |
|
Mathieu Lacage
|
f79e7581b6
|
report the adjustment delta in Buffer::AddAtEnd and Buffer::AddAtStart.
|
2008-04-23 08:54:29 -07:00 |
|
Mathieu Lacage
|
aeffbb31d7
|
kill dead code
|
2008-04-23 08:35:59 -07:00 |
|
Mathieu Lacage
|
63d6b14d45
|
optimize case where fake payload is fragmented and re-assembled.
|
2008-04-22 14:35:42 -07:00 |
|
Mathieu Lacage
|
815f3721b7
|
move Packet::AddAtEnd implementation to the Buffer code.
|
2008-04-22 14:18:33 -07:00 |
|
Mathieu Lacage
|
0dab5235c9
|
kill unused code
|
2008-04-22 13:54:05 -07:00 |
|
Mathieu Lacage
|
ff4dfc3009
|
add Htolsb and Lsbtoh write/read methods
|
2008-03-28 18:45:10 -07:00 |
|
Craig Dowell
|
90b02a4f6c
|
checkpoint debug to log
|
2007-09-13 17:47:42 -07:00 |
|
Mathieu Lacage
|
eb05af8e74
|
add 'internal' documentation, cleanup a bit
|
2007-09-12 11:16:18 +02:00 |
|
Mathieu Lacage
|
6969cf239a
|
optimize Iterator::ReadU8
|
2007-09-11 15:06:27 +02:00 |
|
Mathieu Lacage
|
2b3b68605e
|
optimize Buffer::WriteU8 variants
|
2007-09-11 14:56:10 +02:00 |
|
Mathieu Lacage
|
42e6c413b6
|
optimize Buffer::WriteU8
|
2007-09-11 14:10:02 +02:00 |
|
Mathieu Lacage
|
4e75362d4b
|
move around Iterator code
|
2007-09-11 13:53:39 +02:00 |
|
Mathieu Lacage
|
9bbfa99b4c
|
print some statistics about free list efficiency
|
2007-09-11 13:47:17 +02:00 |
|
Mathieu Lacage
|
ca342d8de2
|
fix buggy assert
|
2007-09-10 18:49:00 +02:00 |
|
Mathieu Lacage
|
0c2dd78f3b
|
update carefully m_maxZeroAreaSize and update correctly m_end and m_zeroAreaEnd in RemoveAtStart
|
2007-09-10 18:43:29 +02:00 |
|
Mathieu Lacage
|
3c81d0423e
|
it is possible to zeroAreaStart to be bigger than the data buffer size
|
2007-09-10 17:55:39 +02:00 |
|
Mathieu Lacage
|
3fcc420e08
|
CreateFullCopy: the data area at the end of the buffer starts at m_zeroAreaStart. AddAtStart: the assert should be used only when the optimization is enabled.
|
2007-09-10 17:43:33 +02:00 |
|
Mathieu Lacage
|
65c099c02a
|
max zero area start can be bigger than m_end if data is removed from end of buffer
|
2007-09-10 16:57:25 +02:00 |
|
Mathieu Lacage
|
c197a4a62c
|
add state checking and fix Buffer::CreateFullCopy
|
2007-09-10 16:55:26 +02:00 |
|
Mathieu Lacage
|
e96365a4bc
|
rewrite the buffer code extensively
|
2007-09-10 16:45:52 +02:00 |
|
Mathieu Lacage
|
1e865deaaf
|
add Buffer::m_zeroAreaStart
|
2007-09-10 08:54:11 +02:00 |
|
Mathieu Lacage
|
a0e8906575
|
make Buffer::m_end really represent the end of the data rather than its size
|
2007-09-09 21:16:05 +02:00 |
|
Mathieu Lacage
|
f13dc2777d
|
Buffer::m_size -> Buffer::m_end
|
2007-09-09 10:38:22 +02:00 |
|
Mathieu Lacage
|
0f588a8d97
|
add testcase
|
2007-09-07 19:51:46 +02:00 |
|
Mathieu Lacage
|
6ce3443a34
|
add failing testcase
|
2007-09-07 19:50:40 +02:00 |
|