Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/udp/assoc.c

    r695b6ff rc0f3460  
    186186}
    187187
    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 
    202188/** Set foreign socket in association.
    203189 *
     
    433419        fibril_mutex_lock(&assoc_list_lock);
    434420       
    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);
    436423                udp_sockpair_t *asp = &assoc->ident;
    437424               
Note: See TracChangeset for help on using the changeset viewer.