Commit Graph

129 Commits

Author SHA1 Message Date
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
Stefano Avallone
8754a59cb6 network: Add a Remove method to the Queue base class 2016-05-19 00:14:29 +02:00
Stefano Avallone
500ef9f4a6 traffic-control: (fixes #2389) Internal queues need to notify their queue disc of packet drops 2016-05-11 12:10:02 +02:00
Tommaso Pecorella
5d288cb14c network: doxygen fixes 2016-04-07 01:50:23 +02:00
Pasquale Imputato
c6e5ecc191 network: The Queue base class holds mode, maxPackets and maxBytes
...so that all the subclasses have such attributes. This
allows queue discs to have attributes specifying the mode and
size of their queue(s) and to create queues using their
own attributes.

This commit is heavily inspired by Natale's queue rework patch:
https://codereview.appspot.com/270540044/
2016-03-08 10:45:36 -08:00
Pasquale Imputato
e02e86faa7 network: Move RED model, test and examples to the traffic-control module
This move prepares RED to become a queue disc. Building of RED
model, tests and examples is disabled until the conversion is done.
2016-03-08 10:45:27 -08:00
Stefano Avallone
df2fa95970 network: Make Queue store QueueItem objects
A QueueItem base class is introduced to represent the items stored
in a Queue. The base class only contains a Ptr<Packet>. Derived classes
can store additional information. DropTailQueue, RedQueue and CodelQueue,
along with their examples and testsuits, have been adapted. Objects using
such queues have been adapted too.
2016-03-08 10:44:03 -08:00
Chip Webb
336585b141 network: (fixes #2283) support nanosecond pcap resolution 2016-02-25 17:38:58 -08:00
Tom Goff
46fa78e7fa internet: (fixes #1835) Implement Socket::GetPeerName() 2016-02-24 13:14:51 -08:00
Lynne Salameh
b830a39aa6 network: (fixes #2293) RED queue estimator optimization 2016-02-11 21:39:49 +01:00
Tommaso Pecorella
dfe7129d43 network: Add IsLocalhost and IsAny to Ipv4Address 2016-02-07 22:24:16 +01:00
Tom Henderson
b9b03ec6bd network: fix to commit 1de7febc2653 unimplemented functions 2016-02-04 14:22:51 -08:00
Matt
75f98f9b27 network: (fixes #2286) Support for SLL header (de)serialization 2016-02-03 21:32:43 +01:00
Tom Henderson
491afdbe23 do not use output address parameter (possibly uninitialized) before assignment 2015-12-15 23:30:52 -08:00
Tom Henderson
c59aea3b31 avoid conversion operation on output Address parameter; a generic Address object may have been passed in 2015-12-14 17:16:43 -08:00
Tommaso Pecorella
8523d63420 IPv6 IsAll[Nodes,Routers]Multicast scope fixes 2015-11-21 18:08:59 +01:00
Tommaso Pecorella
509cd1b7df Deprecate Ipv6Address::IsAllHostsMulticast() 2015-11-21 17:59:27 +01:00
Tommaso Pecorella
c5f702a680 Bug 2176 - Building Ipv4 address from char* doesn't look reliable (cont.) 2015-11-07 23:45:53 +01:00
Sébastien Deronne
7cc8b40f88 Bug 2176 - Building IPv4 address from char* doesn't look reliable 2015-11-07 23:37:44 +01:00
Sébastien Deronne
04dfda290c add support for IEEE 802.11ac 2015-09-03 22:16:49 +02:00
Peter D. Barnes, Jr.
b1976b6366 Merge 2015-08-18 16:59:27 -07:00
Peter D. Barnes, Jr.
61f2fbd415 [doxygen] Revise TracedCallback function signatures for const. 2015-08-18 16:46:10 -07:00
Peter D. Barnes, Jr.
be83597fd4 Flush pcap files in debug builds. 2015-08-18 15:19:32 -07:00
Peter D. Barnes, Jr.
baddf3f749 Refactor TracedValue callback function signatures.
Move from template class TracedValue to namespace TracedValueCallback.

Rename from [type]Callback to just [type]:
TracedValue<double>::DoubleCallback  -> TracedValueCallback::Double
2015-07-29 13:56:55 -07:00
Peter D. Barnes, Jr.
69dd251a0f [Doxygen] Better documentation for NS_DEPRECATED 2015-07-10 18:13:14 -07:00
Matthieu Coudron
2f63edb779 Add SinkWithHeader to PcapHelper 2015-07-22 01:13:06 +02:00
Sébastien Deronne
0d5fc14442 add support for HT MCS and A-MPDU in radiotap headers 2015-07-08 23:44:17 +02:00
Tommaso Pecorella
d74e9fdf30 Enh. 2130 - Allow SimpleChannel to simulate hidden terminals. 2015-06-11 19:07:25 +02:00
Tommaso Pecorella
cbe83c6f5a Bug 2138 - SimpleNetDevice could send overlapped packets. 2015-06-11 11:40:53 +02:00
Tom Henderson
8df0d04bbb add missing copyrights 2015-06-10 07:52:23 -07:00
Peter D. Barnes, Jr.
d67ced0392 Fix parents, group names, and missing constructors in GetTypeId definitions. 2015-06-09 12:59:59 -07:00
Peter D. Barnes, Jr.
a2e0ed145a Missing mode lines. 2015-06-08 16:37:40 -07:00
Tom Henderson
ab88e121ca fix attribute accessor for DropTailQueue Mode attribute (reported by Chip Webb) 2015-06-08 13:46:18 -07:00
Peter D. Barnes, Jr.
5545a7f224 Remove extraneous ' ' around :: 2015-02-04 13:40:57 -08:00
Peter D. Barnes, Jr.
9f88bd50f0 On mismatch PcapFile::Diff reports packet number. 2015-02-04 12:35:17 -08:00
Tom Henderson
d8494dfb97 add missing namespace qualifier 2015-03-27 07:12:37 -07:00
Mohit Goyal
811962d3e0 SetGroupName for network module 2015-03-27 07:03:58 -07:00
Vedran Miletić
3edd12c191 Fix building with GCC 5 and subsequently clean up sgi-hashmap.h 2015-03-05 15:50:18 +01:00
Natale Patriciello
b27422fb2f Bug 2070 - Wrong report of Packets and Bytes stored in CoDeL 2015-03-01 12:08:36 +01:00
Tommaso Pecorella
0630f6dee9 Bug 1974 - CalculateTxTime should return a Time, not a double 2015-02-28 18:20:46 +01: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.
8de4b6ed1e [Doxygen] Clean up references to non-POD TracedValueCallbacks 2014-12-12 14:48:13 -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
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
Tommaso Pecorella
fcda743c44 [Doxygen] network module 2014-10-07 21:37:00 +02:00
Peter D. Barnes, Jr.
b2dc58dcb9 Use StringValue instead of PointerValue (CreateObject... in AddAttribute calls 2014-10-06 17:22:59 -07:00
Peter D. Barnes, Jr.
cc56e83767 TracedValue callback function signatures. 2014-10-02 21:17:48 -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