Eduardo Almeida
be07b6487a
Fix clang-tidy modernize-use-override warnings
2022-10-07 11:48:10 +00:00
Eduardo Almeida
6bb6383562
Fix clang-tidy modernize-redundant-void-arg warnings
2022-10-07 11:48:10 +00:00
Eduardo Almeida
3e39cb0724
Fix formatting of some files before clang-format application
2022-10-06 20:41:07 +00:00
Eduardo Almeida
820ad760b8
Fix clang-tidy readability-redundant-control-flow warnings
2022-09-29 20:06:57 +01:00
Peter D. Barnes, Jr
e461e54d5a
Update Ptr validity checks to new Ptr<>::operator bool
2022-08-18 08:59:30 -07:00
Tom Henderson
b6a5ee8151
Run utils/trim-trailing-whitespace.py on codebase
2022-06-05 21:01:11 -07:00
Eduardo Almeida
90c777a65b
Mark deleted constructors and operator= with delete keyword
2022-05-26 18:55:52 -07:00
Tommaso Pecorella
41992a8918
network: Simplify and trim down NixVector
2022-04-02 12:08:53 +02:00
Tommaso Pecorella
a08961be42
nix-vector-routing: ( fixes #567 ) Rebuild NixVector if topology changes
2022-04-02 11:57:03 +02:00
Eduardo Almeida
a2efceffb2
Simplify trivial bool statements
2021-11-04 14:19:29 -07:00
Alexander Krotov
ae87cd35f9
network: Move empty zero area to the end of buffer if needed
...
If the first buffer has empty zero area, it can
be moved to the end of the buffer and concatenated to the
zero area of the added buffer instead of falling back
to the slow path.
2021-09-13 10:29:49 -07:00
Gabriel Ferreira
bc42c61530
network: simplify CheckNoZero
2021-09-09 16:46:34 -07:00
Tommaso Pecorella
1a095cda5b
network: fix doxygen warnings
2021-05-01 04:13:49 +02:00
Steven Smith
df89d8fafd
network: (merges !413 ) Add serialization for byte and packet tags
2020-09-30 12:02:39 -07:00
Peter D. Barnes, Jr
da6e6b340f
docs: various fixes for broken links, removed AttributeValue types
2020-04-27 16:20:09 -07:00
Tom Henderson
b55086476c
network: Added API to be able to tag only some bytes
2019-04-25 14:47:01 +02:00
Stefano Avallone
a47ebd9ea5
network: ( fixes #2948 ) Allow full range of socket priority values
2018-08-15 15:57:48 -07:00
Sébastien Deronne
16a2d19fee
network: ( fixes #2948 ) Allow priority settings up to value 7
2018-08-07 12:45:56 +02:00
Alexander Krotov
7a4d96b180
network: do not CreateFullCopy of the source buffer in Buffer::AddAtEnd
2018-08-03 13:41:11 +03:00
Alexander Krotov
776a0bd3ad
network: optimize TagBuffer::Read
2018-08-03 13:33:09 +03:00
Alexander Krotov
00bb6fe7f6
Spellcheck
2018-06-27 10:50:27 +03:00
Budiarto Herman
372b008e5d
applications: Add 3GPP HTTP model
2018-06-08 10:55:56 -07:00
Sébastien Deronne
82173d9127
network: Change GetNDevices returned type in channel class and all subclasses to properly fix Visual Studio warnings
2018-06-01 00:07:24 +02:00
Fernando J. Cintrón
e248097d85
applications: Add trace sources to traffic generators
2018-05-29 20:17:42 -07:00
Sébastien Deronne
b062d4a43b
Remove double header inclusions
2018-03-08 21:30:31 +01:00
Tom Henderson
7ec5a52ca5
network: Update documentation for Header::Deserialize ()
2017-10-27 18:30:25 -07:00
Tom Henderson
fe84f98401
enable deserialization of variable-sized headers and trailers
2017-05-30 07:25:24 -07:00
Tommaso Pecorella
866b40b202
internet: ( fixes #2762 ) BindToNetDevice behaviour is not coherent with Linux
2017-07-12 19:54:20 +02:00
Peter D. Barnes, Jr.
c4e725e55e
bug 2736: revert from r11086
2017-06-01 16:27:30 -07:00
Tommaso Pecorella
4bcec242c5
network: doxygen updates
2017-05-28 19:46:38 +02:00
Tommaso Pecorella
5e19bd4b23
network: doxygen updates (partial)
2017-05-22 01:22:58 +02:00
Stefano Avallone
40abc6507a
network: Add NetDeviceQueue methods to implement flow control
2017-03-08 18:01:43 +01:00
Stefano Avallone
6fef34be47
network: Convert Queue into a template class
2017-03-08 18:01:29 +01:00
Tommaso Pecorella
5de3f7525c
network: fix static code analysys warnings (thanks to Natale Patriciello)
2017-02-16 22:57:45 +01:00
Alexander Krotov
918dbb5003
network: use numeric_limits for OFFSET_MAX instead of hardcoded constant
2016-11-28 15:41:37 +03:00
Peter D. Barnes, Jr.
88b9ea15bb
network: ( fixes #2221 ) Remove size constraint of Tag objects
2016-11-27 07:49:26 -08:00
Piyush Aggarwal
86c24f29bd
doc: fix sphinx and doxygen build errors
2016-09-29 00:04:27 -04:00
Tommaso Pecorella
787430613e
network: (workaround for #2505 ) Printing a packet can raise an assert
2016-09-28 02:13:32 +02:00
Tom Henderson
f46c7cb9ce
fix typo
2016-09-16 20:57:12 -07:00
Alexander Krotov
4b466d7cd0
Do not return destroyed Buffer iterator from ItemIterator::Next
2015-08-31 17:10:52 +03:00
Tom Henderson
33e9f590d5
network: ( fixes #2069 ) Avoid integer overflow in ByteTagList
...
Fix is due to xnuvtv@imgof.com
2016-09-01 18:07:05 -07:00
Pasquale Imputato
a048b009b2
network: Introduce Byte Queue Limits (BQL)
2016-08-08 00:21:03 +02:00
Stefano Avallone
dd432b8131
network: Get rid of the NetDeviceQueue::HasWakeCallbackSet method
2016-07-22 18:21:39 +02:00
Tommaso Pecorella
686a9a7852
Minor doxygen fixes
2016-07-14 22:19:36 +02:00
Stefano Avallone
5459ab04b7
various: Rename NetDeviceQueueInterface::GetTxQueuesN to match ns-3 style
2016-07-14 15:59:56 +02:00
Stefano Avallone
47128c4269
traffic-control: the select queue callback is stored by the TC layer
2016-07-14 15:59:55 +02:00
Stefano Avallone
d693db5c11
network: Add a GetUint8Value method to the QueueItem class
2016-07-14 15:59:55 +02:00
Stefano Avallone
a000561495
network: Socket::IsManualIpTos can be replaced by Socket::GetIpTos
2016-07-14 15:59:55 +02:00
Stefano Avallone
83ed5e7bb6
network: Support socket priorities
2016-07-14 15:59:55 +02:00
Tommaso Pecorella
afa5de4a78
internet: ( fixes #231 ) Remove SocketAddressTag
...
SocketAddressTag was a long-standing API glitch. It was used to replicate the RecvFrom effect (i.e., to know the source address of packet) without calling RecvFrom.
This option is more harmful than useful, because in case of tunnels the new tag needs to replace the old one. Moreover, there is no real need to create a new API when there is a perfectly working one (i.e., RecvFrom).
2016-06-02 01:16:39 +02:00