Commit Graph
38 Commits
Author SHA1 Message Date
Mathieu Lacage 9aa9cf35a3 a new tag implementation: Mtag 2008-04-24 14:52:59 -07:00
Mathieu Lacage 39a26e635e add adjustment report to overloaded Buffer::AddAtEnd method 2008-04-23 09:11:55 -07:00
Mathieu Lacage b01caee7f7 report the adjustment delta in Buffer::AddAtEnd and Buffer::AddAtStart. 2008-04-23 08:54:29 -07:00
Mathieu Lacage 9210c7670e move Packet::AddAtEnd implementation to the Buffer code. 2008-04-22 14:18:33 -07:00
Mathieu Lacage b99d54ea08 add Htolsb and Lsbtoh write/read methods 2008-03-28 18:45:10 -07:00
Mathieu Lacage 2d6ad3cd08 enable buffer heuristics 2007-09-12 11:22:05 +02:00
Mathieu Lacage 09a917d2e1 add 'internal' documentation, cleanup a bit 2007-09-12 11:16:18 +02:00
Mathieu Lacage 77b9e6aa85 fix non-optimized build 2007-09-12 10:11:57 +02:00
Mathieu Lacage f873d50d1f optimize Iterator::ReadU8 2007-09-11 15:06:27 +02:00
Mathieu Lacage 5a396fcca6 optimize Buffer::WriteU8 variants 2007-09-11 14:56:10 +02:00
Mathieu Lacage 02427aaa6b optimize Buffer::WriteU8 2007-09-11 14:10:02 +02:00
Mathieu Lacage b53bc02aef rewrite the buffer code extensively 2007-09-10 16:45:52 +02:00
Mathieu Lacage 4ff7d59d0c add Buffer::m_zeroAreaStart 2007-09-10 08:54:11 +02:00
Mathieu Lacage 016ef13b20 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 d0e9ce2bdf Buffer::m_size -> Buffer::m_end 2007-09-09 10:38:22 +02:00
Mathieu Lacage 93b705090a get rid of GetIndex 2007-09-07 19:47:06 +02:00
Mathieu Lacage 6ef554f198 re-implement all Iterator::Write and Iterator::Read methods 2007-09-07 19:39:47 +02:00
Mathieu Lacage 31a0d9eaf4 add a m_dataStart member in Buffer::Iterator 2007-09-07 18:45:00 +02:00
Mathieu Lacage ad03ea20ce move inline code from header to .cc file prior to rework of Buffer 2007-09-07 08:34:46 +02:00
Mathieu Lacage 8f72030a45 an euclidian distance is always positive 2007-09-06 11:18:35 +02:00
Mathieu Lacage 699425bf4b add Buffer::CreateFullCopy and make TransformInto private 2007-08-04 09:31:52 +02:00
Mathieu Lacage 9f3db63223 fix bug 57 2007-07-23 13:58:53 +02:00
Gustavo J. A. M. Carneiro 8b95476d1a Buffer::Iterator::Write (buffer, size) should have a uint32_t parameter, not
uint16_t, else integer overflow may occur.  Fixes bug #54.
2007-07-19 12:48:22 +01:00
Mathieu Lacage ca383dccdd add more asserts, make TransformIntoRealBuffer public for Packet class 2007-06-01 15:23:07 +02:00
Mathieu Lacage 4b9670ba18 add test and fix buggy assert 2007-06-01 12:42:29 +02:00
Mathieu Lacage b23ee44ad8 convert use of <cassert> to "ns3/assert.h" 2007-02-16 09:56:21 +01:00
Mathieu Lacage 881f3bc03c fix coding style 2006-11-01 13:11:30 +01:00
Mathieu Lacage d5ea4b5568 fix coding style 2006-10-21 11:35:02 +02:00
Mathieu Lacage 061e6cd99c change emacs mode to new NS3 elisp mode 2006-10-20 14:17:03 +02:00
Mathieu Lacage 30c4e8edaa fix coding style 2006-10-06 13:37:25 +02:00
Mathieu Lacage 89582dbb42 fix emacs tab mode (reported by george) 2006-10-02 14:34:53 +02:00
Mathieu Lacage ff83c45d4c replace pointers with references 2006-09-08 18:45:48 +02:00
Mathieu Lacage ba20acecc5 add comment on implementation location 2006-09-06 15:20:25 +02:00
Mathieu Lacage 3bc3407e31 change indent to be 4 spaces 2006-09-05 13:18:11 +02:00
Mathieu Lacage 35a8340aeb variable/method/function coding style update 2006-09-05 13:13:39 +02:00
Mathieu Lacage e342f33d50 member variables coding style change 2006-09-05 12:54:53 +02:00
Mathieu Lacage 25a2a37918 change yans namespace to ns3 2006-08-29 17:55:34 +02:00
Mathieu Lacage 8c52c2672e import from yans 2006-08-29 17:42:13 +02:00