Eduardo Almeida
a2efceffb2
Simplify trivial bool statements
2021-11-04 14:19:29 -07:00
Tom Henderson
d8ed317f2d
network: Fix Doxygen error
2021-09-18 11:21:15 -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
Tom Henderson
a58ea7c633
core,network,wifi,wave: Update Python bindings
2021-07-31 09:49:27 -07:00
Tom Henderson
73c106911d
network: Remove deprecated methods
2021-07-31 07:48:30 -07:00
Stefano Avallone
2492614707
Variable length arrays are not supported by C++
2021-07-22 07:29:42 +00:00
Tom Henderson
667715cac4
bindings: Rescan all APIs
2021-06-24 16:35:40 -07:00
Tommaso Pecorella
4aae49c568
network: Bit serialization and deserialization
2021-06-16 08:10:52 +00:00
Tom Henderson
10ef08140a
network: ( fixes #404 ) Use Queue::Dispose() for SimpleNetDevice::DoDispose()
2021-05-22 13:43:29 -07:00
Tom Henderson
f34d4c5025
network: Add Queue::DoDispose method
2021-05-22 13:41:33 -07:00
Tommaso Pecorella
30bf1d3f76
network: add Ipv6Prefix to Ipv6Address conversion
2021-05-13 15:11:03 +00:00
Tommaso Pecorella
324644f86e
doxygen: fix warnings in network, mobility
2021-05-02 21:42:55 +02:00
Tommaso Pecorella
1a095cda5b
network: fix doxygen warnings
2021-05-01 04:13:49 +02:00
Alessandro Aimi
4404c451e4
network: ( fixes #393 ) Add support for DLT_LORATAP DataLinkType to Pcap files
2021-04-30 15:32:20 +00:00
Ameya Deshpande
705ad52930
network: ( fixes #372 ) Remove std::unary_function
...
Remove `std::unary_function` usage from `Ipv*AddressHash`.
Use std::hash instead of class Hash (in ns-3). This is because
speed is more important than cryptographic robustness.
Signed-off-by: Ameya Deshpande <ameyanrd@outlook.com >
2021-04-06 13:38:17 +00:00
Tommaso Pecorella
3f10d20f39
internet: ( fixes #376 ) remove sgi::hash_map
2021-04-04 01:36:26 +02:00
Chappidi Yoga Satwik
f5c7f86e2e
network: (merges !522 ) DataRate operators for more types
...
* Add, subtract, multiply an integer to DataRate object
* Add, subtract between DataRate objects themselves
* Multiplication between double value and DataRate
* Documentation and test improvements
2021-03-12 20:36:58 +00:00
Stefano Avallone
999b2ac02f
network: Queue::DoEnqueue can return an iterator pointing to the inserted item
2021-01-20 12:27:16 +01:00
Tommaso Pecorella
314bc4f691
network: IPv6Address optimizations
2021-01-16 04:20:38 +00:00
Tommaso Pecorella
a436ba44e4
network: add IPv6 SLAAC from prefix
2021-01-15 23:01:38 +00:00
Tom Henderson
95ab2bef3a
network: Initialize class members
2021-01-02 15:05:24 -08:00
Tommaso Pecorella
4003c0a300
network: fix memory leak in a test (2)
...
Bugs are like cherries: they come in pairs.
2021-01-01 19:15:22 +00:00
Tommaso Pecorella
038fcfede3
network: fix memory leak in a test
2021-01-01 17:33:37 +00:00
Tom Henderson
4a661dc399
bindings: Rescan all APIs
2020-12-30 14:21:24 -08:00
Tom Henderson
6002d927bc
bindings: Rescan all APIs
2020-12-21 21:18:58 -08:00
Tom Henderson
9b0e632ac1
network: Rescan APIs
2020-11-18 19:24:48 -08:00
Sébastien Deronne
77beef48af
network: Add references for radiotap headers
2020-11-15 20:23:10 +01:00
Sébastien Deronne
ed83b8fa3b
wifi: Add initial support for HE MU and HE MU Other User fields in radiotap header
2020-11-15 18:37:13 +00:00
Sébastien Deronne
2e22c3da6b
wifi: Add PCAP support for HE MU and HE TB PPDUs
2020-11-15 18:37:13 +00:00
Tom Henderson
9bfa3bd724
bindings: Rescan all APIs
2020-10-03 14:21:45 -07:00
Tom Henderson
7caff4e9f2
network: Update documentation regarding the removal of tag size limits
2020-10-03 07:34:49 -07:00
Greg Steinbrecher
a364863e1e
network: Add test cases for DataRate rounding issues (issue #264 )
2020-10-02 13:21:00 -07:00
Greg Steinbrecher
e8fc528e34
network: ( fixes #264 , merges !432 ) Rounding behavior of DataRate methods
...
Improve rounding behavior of CalculateBytesTxTime and CalculateBitsTxTime
2020-10-02 13:19:36 -07:00
Steven Smith
df89d8fafd
network: (merges !413 ) Add serialization for byte and packet tags
2020-09-30 12:02:39 -07:00
Tom Henderson
4d1387cac0
network: (merges !424 ) Handle additional SimpleNetDevice review comments
2020-09-27 14:18:29 -07:00
Greg Steinbrecher
bf42996137
network: (merges !424 ) Align error-model-test-suite with previous commit
...
Default size of a DropTailQueue is "100p" and error-model-test-suite calls
Send directly (rather than relying on flow control). Previously, the
rest of the packets would be sent instantly, but previous commit fixes
that bug, so this commit makes the buffer large enough to hold all packets
2020-09-27 12:40:20 -07:00
Greg Steinbrecher
a77e4d39b2
network: (merges !424 ) Fix instant send in SimpleNetDevice for empty queue
...
Also consolidate scheduling logic into ScheduleTransmit() rather than
repeating in both SendFrom() and TransmitComplete()
2020-09-27 12:40:10 -07:00
Greg Steinbrecher
4c99303b48
network: ( fixes !409 ) Fix double send in SimpleNetDevice when queue length is 1 packet
...
Remove a spurious check for queue occupancy in SimpleDevice::TransmitComplete that could lead to double sends. See MR !409 for details.
2020-09-23 16:37:49 -07:00
Tom Henderson
d1d0423f4c
network: Rescan APIs
2020-09-18 09:20:32 -07:00
Tommaso Pecorella
20644db04f
network: add LollipopCounter - a sequence number counter type
2020-09-18 00:25:30 +00:00
Pasquale Imputato
ff8083ca2e
fd-net-device: add support for emulation in netmap mode
2020-09-16 10:42:24 -07:00
Sébastien Deronne
7420aaf721
wifi: Fix radiotap header for received 802.11ax PPDUs
2020-09-07 21:09:29 +02:00
Tom Henderson
d32d864e09
network: Document sockets API Send/SendTo usage
2020-09-05 13:21:05 -07:00
Tom Henderson
8c6fb7d420
bindings: Rescan all APIs
2020-09-05 13:04:28 -07:00
Jordan Dorham
27bebf4c6d
time arithmetic implement in network
2020-09-03 08:12:22 +00:00
Deepak Kumaraswamy
0cf9597393
network: Add signature definition for DataRate TracedValue
2020-08-30 20:47:51 -07:00
Tom Henderson
8a60bdff13
network, internet: Clarify QueueDiscItem::Mark if item already marked
2020-06-29 16:23:14 -07:00
Steven Smith
dded72e02e
build: ( fixes #217 ) Guard compilation of example used as a test
...
* Added documentation to ExampleAsTestSuite on the need for this guarding
* Updated with Peter's patch for examples-as-test placeholders in wscripts
2020-06-08 09:35:50 -07:00
Tom Henderson
5eea3c0270
bindings: Rescan all APIs
2020-06-07 11:38:26 -07:00