summaryrefslogtreecommitdiff
path: root/lib/tcp.c
Commit message (Collapse)AuthorAgeFilesLines
* Add retransmission timer support (UDP).Linus Nordberg2011-03-091-22/+9
|
* Add RSE_DISCO.Linus Nordberg2011-03-091-0/+1
|
* Timeout implemented in request objects, supported by TCP.Linus Nordberg2011-03-081-7/+2
| | | | TODO: UDP.
* Move verification of response packets up to a level where it makes sense.Linus Nordberg2011-03-071-54/+15
| | | | | | | | | | | | | | | | | | | | | Replace the user_dispatch_flag on connections with conn_user_dispatch_p(). Remove the 'original' member from packet and instead have an upper layer verify. Rename packet valid_flag --> received_flag to reflect that we don't verify. Move _close_conn() --> conn_close(). Move packet flags into a single unsigned int, for portability. (_read_packet): Don't verify packet. (rs_conn_receive_packet): Don't touch PKT_OUT if there isn't a packet. (rs_conn_receive_packet): Verify packet using packet_verify_response().
* Move event_set_timeout --> tcp_set_connect_timeout.Linus Nordberg2011-03-061-0/+34
|
* Restructure code, moving most code out of packet.cLinus Nordberg2011-03-061-0/+276
Also, move copyright notice out of COPYING and into every file.