Changes in uspace/srv/net/udp/ucall.c [451481c8:69a93df7] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/udp/ucall.c
r451481c8 r69a93df7 47 47 udp_assoc_t *nassoc; 48 48 49 log_msg(L OG_DEFAULT, LVL_DEBUG, "udp_uc_create()");49 log_msg(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 OG_DEFAULT, LVL_DEBUG, "udp_uc_set_foreign(%p, %p)", assoc, fsock);61 log_msg(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 OG_DEFAULT, LVL_DEBUG, "udp_uc_set_local(%p, %p)", assoc, lsock);70 69 log_msg(LVL_DEBUG, "udp_uc_set_local(%p, %p)", assoc, lsock); 70 71 71 udp_assoc_set_local(assoc, lsock); 72 return UDP_EOK;73 }74 75 udp_error_t udp_uc_set_local_port(udp_assoc_t *assoc, uint16_t lport)76 {77 log_msg(LOG_DEFAULT, LVL_DEBUG, "udp_uc_set_local(%p, %" PRIu16 ")", assoc, lport);78 79 udp_assoc_set_local_port(assoc, lport);80 72 return UDP_EOK; 81 73 } … … 87 79 udp_msg_t msg; 88 80 89 log_msg(L OG_DEFAULT, LVL_DEBUG, "%s: udp_uc_send()", assoc->name);81 log_msg(LVL_DEBUG, "%s: udp_uc_send()", assoc->name); 90 82 91 83 msg.data = data; … … 111 103 int rc; 112 104 113 log_msg(L OG_DEFAULT, LVL_DEBUG, "%s: udp_uc_receive()", assoc->name);105 log_msg(LVL_DEBUG, "%s: udp_uc_receive()", assoc->name); 114 106 rc = udp_assoc_recv(assoc, &msg, fsock); 115 107 switch (rc) { … … 126 118 void udp_uc_status(udp_assoc_t *assoc, udp_assoc_status_t *astatus) 127 119 { 128 log_msg(L OG_DEFAULT, LVL_DEBUG, "udp_uc_status()");120 log_msg(LVL_DEBUG, "udp_uc_status()"); 129 121 // cstatus->cstate = conn->cstate; 130 122 } … … 132 124 void udp_uc_destroy(udp_assoc_t *assoc) 133 125 { 134 log_msg(L OG_DEFAULT, LVL_DEBUG, "udp_uc_destroy()");126 log_msg(LVL_DEBUG, "udp_uc_destroy()"); 135 127 udp_assoc_remove(assoc); 136 128 udp_assoc_delete(assoc);
Note:
See TracChangeset
for help on using the changeset viewer.