Changeset 49bd793b in mainline for uspace/srv/net/tl/tcp/tcp.c


Ignore:
Timestamp:
2011-10-07T21:42:14Z (14 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
80099c19
Parents:
00d7e1b
Message:

networking fixes

  • use sysarg_t for packet_id_t to avoid potential overflow
  • fix the confusion in the order of arguments for nil_received_msg(), this fixes the strange ping timeout on 127.0.0.1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/tl/tcp/tcp.c

    r00d7e1b r49bd793b  
    16511651        /* Sent packet? */
    16521652        packet = pq_find(socket_data->outgoing, sequence_number);
    1653         printf("retransmit %lu\n", packet_get_id(packet));
    16541653        if (packet) {
    16551654                pq_get_order(packet, NULL, &data_length);
     
    17901789
    17911790                        /* Send the packet */
    1792                         printf("connecting %lu\n", packet_get_id(packet));
    17931791                        tcp_send_packets(socket_data->device_id, packet);
    17941792
Note: See TracChangeset for help on using the changeset viewer.