Changeset ff381a7 in mainline for uspace/lib/c/generic/inetping.c


Ignore:
Timestamp:
2015-11-02T20:54:19Z (9 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d8513177
Parents:
3feeab2 (diff), 5265eea4 (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/lib/c/generic/inetping.c

    r3feeab2 rff381a7  
    5353        inetping_ev_ops = ev_ops;
    5454
    55         rc = loc_service_get_id(SERVICE_NAME_INETPING, &inetping_svc,
     55        rc = loc_service_get_id(SERVICE_NAME_INET, &inetping_svc,
    5656            IPC_FLAG_BLOCKING);
    5757        if (rc != EOK)
    5858                return ENOENT;
    5959
    60         inetping_sess = loc_service_connect(EXCHANGE_SERIALIZE, inetping_svc,
     60        inetping_sess = loc_service_connect(inetping_svc, INTERFACE_INETPING,
    6161            IPC_FLAG_BLOCKING);
    6262        if (inetping_sess == NULL)
     
    6565        async_exch_t *exch = async_exchange_begin(inetping_sess);
    6666
    67         rc = async_connect_to_me(exch, 0, 0, 0, inetping_cb_conn, NULL);
     67        port_id_t port;
     68        rc = async_create_callback_port(exch, INTERFACE_INETPING_CB, 0, 0,
     69            inetping_cb_conn, NULL, &port);
     70       
    6871        async_exchange_end(exch);
    6972
Note: See TracChangeset for help on using the changeset viewer.