Changeset dd0c8a0 in mainline for uspace/srv/net/tcp/tcp.c
- Timestamp:
- 2013-09-29T06:56:33Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a9bd960d
- Parents:
- 3deb0155 (diff), 13be2583 (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/tcp/tcp.c
r3deb0155 rdd0c8a0 54 54 #define NAME "tcp" 55 55 56 #define IP_PROTO_TCP 657 58 56 static int tcp_inet_ev_recv(inet_dgram_t *dgram); 59 57 static void tcp_received_pdu(tcp_pdu_t *pdu); … … 115 113 } 116 114 117 pdu->src_addr.ipv4 = dgram->src.ipv4; 118 pdu->dest_addr.ipv4 = dgram->dest.ipv4; 119 log_msg(LOG_DEFAULT, LVL_DEBUG, "src: 0x%08x, dest: 0x%08x", 120 pdu->src_addr.ipv4, pdu->dest_addr.ipv4); 115 pdu->src = dgram->src; 116 pdu->dest = dgram->dest; 121 117 122 118 tcp_received_pdu(pdu); … … 145 141 pdu->text_size); 146 142 147 dgram.src.ipv4 = pdu->src_addr.ipv4; 148 dgram.dest.ipv4 = pdu->dest_addr.ipv4; 143 dgram.iplink = 0; 144 dgram.src = pdu->src; 145 dgram.dest = pdu->dest; 149 146 dgram.tos = 0; 150 147 dgram.data = pdu_raw;
Note:
See TracChangeset
for help on using the changeset viewer.