Changeset dd0c8a0 in mainline for uspace/srv/net/udp/ucall.c


Ignore:
Timestamp:
2013-09-29T06:56:33Z (12 years ago)
Author:
Beniamino Galvani <b.galvani@…>
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.
Message:

Merge mainline changes.

File:
1 edited

Legend:

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

    r3deb0155 rdd0c8a0  
    5757}
    5858
     59void 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
    5967udp_error_t udp_uc_set_foreign(udp_assoc_t *assoc, udp_sock_t *fsock)
    6068{
     
    113121        log_msg(LOG_DEFAULT, LVL_DEBUG, "%s: udp_uc_receive()", assoc->name);
    114122        rc = udp_assoc_recv(assoc, &msg, fsock);
     123        log_msg(LOG_DEFAULT, LVL_DEBUG, "udp_assoc_recv -> %d", rc);
    115124        switch (rc) {
     125        case EOK:
     126                break;
     127        case ECONNABORTED:
     128                return UDP_ERESET;
     129        default:
     130                assert(false);
    116131        }
    117132
     
    133148{
    134149        log_msg(LOG_DEFAULT, LVL_DEBUG, "udp_uc_destroy()");
     150        udp_assoc_reset(assoc);
    135151        udp_assoc_remove(assoc);
    136152        udp_assoc_delete(assoc);
     153}
     154
     155void udp_uc_reset(udp_assoc_t *assoc)
     156{
     157        udp_assoc_reset(assoc);
    137158}
    138159
Note: See TracChangeset for help on using the changeset viewer.