Changes in uspace/lib/c/generic/inet/tcp.c [da75af4:fafb8e5] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/inet/tcp.c
rda75af4 rfafb8e5 232 232 goto error; 233 233 234 conn_id = IPC_GET_ARG1(answer);234 conn_id = ipc_get_arg1(&answer); 235 235 236 236 rc = tcp_conn_new(tcp, conn_id, cb, arg, rconn); … … 348 348 349 349 lst->tcp = tcp; 350 lst->id = IPC_GET_ARG1(answer);350 lst->id = ipc_get_arg1(&answer); 351 351 lst->lcb = lcb; 352 352 lst->lcb_arg = larg; … … 569 569 } 570 570 571 *nrecv = IPC_GET_ARG1(answer);571 *nrecv = ipc_get_arg1(&answer); 572 572 fibril_mutex_unlock(&conn->lock); 573 573 return EOK; … … 626 626 } 627 627 628 *nrecv = IPC_GET_ARG1(answer);628 *nrecv = ipc_get_arg1(&answer); 629 629 fibril_mutex_unlock(&conn->lock); 630 630 return EOK; … … 643 643 errno_t rc; 644 644 645 conn_id = IPC_GET_ARG1(*icall);645 conn_id = ipc_get_arg1(icall); 646 646 647 647 rc = tcp_conn_get(tcp, conn_id, &conn); … … 671 671 errno_t rc; 672 672 673 conn_id = IPC_GET_ARG1(*icall);673 conn_id = ipc_get_arg1(icall); 674 674 675 675 rc = tcp_conn_get(tcp, conn_id, &conn); … … 699 699 errno_t rc; 700 700 701 conn_id = IPC_GET_ARG1(*icall);701 conn_id = ipc_get_arg1(icall); 702 702 703 703 rc = tcp_conn_get(tcp, conn_id, &conn); … … 727 727 errno_t rc; 728 728 729 conn_id = IPC_GET_ARG1(*icall);729 conn_id = ipc_get_arg1(icall); 730 730 731 731 rc = tcp_conn_get(tcp, conn_id, &conn); … … 771 771 errno_t rc; 772 772 773 lst_id = IPC_GET_ARG1(*icall);774 conn_id = IPC_GET_ARG2(*icall);773 lst_id = ipc_get_arg1(icall); 774 conn_id = ipc_get_arg2(icall); 775 775 776 776 rc = tcp_listener_get(tcp, lst_id, &lst); … … 821 821 async_get_call(&call); 822 822 823 if (! IPC_GET_IMETHOD(call)) {823 if (!ipc_get_imethod(&call)) { 824 824 /* Hangup*/ 825 825 async_answer_0(&call, EOK); … … 827 827 } 828 828 829 switch ( IPC_GET_IMETHOD(call)) {829 switch (ipc_get_imethod(&call)) { 830 830 case TCP_EV_CONNECTED: 831 831 tcp_ev_connected(tcp, &call);
Note:
See TracChangeset
for help on using the changeset viewer.