Commit Graph

423 Commits

Author SHA1 Message Date
Tommaso Pecorella
d2e5208b7d Doygen: minor typos 2016-07-16 23:28:34 +02:00
Tommaso Pecorella
a4904416c3 internet: fix forward-declarations 2016-07-16 23:37:44 +02:00
Stefano Avallone
1ec310b39e traffic-control: PfifoFastQueueDisc uses priority to map packets to bands 2016-07-14 15:59:56 +02:00
Stefano Avallone
d693db5c11 network: Add a GetUint8Value method to the QueueItem class 2016-07-14 15:59:55 +02:00
Stefano Avallone
3376f65592 internet: Allowing Ipv4L3Protocol to set a default TOS value makes no sense anymore 2016-07-14 15:59:55 +02:00
Stefano Avallone
83ed5e7bb6 network: Support socket priorities 2016-07-14 15:59:55 +02:00
Stefano Avallone
c8300ef811 internet: Add a tos field to InetSockAddress 2016-07-14 15:59:55 +02:00
Tommaso Pecorella
5528b342cb internet and other modules: doxygen and manual improvements 2016-07-14 10:56:33 +02:00
Natale Patriciello
1d91b7c21a tcp: Veno simplified 2016-07-04 15:15:48 +02:00
Natale Patriciello
cd29d3dea9 tcp: Vegas simplified 2016-07-04 15:04:59 +02:00
Stefano Avallone
a2e4d75c84 internet: (fixes #2440) SocketIpTosTag might be added twice if a packet is sent multiple times 2016-06-15 16:15:56 +02:00
Tommso Pecorella
70fc877f81 internet: (fixes #2438) Routing must not chain-process packets coming from a non-forwarding interface 2016-06-13 00:11:15 +02:00
Sébastien Deronne
aa4498a55c internet: (fixes clang) Fix compilation warnings 2016-06-10 21:45:37 +02:00
Anh Nguyen
609f07f047 tcp: added TCP Illinois 2016-06-09 12:31:28 +02:00
Anh Nguyen
5a63ddb268 tcp: added TCP YeAH 2016-06-09 12:18:15 +02:00
Natale Patriciello
41566e885d tcp: (fixes #2461) BIC should copy private members 2016-06-04 14:51:18 +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
Tommaso Pecorella
1865443417 Doxygen: some typos fixed. 2016-05-29 17:24:37 +02:00
Stefano Avallone
ab38c73c91 internet: (fixes #2425) UdpSocketImpl simplification 2016-05-28 01:07:41 +02:00
Tommaso Pecorella
710325128b internet: RIP[ng] remove dependency from SocketAddressTag 2016-05-21 15:38:49 +02:00
Tommaso Pecorella
6090fcd3a6 internet: (fixes #2414) UdpSocket doesn't call NotifyConnectionFailed 2016-05-18 23:13:08 +02:00
Natale Patriciello
f33b02777b tcp: (fixes #2392) patch commit 12096:8044a6a0db22 for SYN retx 2016-05-06 18:15:30 -07:00
Natale Patriciello
b6c47e6cea tcp: (fixes #2392) SYN advwin should not be scaled 2016-04-27 15:31:39 +02:00
Tommaso Pecorella
d7d5575dc1 internet: (fixes #2383) IPv4 header for reassembled packets reports a wrong payload size. 2016-04-22 02:27:25 +02:00
Stefano Avallone
3b4e3ba53d internet: (fixes #2377) SocketIpTosTag and SocketIpv6TclassTag may be added twice in UDP 2016-04-20 00:18:21 +02:00
Natale Patriciello
5aaeb0103c internet: Added TCP Bic 2016-04-18 17:21:45 +02:00
Anh Nguyen
e1d2bd27e1 internet: added TCP Veno 2016-04-18 17:20:17 +02:00
Anh Nguyen
58413eb0d3 internet: added TCP Scalable 2016-04-18 17:18:37 +02:00
Anh Nguyen
8bb8fe1904 internet: added TCP Vegas 2016-04-18 17:17:09 +02:00
Anh Nguyen
e546aeb562 internet: added last acked seq in tcp 2016-04-18 17:14:01 +02:00
Anh Nguyen
786dc1793e internet: Moved nextTxSeq in TCB 2016-04-18 17:13:33 +02:00
Natale Patriciello
0930cf590e internet: Moved highTxMark in TCB 2016-04-18 17:04:46 +02:00
Anh Nguyen
900c724a3f internet: Added CongestionStateSet API to cong-ops.h 2016-04-18 17:04:13 +02:00
Tommaso Pecorella
23d3d0c46d internet: doxygen fixes 2016-04-07 00:24:47 +02:00
Tommaso Pecorella
2949239b11 internet: (fixes #2057) ARP and Ndisc caches should be updated by receiving valid L3 packets 2016-04-04 22:23:40 +02:00
Chip Webb
f41463736f internet: (fixes #2102) Make global routing robust to bridged links 2016-03-10 16:06:22 -08:00
Tom Henderson
08cd446ca8 bindings: remove problematic forward declarations 2016-03-08 22:00:35 -08:00
Stefano Avallone
92f923701b traffic-control: Add the pfifo_fast queue disc
Linux pfifo_fast is the default priority queue enabled on Linux
systems.  Packets are enqueued in three FIFO droptail queues according
to three priority bands based on their Type of Service bits or DSCP bits.
2016-03-08 10:45:41 -08:00
Pasquale Imputato
2e7c7dbb00 internet: Move CoDel model, test and examples to the traffic-control module
This move prepares CoDel to become a queue disc. Building of CoDel
model, tests and examples is disabled until the conversion is done.
2016-03-08 10:45:32 -08:00
Stefano Avallone
69e882e74b internet: Defer the addition of the IP header until the packet is extracted from the queue disc
When a packet is passed to the Traffic Control layer, the IPv{4,6} header has not
been added yet. It will be added when the packet is dequeued from the queue disc.
2016-03-08 10:45:02 -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
Natale Patriciello
5e677fd152 internet: use traffic-control to send packets 2016-03-08 10:43:58 -08:00
Natale Patriciello
4f01bea25b internet: Register callbacks on TCLayer and NetDevices, RX side 2016-03-08 10:43:54 -08:00
Tommaso Pecorella
dd90b30eaa internet: RIPv2 implementation 2016-02-25 16:30:34 -08:00
Tommaso Pecorella
b135f2260b internet: (fixes #2304) Change DSCP enum values to 6-bit definitions 2016-02-25 16:10:38 -08:00
Tom Goff
46fa78e7fa internet: (fixes #1835) Implement Socket::GetPeerName() 2016-02-24 13:14:51 -08:00
Natale Patriciello
eff983b686 internet: (fixes #2302) check isRetransmission correctly 2016-02-24 16:07:54 +01:00
Natale Patriciello
fdaaa50a6a internet: subtractions in TCP made safe 2016-02-23 09:57:58 +01:00
Natale Patriciello
de92108217 internet: (fixes #1783) BytesInFlight conforms to RFC 4898
Thanks to Alexander Krotov for a first version of this patch
Thanks to Lynne Salameh for testing
2016-02-23 09:47:50 +01:00
Natale Patriciello
ad53340b82 internet: added BytesInFlight trace inside TcpSocketBase 2016-02-22 17:09:23 +01:00