Changeset 8aa2b3b in mainline for uspace/srv/net/tl/tcp/tcp.c
- Timestamp:
- 2011-04-03T15:41:33Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e2098dd7
- Parents:
- 3a3d4ca (diff), b2a081ae (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/tl/tcp/tcp.c
r3a3d4ca r8aa2b3b 299 299 return tcp_release_and_return(packet, NO_DATA); 300 300 301 // printf("header len %d, port %d \n", TCP_HEADER_LENGTH(header), 302 // ntohs(header->destination_port)); 303 301 #if 0 302 printf("header len %d, port %d \n", TCP_HEADER_LENGTH(header), 303 ntohs(header->destination_port)); 304 #endif 304 305 result = packet_get_addr(packet, (uint8_t **) &src, (uint8_t **) &dest); 305 306 if (result <= 0) … … 1062 1063 tcp_process_acknowledgement(socket, socket_data, header); 1063 1064 1064 socket_data->next_incoming = ntohl(header->sequence_number); // + 1;1065 socket_data->next_incoming = ntohl(header->sequence_number); /* + 1; */ 1065 1066 pq_release_remote(tcp_globals.net_phone, packet_get_id(packet)); 1066 1067 socket_data->state = TCP_SOCKET_ESTABLISHED; … … 1707 1708 if (socket->port > 0) { 1708 1709 socket_ports_exclude(&tcp_globals.sockets, 1709 socket->port );1710 socket->port, free); 1710 1711 socket->port = 0; 1711 1712 } … … 2492 2493 rc = packet_dimensions_initialize(&tcp_globals.dimensions); 2493 2494 if (rc != EOK) { 2494 socket_ports_destroy(&tcp_globals.sockets );2495 socket_ports_destroy(&tcp_globals.sockets, free); 2495 2496 goto out; 2496 2497 }
Note:
See TracChangeset
for help on using the changeset viewer.