Changeset dd0c8a0 in mainline for uspace/srv/net/udp/ucall.c
- Timestamp:
- 2013-09-29T06:56:33Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a9bd960d
- Parents:
- 3deb0155 (diff), 13be2583 (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
r3deb0155 rdd0c8a0 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.