Changes in uspace/lib/c/generic/inetping.c [9749e47:f9b2cb4c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/inetping.c
r9749e47 rf9b2cb4c 53 53 inetping_ev_ops = ev_ops; 54 54 55 rc = loc_service_get_id(SERVICE_NAME_INET PING, &inetping_svc,55 rc = loc_service_get_id(SERVICE_NAME_INET, &inetping_svc, 56 56 IPC_FLAG_BLOCKING); 57 57 if (rc != EOK) 58 58 return ENOENT; 59 59 60 inetping_sess = loc_service_connect( EXCHANGE_SERIALIZE, inetping_svc,60 inetping_sess = loc_service_connect(inetping_svc, INTERFACE_INETPING, 61 61 IPC_FLAG_BLOCKING); 62 62 if (inetping_sess == NULL) … … 65 65 async_exch_t *exch = async_exchange_begin(inetping_sess); 66 66 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 68 71 async_exchange_end(exch); 69 72
Note:
See TracChangeset
for help on using the changeset viewer.