Changeset eed4139 in mainline for uspace/lib/c/generic/inet/tcp.c


Ignore:
Timestamp:
2018-03-22T23:23:18Z (7 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
cbb37b6
Parents:
77f0a1d
Message:

Fix some comments mentioning 'call IDs'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/inet/tcp.c

    r77f0a1d reed4139  
    633633/** Connection established event.
    634634 *
    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 */
     639static void
     640tcp_ev_connected(tcp_t *tcp, cap_call_handle_t icall_handle, ipc_call_t *icall)
    640641{
    641642        tcp_conn_t *conn;
     
    661662/** Connection failed event.
    662663 *
    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 */
     668static void
     669tcp_ev_conn_failed(tcp_t *tcp, cap_call_handle_t icall_handle,
     670    ipc_call_t *icall)
    668671{
    669672        tcp_conn_t *conn;
     
    689692/** Connection reset event.
    690693 *
    691  * @param tcp TCP client
    692  * @param iid Call ID
    693  * @param icall Call data
     694 * @param tcp           TCP client
     695 * @param icall_handle  Call handle
     696 * @param icall         Call data
    694697 */
    695698static void tcp_ev_conn_reset(tcp_t *tcp, cap_call_handle_t icall_handle, ipc_call_t *icall)
     
    717720/** Data available event.
    718721 *
    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 */
     726static void
     727tcp_ev_data(tcp_t *tcp, cap_call_handle_t icall_handle, ipc_call_t *icall)
    724728{
    725729        tcp_conn_t *conn;
     
    746750/** Urgent data event.
    747751 *
    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 */
     756static void
     757tcp_ev_urg_data(tcp_t *tcp, cap_call_handle_t icall_handle, ipc_call_t *icall)
    753758{
    754759        async_answer_0(icall_handle, ENOTSUP);
     
    757762/** New connection event.
    758763 *
    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 */
     768static void
     769tcp_ev_new_conn(tcp_t *tcp, cap_call_handle_t icall_handle, ipc_call_t *icall)
    764770{
    765771        tcp_listener_t *lst;
     
    809815/** Callback connection handler.
    810816 *
    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 */
     821static void
     822tcp_cb_conn(cap_call_handle_t icall_handle, ipc_call_t *icall, void *arg)
    816823{
    817824        tcp_t *tcp = (tcp_t *)arg;
Note: See TracChangeset for help on using the changeset viewer.