Changes in uspace/srv/net/tl/tcp/tcp.c [28a3e74:ffa2c8ef] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/tl/tcp/tcp.c
r28a3e74 rffa2c8ef 299 299 return tcp_release_and_return(packet, NO_DATA); 300 300 301 #if 0 302 printf("header len %d, port %d \n", TCP_HEADER_LENGTH(header), 303 ntohs(header->destination_port)); 304 #endif 301 // printf("header len %d, port %d \n", TCP_HEADER_LENGTH(header), 302 // ntohs(header->destination_port)); 303 305 304 result = packet_get_addr(packet, (uint8_t **) &src, (uint8_t **) &dest); 306 305 if (result <= 0) … … 1063 1062 tcp_process_acknowledgement(socket, socket_data, header); 1064 1063 1065 socket_data->next_incoming = ntohl(header->sequence_number); /* + 1; */1064 socket_data->next_incoming = ntohl(header->sequence_number); // + 1; 1066 1065 pq_release_remote(tcp_globals.net_phone, packet_get_id(packet)); 1067 1066 socket_data->state = TCP_SOCKET_ESTABLISHED; … … 1708 1707 if (socket->port > 0) { 1709 1708 socket_ports_exclude(&tcp_globals.sockets, 1710 socket->port , free);1709 socket->port); 1711 1710 socket->port = 0; 1712 1711 } … … 2493 2492 rc = packet_dimensions_initialize(&tcp_globals.dimensions); 2494 2493 if (rc != EOK) { 2495 socket_ports_destroy(&tcp_globals.sockets , free);2494 socket_ports_destroy(&tcp_globals.sockets); 2496 2495 goto out; 2497 2496 }
Note:
See TracChangeset
for help on using the changeset viewer.