Changeset a1e2df13 in mainline for uspace/srv/net/udp/ucall.c
- Timestamp:
- 2012-11-11T21:31:03Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 25eec4e
- Parents:
- 141a20d (diff), d1538a1 (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/udp/ucall.c
r141a20d ra1e2df13 47 47 udp_assoc_t *nassoc; 48 48 49 log_msg(L VL_DEBUG, "udp_uc_create()");49 log_msg(LOG_DEFAULT, LVL_DEBUG, "udp_uc_create()"); 50 50 nassoc = udp_assoc_new(NULL, NULL); 51 51 if (nassoc == NULL) … … 59 59 udp_error_t udp_uc_set_foreign(udp_assoc_t *assoc, udp_sock_t *fsock) 60 60 { 61 log_msg(L VL_DEBUG, "udp_uc_set_foreign(%p, %p)", assoc, fsock);61 log_msg(LOG_DEFAULT, LVL_DEBUG, "udp_uc_set_foreign(%p, %p)", assoc, fsock); 62 62 63 63 udp_assoc_set_foreign(assoc, fsock); … … 67 67 udp_error_t udp_uc_set_local(udp_assoc_t *assoc, udp_sock_t *lsock) 68 68 { 69 log_msg(L VL_DEBUG, "udp_uc_set_local(%p, %p)", assoc, lsock);69 log_msg(LOG_DEFAULT, LVL_DEBUG, "udp_uc_set_local(%p, %p)", assoc, lsock); 70 70 71 71 udp_assoc_set_local(assoc, lsock); … … 79 79 udp_msg_t msg; 80 80 81 log_msg(L VL_DEBUG, "%s: udp_uc_send()", assoc->name);81 log_msg(LOG_DEFAULT, LVL_DEBUG, "%s: udp_uc_send()", assoc->name); 82 82 83 83 msg.data = data; … … 103 103 int rc; 104 104 105 log_msg(L VL_DEBUG, "%s: udp_uc_receive()", assoc->name);105 log_msg(LOG_DEFAULT, LVL_DEBUG, "%s: udp_uc_receive()", assoc->name); 106 106 rc = udp_assoc_recv(assoc, &msg, fsock); 107 log_msg(L VL_DEBUG, "udp_assoc_recv -> %d", rc);107 log_msg(LOG_DEFAULT, LVL_DEBUG, "udp_assoc_recv -> %d", rc); 108 108 switch (rc) { 109 109 case EOK: … … 125 125 void udp_uc_status(udp_assoc_t *assoc, udp_assoc_status_t *astatus) 126 126 { 127 log_msg(L VL_DEBUG, "udp_uc_status()");127 log_msg(LOG_DEFAULT, LVL_DEBUG, "udp_uc_status()"); 128 128 // cstatus->cstate = conn->cstate; 129 129 } … … 131 131 void udp_uc_destroy(udp_assoc_t *assoc) 132 132 { 133 log_msg(L VL_DEBUG, "udp_uc_destroy()");133 log_msg(LOG_DEFAULT, LVL_DEBUG, "udp_uc_destroy()"); 134 134 udp_assoc_reset(assoc); 135 135 udp_assoc_remove(assoc);
Note:
See TracChangeset
for help on using the changeset viewer.