Changeset db71e2a in mainline for uspace/srv/net/tcp/tcp.c
- Timestamp:
- 2013-07-24T17:42:25Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 69b264a9
- Parents:
- 52f1882 (diff), cffa14e6 (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
-
uspace/srv/net/tcp/tcp.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/tcp/tcp.c
r52f1882 rdb71e2a 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.src = pdu->src; 144 dgram.dest = pdu->dest; 149 145 dgram.tos = 0; 150 146 dgram.data = pdu_raw;
Note:
See TracChangeset
for help on using the changeset viewer.
