]> git.meshlink.io Git - utcp/log
utcp
9 years agoFix free_connection() moving the wrong memory.
Guus Sliepen [Fri, 31 Oct 2014 16:42:06 +0000 (17:42 +0100)]
Fix free_connection() moving the wrong memory.

9 years agoOnly call the poll callback when state is ESTABLISHED or CLOSE_WAIT.
Guus Sliepen [Thu, 30 Oct 2014 13:55:07 +0000 (14:55 +0100)]
Only call the poll callback when state is ESTABLISHED or CLOSE_WAIT.

9 years agoFix retransmit().
Guus Sliepen [Mon, 27 Oct 2014 08:10:10 +0000 (09:10 +0100)]
Fix retransmit().

9 years agoDon't put a VLA in a struct, C99 does not allow it.
Guus Sliepen [Mon, 27 Oct 2014 08:06:52 +0000 (09:06 +0100)]
Don't put a VLA in a struct, C99 does not allow it.

9 years agoAdd some missing definitions for Windows.
Guus Sliepen [Sat, 25 Oct 2014 23:05:41 +0000 (01:05 +0200)]
Add some missing definitions for Windows.

9 years agoAdd a poll callback to UTCP connections.
Guus Sliepen [Wed, 1 Oct 2014 17:18:40 +0000 (19:18 +0200)]
Add a poll callback to UTCP connections.

The callback is called whenever the send buffer of a connection is more
than half empty when utcp_timeout() is called. An argument is passed to
the callee informing him of the maximum number of bytes that will be
accepted when calling utcp_send().

9 years agoSet priv field in utcp_connect().
Guus Sliepen [Sat, 13 Sep 2014 15:10:52 +0000 (17:10 +0200)]
Set priv field in utcp_connect().

9 years agoImplement slow start.
Guus Sliepen [Tue, 26 Aug 2014 12:34:17 +0000 (14:34 +0200)]
Implement slow start.

9 years agoVarious small fixes, clarifications.
Guus Sliepen [Tue, 26 Aug 2014 12:33:19 +0000 (14:33 +0200)]
Various small fixes, clarifications.

9 years agoFix memory and resource leaks.
Guus Sliepen [Thu, 21 Aug 2014 14:42:12 +0000 (16:42 +0200)]
Fix memory and resource leaks.

9 years agoSet FIN bit in ack().
Guus Sliepen [Thu, 21 Aug 2014 14:19:09 +0000 (16:19 +0200)]
Set FIN bit in ack().

9 years agoStart implementation of congestion avoidance.
Guus Sliepen [Sun, 17 Aug 2014 19:54:20 +0000 (21:54 +0200)]
Start implementation of congestion avoidance.

We try to implement RFC 2001.

9 years agoImprove Makefile.
Guus Sliepen [Sun, 17 Aug 2014 19:53:22 +0000 (21:53 +0200)]
Improve Makefile.

9 years agoAllow debug messages to be compiled out.
Guus Sliepen [Sun, 17 Aug 2014 19:52:58 +0000 (21:52 +0200)]
Allow debug messages to be compiled out.

9 years agoAdd socket option functions names similar to setsockopt()/ioctl() ones.
Guus Sliepen [Sat, 16 Aug 2014 16:31:06 +0000 (18:31 +0200)]
Add socket option functions names similar to setsockopt()/ioctl() ones.

9 years agoAdd a .gitignore file.
Guus Sliepen [Sat, 16 Aug 2014 15:48:53 +0000 (17:48 +0200)]
Add a .gitignore file.

9 years agoMove private struct declarations e.a. to utcp_priv.h.
Guus Sliepen [Sat, 16 Aug 2014 15:48:50 +0000 (17:48 +0200)]
Move private struct declarations e.a. to utcp_priv.h.

9 years agoAdd utcp_set_mtu().
Guus Sliepen [Sat, 16 Aug 2014 15:48:48 +0000 (17:48 +0200)]
Add utcp_set_mtu().

9 years agoHandle FIN_WAIT_1 state when retransmitting.
Guus Sliepen [Sat, 16 Aug 2014 15:48:45 +0000 (17:48 +0200)]
Handle FIN_WAIT_1 state when retransmitting.

9 years agoIncrease sndbuf when necessary.
Guus Sliepen [Sat, 16 Aug 2014 15:48:21 +0000 (17:48 +0200)]
Increase sndbuf when necessary.

9 years agoRedo receive logic.
Guus Sliepen [Sun, 10 Aug 2014 18:41:32 +0000 (20:41 +0200)]
Redo receive logic.

9 years agoUpdate README.
Guus Sliepen [Sun, 10 Aug 2014 12:19:06 +0000 (14:19 +0200)]
Update README.

9 years agoAllow variable packet loss rates to be set in the test program.
Guus Sliepen [Sat, 9 Aug 2014 17:15:22 +0000 (19:15 +0200)]
Allow variable packet loss rates to be set in the test program.

9 years agoPrint both incoming and outgoing packets.
Guus Sliepen [Sat, 9 Aug 2014 17:15:00 +0000 (19:15 +0200)]
Print both incoming and outgoing packets.

9 years agoUpdate snd.una when receiving an ACK in the SYN_RECEIVED state.
Guus Sliepen [Sat, 9 Aug 2014 17:14:38 +0000 (19:14 +0200)]
Update snd.una when receiving an ACK in the SYN_RECEIVED state.

9 years agoStart implementing timeout handling.
Guus Sliepen [Sat, 9 Aug 2014 16:37:10 +0000 (18:37 +0200)]
Start implementing timeout handling.

- Initial connection timeout (1 minute by default)
- Retransmission of SYN, SYNACK and normal data packets

9 years agoPass buffers as const.
Guus Sliepen [Sat, 9 Aug 2014 14:01:43 +0000 (16:01 +0200)]
Pass buffers as const.

9 years agoRename UTCP to README.
Guus Sliepen [Fri, 25 Jul 2014 12:01:12 +0000 (14:01 +0200)]
Rename UTCP to README.

9 years agoSegmentize outgoing packets.
Guus Sliepen [Fri, 25 Jul 2014 12:00:41 +0000 (14:00 +0200)]
Segmentize outgoing packets.

9 years agoDo proper modulo 2^32 comparisons of sequence numbers.
Guus Sliepen [Fri, 25 Jul 2014 11:28:43 +0000 (13:28 +0200)]
Do proper modulo 2^32 comparisons of sequence numbers.

9 years agoDo port numbers properly.
Guus Sliepen [Fri, 25 Jul 2014 11:18:58 +0000 (13:18 +0200)]
Do port numbers properly.

- Outgoing connections automatically get a port number >= 32768 assigned.
- *connect() and *accept() get a port number as argument.
- Connections are now stored in a sorted array with O(log(N)) lookup time.

9 years agoBuild both binaries.
Guus Sliepen [Fri, 25 Jul 2014 11:14:08 +0000 (13:14 +0200)]
Build both binaries.

9 years agoStart of UTCP.
Guus Sliepen [Thu, 24 Jul 2014 20:06:57 +0000 (22:06 +0200)]
Start of UTCP.