Commit Graph

202 Commits

Author SHA1 Message Date
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
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
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
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
Tom Henderson
4d1387cac0 network: (merges !424) Handle additional SimpleNetDevice review comments 2020-09-27 14:18:29 -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
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
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
Tommaso Pecorella
963d21b656 network: implement missing Ipv6Address::IsInitialized 2020-06-02 21:32:30 +00:00
Tom Henderson
302a462463 network: (fixes #216) Correct the return value for PacketSocket::SendTo () 2020-05-31 18:43:04 -07:00
Steven Smith
3a15ad78b8 core: Add test suite support for running examples as tests with comparison of output for regression testing 2020-05-26 21:42:16 +00:00
Jared Dulmage
1a4caf72b9 (internet): Refactor Ipv4L3Protocol::Send to fragment broadcast packets 2020-05-12 11:43:51 +02:00
Tommaso Pecorella
c85e6bf1d8 (network): Remove deprecated Ipv6Address::IsAllHostMulticast () 2020-05-11 20:32:54 +00:00
Peter Barnes
1d47a14c14 Tag uses of NS_DEPRECATED by release 2020-05-11 20:12:51 +00:00
Stefano Avallone
5fc00356cf network: Move MaxSize attribute from QueueBase to derived classes 2020-03-02 16:34:44 +01:00
Tommaso Pecorella
8b91e2fbe9 Deprecate IsEqual for Ipv[4,6]Address, Ipv6Prefix, and Ipv4Mask 2020-02-15 19:22:05 +01:00
Tommaso Pecorella
808afb7ada Simplifies Ipv6Prefix print function (revert to old behaviour) 2020-02-11 11:47:54 +01:00
Tommaso Pecorella
a74fdfce51 Fix Ipv6Prefix length calc and add explicit prefix length constructors 2020-02-11 11:39:44 +01:00
Tommaso Pecorella
815bacee25 network: Add multicast / broadcast to Mac16Address 2020-01-16 02:04:25 +01:00
Tommaso Pecorella
876372b764 Add Ipv6Address::MakeAutoconfigured[LinkLocal]Address 2019-12-01 14:12:54 +01:00
Tommaso Pecorella
413b0a42f1 network: Ipv6Address should invert the Mac48 U/L bit, not always set it. 2019-11-30 20:48:56 +01:00
Steven Smith
1b4a0c1967 Invoke sent trace callback after send; fixed issue with dropping last send trace callback 2019-10-08 11:55:06 -07:00
Stefano Avallone
dc074293d5 network: Rename Queue methods to allow range based for loops 2019-05-11 18:47:14 +02:00
Stefano Avallone
b3e470c64f traffic-control: Make NetDeviceQueueInterface independent of Queue 2018-12-03 11:04:49 +01:00
Tom Henderson
e48d750b34 network: Clarify some Queue documentation 2018-10-02 16:39:28 -07:00
Stefano Avallone
1abd8331b8 traffic-control: the NetDeviceQueueInterface object is created by NetDevice helpers 2018-09-18 15:50:02 +02:00
Sébastien Deronne
5f82de724d wifi: Add support for 802.11ax radiotap 2018-08-07 12:43:45 +02:00
Sébastien Deronne
66b181107e network: Cleanup unused RadiotapHeader functions 2018-08-07 12:43:18 +02:00
Alexander Krotov
00bb6fe7f6 Spellcheck 2018-06-27 10:50:27 +03: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
Stefano Avallone
23c7939435 network: Remove deprecated Queue attributes 2018-05-24 23:35:46 +02:00
Stefano Avallone
949a7fb682 traffic-control: Add a Hash method to QueueDiscItem 2018-05-24 00:33:23 +02:00
Stefano Avallone
69a4a84e4c Python bindings do not like strongly typed enums apparently 2018-03-03 12:24:02 +01:00
Stefano Avallone
7d776669cd network: Add a MaxSize attribute to Queue 2018-03-03 10:54:15 +01:00