Changeset 6896409c in mainline for uspace/srv/net/tl/tcp/segment.c
- Timestamp:
- 2011-11-21T22:46:37Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1812a0d
- Parents:
- eea65f4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/tl/tcp/segment.c
reea65f4 r6896409c 35 35 */ 36 36 37 #include <io/log.h> 37 38 #include <mem.h> 38 39 #include <stdlib.h> … … 235 236 } 236 237 238 /** Dump segment contents to log. 239 * 240 * @param seg Segment 241 */ 242 void tcp_segment_dump(tcp_segment_t *seg) 243 { 244 log_msg(LVL_DEBUG, "Segment dump:"); 245 log_msg(LVL_DEBUG, " - ctrl = %u", (unsigned)seg->ctrl); 246 log_msg(LVL_DEBUG, " - seq = % " PRIu32, seg->seq); 247 log_msg(LVL_DEBUG, " - ack = % " PRIu32, seg->ack); 248 log_msg(LVL_DEBUG, " - len = % " PRIu32, seg->len); 249 log_msg(LVL_DEBUG, " - wnd = % " PRIu32, seg->wnd); 250 log_msg(LVL_DEBUG, " - up = % " PRIu32, seg->up); 251 } 252 237 253 /** 238 254 * @}
Note:
See TracChangeset
for help on using the changeset viewer.