Alexander Krotov
7fb26bfe59
Make ByteTagList offsets relative to packet start
2015-07-26 19:44:32 +03:00
Alexander Krotov
19488ad7aa
Factor ByteTagList::Adjust out of ByteTagList::AddAt{Start,End}
2015-08-08 23:33:55 +03:00
Alexander Krotov
0afb4dcc80
Optimize ByteTagList adjustment
2015-08-08 23:13:40 +03:00
Alexander Krotov
35f4c249d4
Optimize ByteTagList by tracking byte tags boundaries
...
This patch restores performance to the level nearly equal to that before
recent bugfixing, as was checked by running utils/bench-packets.
2015-07-26 19:44:33 +03:00
Alexander Krotov
e5697f0c2c
Remove ByteTagList::IsDirty{Start,End}
...
These functions are only used once and do not save time. Both functions
iterate over the whole list just to prevent iterating over the whole list
if they return false. As traversing the list is required in any case,
these functions can be removed.
2015-07-26 19:44:06 +03:00
Alexander Krotov
b62cf68711
Make Buffer::CreateFullCopy private
2015-08-02 19:26:37 +03:00
Alexander Krotov
6250c61bcf
Optimize Buffer::Iterator::CheckNoZero
2015-07-26 19:44:29 +03:00
Mathieu Lacage
fd74ac7616
remove un-needed return value
2015-08-05 15:20:10 -04:00
Mathieu Lacage
3ae948f663
ByteTagList::AddAtEnd/AddAtStart must be called unconditionally to ensure that newly-added bytes are not tagged when 1. Packet::AddByteTag, 2. Packet::RemoveHeader, 3. Packet.AddHEader
2015-08-05 15:11:19 -04:00
Tom Henderson
8df0d04bbb
add missing copyrights
2015-06-10 07:52:23 -07:00
Peter D. Barnes, Jr.
a2e0ed145a
Missing mode lines.
2015-06-08 16:37:40 -07:00
Mohit Goyal
811962d3e0
SetGroupName for network module
2015-03-27 07:03:58 -07:00
Tom Henderson
ffa4909b25
bug 2044: Buffer::Iterator::ReadNtohU16() and ReadNtohU32() not implemented correctly
2015-01-30 16:27:50 -08:00
Tom Henderson
2be7d2e686
Doxygen corrections for class Buffer
2015-01-30 16:06:55 -08:00
Peter D. Barnes, Jr.
40eb448c95
[Doxygen] Remove extraneous docs for derivatives of AttributeValue.
2015-01-16 12:12:46 -08:00
Peter D. Barnes, Jr.
692bf472e6
TracedCallback function signatures, the rest.
2014-12-04 10:02:01 -08:00
Peter D. Barnes, Jr.
4cb9c7b916
TracedCallback function signatures, the simple ones.
...
These are TracedCallback function signatures for traces sources
using a single argument.
2014-10-03 02:24:42 -07:00
Natale Patriciello
37ed3b545b
ToString method to Packet
2014-11-14 15:27:37 -08:00
Peter D. Barnes, Jr.
ee641c723b
[Doxygen] Remove inappropriate uses of @internal
2014-11-03 12:33:13 -08:00
Peter D. Barnes, Jr.
cccfc167dd
[Doxygen] Attribute implementations.
2014-10-21 16:14:35 -07:00
Tom Henderson
37bab66bfe
remove deprecated Packet::PeekData()
2014-10-14 09:36:10 -07:00
Peter D. Barnes, Jr.
c10b5622a0
[Doxygen] Minor fix-ups
2014-10-08 11:59:31 -07:00
Peter D. Barnes, Jr.
bfdb6ef10a
[Bug 1551] Redux: NS_LOG_COMPONENT_DEFINE inside or outside of ns3 namespace?
2014-09-26 15:51:00 -07:00
Peter D. Barnes, Jr.
3611bd11a5
[Bug 1551] NS_LOG_COMPONENT_DEFINE inside or outside of ns3 namespace?
2014-09-26 12:44:13 -07:00
Tom Henderson
4394d1d4ba
clarify Header::Deserialize documentation
2014-09-12 17:49:06 -07:00
Tommaso Pecorella
077579b060
Bug 1824 - L4 protocol sockets should support BindToNetDevice over IPv6
2014-09-12 20:47:17 +02:00
Tommaso Pecorella
8225948ffd
[Doxygen] NetDevice small fix
2014-08-25 09:34:17 +02:00
Tommaso Pecorella
fe90df6c23
Bug 1960 - Wrong information on index range, about Node::GetDevice
2014-08-03 15:09:19 +02:00
Peter D. Barnes, Jr.
a43d770825
[Bug 1868] Optimized builds are sensitive to -fstrict-overflow
2014-04-30 21:32:57 -07:00
Andrey Mazo
9afed6b932
make various implementation-specific tables static const.
...
This should prevent possible name collisions, clean up ns3 namespace a little
and allow compiler to place them in a sharable read-only data section.
Also make various global variables static not to pollute ns3 namespace and to
force use of Attribute framework where appropriate.
2014-03-26 14:51:14 +04:00
Tom Henderson
701d152d37
remove unnecessary forward declaration
2014-03-13 06:37:41 -07:00
Tommaso Pecorella
19db0e31cb
[Doxygen] network module
2014-03-13 09:29:47 +01:00
Peter D. Barnes, Jr.
cd3da7143d
[doxygen] Revert r10410, r10411, r10412
2014-03-05 17:06:59 -08:00
Tommaso Pecorella
4f03cb0b56
Bug 1870 - Remove unnecessary AsInt functions
2014-03-08 17:43:28 +01:00
Alexander Afanasyev
7daf507a80
Bug 1294 - New PeekU8 () and Read (Buffer::Iterator start, uint32_t size) methods in Buffer::Iterator
2014-02-21 09:12:38 +01:00
Vedran Miletić
f1f6d27091
Fix doxygen errors in src/network, excluding 'is not documented' missing documentation
2013-12-02 23:02:39 +01:00
Tommaso Pecorella
dd20c79584
Bug 938 - missing Doxygen in ns-3 (internet model + helper)
2013-11-20 20:15:02 +01:00
Brian Swenson
4c879da5c3
Network Doxygen warnings start
2013-11-15 16:20:58 -05:00
Peter D. Barnes, Jr.
5a2488e6db
[doxygen] Suppress "warning: Member NS_LOG_COMPONENT_DEFINE is not documented"
2013-11-14 16:58:56 -08:00
Peter D. Barnes, Jr.
d75ff3559e
doxygen] Suppress "warning: Member NS_OBJECT_ENSURE_REGISTERED is not documented"
2013-11-14 16:58:28 -08:00
Peter D. Barnes, Jr.
578f3a1f04
Fix doxygen module references
2013-11-14 16:52:11 -08:00
Tommaso Pecorella
2fa1712985
Doxygen fixes to Topology-read, Ipv6, and tcp-socket
2013-11-14 22:43:53 +01:00
Tom Henderson
5c26030558
bug 1771: silence compiler warning about maybe-uninitialized data
2013-10-28 22:17:57 -07:00
Peter D. Barnes, Jr.
61903c64b2
Link to RFC num with \RFC{num}
2013-08-15 13:04:01 -07:00
Peter D. Barnes, Jr.
8695d856a1
Link to bug num in bug database with \bugid{num}
2013-08-15 12:01:57 -07:00
Peter D. Barnes, Jr.
3c12e54cb1
[Doxygen] use \internal
2013-07-24 16:31:58 -07:00
Peter D. Barnes, Jr.
e3611c4078
Doxygenate todo's
2013-07-03 14:43:10 -07:00
Peter D. Barnes, Jr.
3e7b4c0636
Revert [Coverity] Logically dead code (DEADCODE)
...
NS_ASSERT vanishes in optimized builds, so return code check still needed.
2013-07-01 10:08:20 -07:00
Peter D. Barnes, Jr.
9d2bf09460
Backout changeset 581c9b2f52c842a06cd3692c1a043a64b85c0c36
2013-07-01 10:06:39 -07:00
Peter D. Barnes, Jr.
198d9f8ce9
Automated merge with file:///Users/barnes26/Code/netsim/ns3/repos/ns-3-dev
2013-06-26 17:32:03 -07:00