Changeset 23fe06c in mainline for uspace/srv/net/tl/tcp/ucall.c


Ignore:
Timestamp:
2011-11-30T20:34:41Z (12 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b0d82d1
Parents:
92e717c
Message:

Include connection name in more debug messages. Set conn name for socket-based connections.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/tl/tcp/ucall.c

    r92e717c r23fe06c  
    111111        size_t xfer_size;
    112112
    113         log_msg(LVL_DEBUG, "tcp_uc_send()");
     113        log_msg(LVL_DEBUG, "%s: tcp_uc_send()", conn->name);
    114114
    115115        if (conn->cstate == st_closed)
     
    149149        size_t xfer_size;
    150150
    151         log_msg(LVL_DEBUG, "tcp_uc_receive()");
     151        log_msg(LVL_DEBUG, "%s: tcp_uc_receive()", conn->name);
    152152
    153153        if (conn->cstate == st_closed)
     
    189189        tcp_tqueue_ctrl_seg(conn, CTL_ACK);
    190190
    191         log_msg(LVL_DEBUG, "tcp_uc_receive() - returning %zu bytes",
    192             xfer_size);
     191        log_msg(LVL_DEBUG, "%s: tcp_uc_receive() - returning %zu bytes",
     192            conn->name, xfer_size);
    193193
    194194        return TCP_EOK;
     
    198198tcp_error_t tcp_uc_close(tcp_conn_t *conn)
    199199{
    200         log_msg(LVL_DEBUG, "tcp_uc_close()");
     200        log_msg(LVL_DEBUG, "%s: tcp_uc_close()", conn->name);
    201201
    202202        if (conn->cstate == st_closed)
Note: See TracChangeset for help on using the changeset viewer.