Changes in uspace/srv/net/udp/ucall.c [451481c8:695b6ff] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/udp/ucall.c
r451481c8 r695b6ff 57 57 } 58 58 59 void udp_uc_set_iplink(udp_assoc_t *assoc, service_id_t iplink) 60 { 61 log_msg(LOG_DEFAULT, LVL_DEBUG, "udp_uc_set_iplink(%p, %zu)", 62 assoc, iplink); 63 64 udp_assoc_set_iplink(assoc, iplink); 65 } 66 59 67 udp_error_t udp_uc_set_foreign(udp_assoc_t *assoc, udp_sock_t *fsock) 60 68 { … … 113 121 log_msg(LOG_DEFAULT, LVL_DEBUG, "%s: udp_uc_receive()", assoc->name); 114 122 rc = udp_assoc_recv(assoc, &msg, fsock); 123 log_msg(LOG_DEFAULT, LVL_DEBUG, "udp_assoc_recv -> %d", rc); 115 124 switch (rc) { 125 case EOK: 126 break; 127 case ECONNABORTED: 128 return UDP_ERESET; 129 default: 130 assert(false); 116 131 } 117 132 … … 133 148 { 134 149 log_msg(LOG_DEFAULT, LVL_DEBUG, "udp_uc_destroy()"); 150 udp_assoc_reset(assoc); 135 151 udp_assoc_remove(assoc); 136 152 udp_assoc_delete(assoc); 153 } 154 155 void udp_uc_reset(udp_assoc_t *assoc) 156 { 157 udp_assoc_reset(assoc); 137 158 } 138 159
Note:
See TracChangeset
for help on using the changeset viewer.