Changeset a1a101d in mainline for uspace/srv/net/tcp/rqueue.c
- Timestamp:
- 2012-08-17T16:58:51Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bc0ccab
- Parents:
- 920d0fc
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/tcp/rqueue.c
r920d0fc ra1a101d 74 74 tcp_sockpair_t rident; 75 75 76 log_msg(L VL_DEBUG, "tcp_rqueue_bounce_seg()");76 log_msg(LOG_DEFAULT, LVL_DEBUG, "tcp_rqueue_bounce_seg()"); 77 77 78 78 #ifdef BOUNCE_TRANSCODE … … 81 81 82 82 if (tcp_pdu_encode(sp, seg, &pdu) != EOK) { 83 log_msg(L VL_WARN, "Not enough memory. Segment dropped.");83 log_msg(LOG_DEFAULT, LVL_WARN, "Not enough memory. Segment dropped."); 84 84 return; 85 85 } 86 86 87 87 if (tcp_pdu_decode(pdu, &rident, &dseg) != EOK) { 88 log_msg(L VL_WARN, "Not enough memory. Segment dropped.");88 log_msg(LOG_DEFAULT, LVL_WARN, "Not enough memory. Segment dropped."); 89 89 return; 90 90 } … … 112 112 { 113 113 tcp_rqueue_entry_t *rqe; 114 log_msg(L VL_DEBUG, "tcp_rqueue_insert_seg()");114 log_msg(LOG_DEFAULT, LVL_DEBUG, "tcp_rqueue_insert_seg()"); 115 115 116 116 tcp_segment_dump(seg); … … 118 118 rqe = calloc(1, sizeof(tcp_rqueue_entry_t)); 119 119 if (rqe == NULL) { 120 log_msg(L VL_ERROR, "Failed allocating RQE.");120 log_msg(LOG_DEFAULT, LVL_ERROR, "Failed allocating RQE."); 121 121 return; 122 122 } … … 134 134 tcp_rqueue_entry_t *rqe; 135 135 136 log_msg(L VL_DEBUG, "tcp_rqueue_fibril()");136 log_msg(LOG_DEFAULT, LVL_DEBUG, "tcp_rqueue_fibril()"); 137 137 138 138 while (true) { … … 152 152 fid_t fid; 153 153 154 log_msg(L VL_DEBUG, "tcp_rqueue_fibril_start()");154 log_msg(LOG_DEFAULT, LVL_DEBUG, "tcp_rqueue_fibril_start()"); 155 155 156 156 fid = fibril_create(tcp_rqueue_fibril, NULL); 157 157 if (fid == 0) { 158 log_msg(L VL_ERROR, "Failed creating rqueue fibril.");158 log_msg(LOG_DEFAULT, LVL_ERROR, "Failed creating rqueue fibril."); 159 159 return; 160 160 }
Note:
See TracChangeset
for help on using the changeset viewer.