Changes in uspace/srv/net/udp/assoc.c [695b6ff:c0f3460] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/udp/assoc.c
r695b6ff rc0f3460 186 186 } 187 187 188 /** Set IP link in association.189 *190 * @param assoc Association191 * @param iplink IP link192 */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 202 188 /** Set foreign socket in association. 203 189 * … … 433 419 fibril_mutex_lock(&assoc_list_lock); 434 420 435 list_foreach(assoc_list, link, udp_assoc_t, assoc) { 421 list_foreach(assoc_list, link) { 422 udp_assoc_t *assoc = list_get_instance(link, udp_assoc_t, link); 436 423 udp_sockpair_t *asp = &assoc->ident; 437 424
Note:
See TracChangeset
for help on using the changeset viewer.