HelenOS sources
tcp 50 uspace/app/nterm/conn.c static tcp_t *tcp;
tcp 108 uspace/app/nterm/conn.c rc = tcp_create(&tcp);
tcp 112 uspace/app/nterm/conn.c rc = tcp_conn_create(tcp, &epp, &conn_cb, NULL, &conn);
tcp 123 uspace/app/nterm/conn.c tcp_destroy(tcp);
tcp 443 uspace/app/websrv/websrv.c tcp_t *tcp;
tcp 466 uspace/app/websrv/websrv.c rc = tcp_create(&tcp);
tcp 472 uspace/app/websrv/websrv.c rc = tcp_listener_create(tcp, &ep, &listen_cb, NULL, &conn_cb, NULL,
tcp 50 uspace/lib/http/include/http/http.h tcp_t *tcp;
tcp 97 uspace/lib/http/src/http.c rc = tcp_create(&http->tcp);
tcp 101 uspace/lib/http/src/http.c rc = tcp_conn_create(http->tcp, &epp, NULL, NULL, &http->conn);
tcp 119 uspace/lib/http/src/http.c tcp_destroy(http->tcp);
tcp 120 uspace/lib/http/src/http.c http->tcp = NULL;
tcp 47 uspace/lib/inet/include/inet/tcp.h struct tcp *tcp;
tcp 61 uspace/lib/inet/include/inet/tcp.h struct tcp *tcp;
tcp 63 uspace/lib/inet/src/tcp.c static errno_t tcp_callback_create(tcp_t *tcp)
tcp 65 uspace/lib/inet/src/tcp.c async_exch_t *exch = async_exchange_begin(tcp->sess);
tcp 71 uspace/lib/inet/src/tcp.c tcp_cb_conn, tcp, &port);
tcp 92 uspace/lib/inet/src/tcp.c tcp_t *tcp;
tcp 96 uspace/lib/inet/src/tcp.c tcp = calloc(1, sizeof(tcp_t));
tcp 97 uspace/lib/inet/src/tcp.c if (tcp == NULL) {
tcp 102 uspace/lib/inet/src/tcp.c list_initialize(&tcp->conn);
tcp 103 uspace/lib/inet/src/tcp.c list_initialize(&tcp->listener);
tcp 104 uspace/lib/inet/src/tcp.c fibril_mutex_initialize(&tcp->lock);
tcp 105 uspace/lib/inet/src/tcp.c fibril_condvar_initialize(&tcp->cv);
tcp 114 uspace/lib/inet/src/tcp.c tcp->sess = loc_service_connect(tcp_svcid, INTERFACE_TCP,
tcp 116 uspace/lib/inet/src/tcp.c if (tcp->sess == NULL) {
tcp 121 uspace/lib/inet/src/tcp.c rc = tcp_callback_create(tcp);
tcp 127 uspace/lib/inet/src/tcp.c *rtcp = tcp;
tcp 130 uspace/lib/inet/src/tcp.c free(tcp);
tcp 138 uspace/lib/inet/src/tcp.c void tcp_destroy(tcp_t *tcp)
tcp 140 uspace/lib/inet/src/tcp.c if (tcp == NULL)
tcp 143 uspace/lib/inet/src/tcp.c async_hangup(tcp->sess);
tcp 145 uspace/lib/inet/src/tcp.c fibril_mutex_lock(&tcp->lock);
tcp 146 uspace/lib/inet/src/tcp.c while (!tcp->cb_done)
tcp 147 uspace/lib/inet/src/tcp.c fibril_condvar_wait(&tcp->cv, &tcp->lock);
tcp 148 uspace/lib/inet/src/tcp.c fibril_mutex_unlock(&tcp->lock);
tcp 150 uspace/lib/inet/src/tcp.c free(tcp);
tcp 163 uspace/lib/inet/src/tcp.c static errno_t tcp_conn_new(tcp_t *tcp, sysarg_t id, tcp_cb_t *cb, void *arg,
tcp 176 uspace/lib/inet/src/tcp.c conn->tcp = tcp;
tcp 181 uspace/lib/inet/src/tcp.c list_append(&conn->ltcp, &tcp->conn);
tcp 209 uspace/lib/inet/src/tcp.c errno_t tcp_conn_create(tcp_t *tcp, inet_ep2_t *epp, tcp_cb_t *cb, void *arg,
tcp 216 uspace/lib/inet/src/tcp.c exch = async_exchange_begin(tcp->sess);
tcp 236 uspace/lib/inet/src/tcp.c rc = tcp_conn_new(tcp, conn_id, cb, arg, rconn);
tcp 261 uspace/lib/inet/src/tcp.c exch = async_exchange_begin(conn->tcp->sess);
tcp 277 uspace/lib/inet/src/tcp.c static errno_t tcp_conn_get(tcp_t *tcp, sysarg_t id, tcp_conn_t **rconn)
tcp 279 uspace/lib/inet/src/tcp.c list_foreach(tcp->conn, ltcp, tcp_conn_t, conn) {
tcp 320 uspace/lib/inet/src/tcp.c errno_t tcp_listener_create(tcp_t *tcp, inet_ep_t *ep, tcp_listen_cb_t *lcb,
tcp 331 uspace/lib/inet/src/tcp.c exch = async_exchange_begin(tcp->sess);
tcp 349 uspace/lib/inet/src/tcp.c lst->tcp = tcp;
tcp 356 uspace/lib/inet/src/tcp.c list_append(&lst->ltcp, &tcp->listener);
tcp 378 uspace/lib/inet/src/tcp.c exch = async_exchange_begin(lst->tcp->sess);
tcp 394 uspace/lib/inet/src/tcp.c static errno_t tcp_listener_get(tcp_t *tcp, sysarg_t id, tcp_listener_t **rlst)
tcp 396 uspace/lib/inet/src/tcp.c list_foreach(tcp->listener, ltcp, tcp_listener_t, lst) {
tcp 455 uspace/lib/inet/src/tcp.c exch = async_exchange_begin(conn->tcp->sess);
tcp 485 uspace/lib/inet/src/tcp.c exch = async_exchange_begin(conn->tcp->sess);
tcp 501 uspace/lib/inet/src/tcp.c exch = async_exchange_begin(conn->tcp->sess);
tcp 517 uspace/lib/inet/src/tcp.c exch = async_exchange_begin(conn->tcp->sess);
tcp 552 uspace/lib/inet/src/tcp.c exch = async_exchange_begin(conn->tcp->sess);
tcp 601 uspace/lib/inet/src/tcp.c exch = async_exchange_begin(conn->tcp->sess);
tcp 638 uspace/lib/inet/src/tcp.c static void tcp_ev_connected(tcp_t *tcp, ipc_call_t *icall)
tcp 646 uspace/lib/inet/src/tcp.c rc = tcp_conn_get(tcp, conn_id, &conn);
tcp 666 uspace/lib/inet/src/tcp.c static void tcp_ev_conn_failed(tcp_t *tcp, ipc_call_t *icall)
tcp 674 uspace/lib/inet/src/tcp.c rc = tcp_conn_get(tcp, conn_id, &conn);
tcp 694 uspace/lib/inet/src/tcp.c static void tcp_ev_conn_reset(tcp_t *tcp, ipc_call_t *icall)
tcp 702 uspace/lib/inet/src/tcp.c rc = tcp_conn_get(tcp, conn_id, &conn);
tcp 722 uspace/lib/inet/src/tcp.c static void tcp_ev_data(tcp_t *tcp, ipc_call_t *icall)
tcp 730 uspace/lib/inet/src/tcp.c rc = tcp_conn_get(tcp, conn_id, &conn);
tcp 751 uspace/lib/inet/src/tcp.c static void tcp_ev_urg_data(tcp_t *tcp, ipc_call_t *icall)
tcp 762 uspace/lib/inet/src/tcp.c static void tcp_ev_new_conn(tcp_t *tcp, ipc_call_t *icall)
tcp 775 uspace/lib/inet/src/tcp.c rc = tcp_listener_get(tcp, lst_id, &lst);
tcp 781 uspace/lib/inet/src/tcp.c rc = tcp_conn_new(tcp, conn_id, lst->cb, lst->cb_arg, &conn);
tcp 816 uspace/lib/inet/src/tcp.c tcp_t *tcp = (tcp_t *)arg;
tcp 830 uspace/lib/inet/src/tcp.c tcp_ev_connected(tcp, &call);
tcp 833 uspace/lib/inet/src/tcp.c tcp_ev_conn_failed(tcp, &call);
tcp 836 uspace/lib/inet/src/tcp.c tcp_ev_conn_reset(tcp, &call);
tcp 839 uspace/lib/inet/src/tcp.c tcp_ev_data(tcp, &call);
tcp 842 uspace/lib/inet/src/tcp.c tcp_ev_urg_data(tcp, &call);
tcp 845 uspace/lib/inet/src/tcp.c tcp_ev_new_conn(tcp, &call);
tcp 854 uspace/lib/inet/src/tcp.c fibril_mutex_lock(&tcp->lock);
tcp 855 uspace/lib/inet/src/tcp.c tcp->cb_done = true;
tcp 856 uspace/lib/inet/src/tcp.c fibril_mutex_unlock(&tcp->lock);
tcp 857 uspace/lib/inet/src/tcp.c fibril_condvar_broadcast(&tcp->cv);
tcp 844 uspace/srv/hid/remcons/remcons.c tcp_t *tcp;
tcp 895 uspace/srv/hid/remcons/remcons.c rc = tcp_create(&tcp);
tcp 904 uspace/srv/hid/remcons/remcons.c rc = tcp_listener_create(tcp, &ep, &listen_cb, NULL, &conn_cb, NULL,
tcp 792 uspace/srv/hid/rfb/rfb.c tcp_t *tcp = NULL;
tcp 797 uspace/srv/hid/rfb/rfb.c rc = tcp_create(&tcp);
tcp 806 uspace/srv/hid/rfb/rfb.c rc = tcp_listener_create(tcp, &ep, &listen_cb, rfb, &conn_cb, rfb,
tcp 813 uspace/srv/hid/rfb/rfb.c rfb->tcp = tcp;
tcp 819 uspace/srv/hid/rfb/rfb.c tcp_destroy(tcp);
tcp 154 uspace/srv/hid/rfb/rfb.h tcp_t *tcp;
HelenOS homepage, sources at GitHub