Changeset eed4139 in mainline for uspace/lib/c/generic/inet/tcp.c
- Timestamp:
- 2018-03-22T23:23:18Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cbb37b6
- Parents:
- 77f0a1d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/inet/tcp.c
r77f0a1d reed4139 633 633 /** Connection established event. 634 634 * 635 * @param tcp TCP client 636 * @param iid Call ID 637 * @param icall Call data 638 */ 639 static void tcp_ev_connected(tcp_t *tcp, cap_call_handle_t icall_handle, ipc_call_t *icall) 635 * @param tcp TCP client 636 * @param icall_handle Call handle 637 * @param icall Call data 638 */ 639 static void 640 tcp_ev_connected(tcp_t *tcp, cap_call_handle_t icall_handle, ipc_call_t *icall) 640 641 { 641 642 tcp_conn_t *conn; … … 661 662 /** Connection failed event. 662 663 * 663 * @param tcp TCP client 664 * @param iid Call ID 665 * @param icall Call data 666 */ 667 static void tcp_ev_conn_failed(tcp_t *tcp, cap_call_handle_t icall_handle, ipc_call_t *icall) 664 * @param tcp TCP client 665 * @param icall_handle Call handle 666 * @param icall Call data 667 */ 668 static void 669 tcp_ev_conn_failed(tcp_t *tcp, cap_call_handle_t icall_handle, 670 ipc_call_t *icall) 668 671 { 669 672 tcp_conn_t *conn; … … 689 692 /** Connection reset event. 690 693 * 691 * @param tcp TCP client692 * @param i id Call ID693 * @param icall Call data694 * @param tcp TCP client 695 * @param icall_handle Call handle 696 * @param icall Call data 694 697 */ 695 698 static void tcp_ev_conn_reset(tcp_t *tcp, cap_call_handle_t icall_handle, ipc_call_t *icall) … … 717 720 /** Data available event. 718 721 * 719 * @param tcp TCP client 720 * @param iid Call ID 721 * @param icall Call data 722 */ 723 static void tcp_ev_data(tcp_t *tcp, cap_call_handle_t icall_handle, ipc_call_t *icall) 722 * @param tcp TCP client 723 * @param icall_handle Call handle 724 * @param icall Call data 725 */ 726 static void 727 tcp_ev_data(tcp_t *tcp, cap_call_handle_t icall_handle, ipc_call_t *icall) 724 728 { 725 729 tcp_conn_t *conn; … … 746 750 /** Urgent data event. 747 751 * 748 * @param tcp TCP client 749 * @param iid Call ID 750 * @param icall Call data 751 */ 752 static void tcp_ev_urg_data(tcp_t *tcp, cap_call_handle_t icall_handle, ipc_call_t *icall) 752 * @param tcp TCP client 753 * @param icall_handle Call handle 754 * @param icall Call data 755 */ 756 static void 757 tcp_ev_urg_data(tcp_t *tcp, cap_call_handle_t icall_handle, ipc_call_t *icall) 753 758 { 754 759 async_answer_0(icall_handle, ENOTSUP); … … 757 762 /** New connection event. 758 763 * 759 * @param tcp TCP client 760 * @param iid Call ID 761 * @param icall Call data 762 */ 763 static void tcp_ev_new_conn(tcp_t *tcp, cap_call_handle_t icall_handle, ipc_call_t *icall) 764 * @param tcp TCP client 765 * @param icall_handle Call handle 766 * @param icall Call data 767 */ 768 static void 769 tcp_ev_new_conn(tcp_t *tcp, cap_call_handle_t icall_handle, ipc_call_t *icall) 764 770 { 765 771 tcp_listener_t *lst; … … 809 815 /** Callback connection handler. 810 816 * 811 * @param iid Connect call ID 812 * @param icall Connect call data 813 * @param arg Argument, TCP client 814 */ 815 static void tcp_cb_conn(cap_call_handle_t icall_handle, ipc_call_t *icall, void *arg) 817 * @param icall_handle Connect call handle 818 * @param icall Connect call data 819 * @param arg Argument, TCP client 820 */ 821 static void 822 tcp_cb_conn(cap_call_handle_t icall_handle, ipc_call_t *icall, void *arg) 816 823 { 817 824 tcp_t *tcp = (tcp_t *)arg;
Note:
See TracChangeset
for help on using the changeset viewer.