Changeset 99c2c69e in mainline for uspace/srv/net/udp/assoc.c
- Timestamp:
- 2013-09-13T00:36:30Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 67fbd5e
- Parents:
- 7f84430 (diff), 11d41be5 (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/assoc.c
r7f84430 r99c2c69e 186 186 } 187 187 188 /** Set IP link in association. 189 * 190 * @param assoc Association 191 * @param iplink IP link 192 */ 193 void udp_assoc_set_iplink(udp_assoc_t *assoc, service_id_t iplink) 194 { 195 log_msg(LOG_DEFAULT, LVL_DEBUG, "udp_assoc_set_iplink(%p, %zu)", 196 assoc, iplink); 197 fibril_mutex_lock(&assoc->lock); 198 assoc->ident.iplink = iplink; 199 fibril_mutex_unlock(&assoc->lock); 200 } 201 188 202 /** Set foreign socket in association. 189 203 * … … 419 433 fibril_mutex_lock(&assoc_list_lock); 420 434 421 list_foreach(assoc_list, link) { 422 udp_assoc_t *assoc = list_get_instance(link, udp_assoc_t, link); 435 list_foreach(assoc_list, link, udp_assoc_t, assoc) { 423 436 udp_sockpair_t *asp = &assoc->ident; 424 437
Note:
See TracChangeset
for help on using the changeset viewer.