Changeset cde999a in mainline for uspace/lib/c/generic/inet/tcp.c
- Timestamp:
- 2018-01-04T20:22:51Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3d95c9d, 84a1a54
- Parents:
- 3c7702c0
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 19:18:29)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-01-04 20:22:51)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/inet/tcp.c
r3c7702c0 rcde999a 59 59 * 60 60 * @param tcp TCP service 61 * @return EOK on success or negativeerror code61 * @return EOK on success or an error code 62 62 */ 63 63 static int tcp_callback_create(tcp_t *tcp) … … 205 205 * @param rconn Place to store pointer to new connection 206 206 * 207 * @return EOK on success or negativeerror code.207 * @return EOK on success or an error code. 208 208 */ 209 209 int tcp_conn_create(tcp_t *tcp, inet_ep2_t *epp, tcp_cb_t *cb, void *arg, … … 316 316 * @param rlst Place to store pointer to new listener 317 317 * 318 * @return EOK on success or negativeerror code318 * @return EOK on success or an error code 319 319 */ 320 320 int tcp_listener_create(tcp_t *tcp, inet_ep_t *ep, tcp_listen_cb_t *lcb, … … 446 446 * @param bytes Data size in bytes 447 447 * 448 * @return EOK on success or negativeerror code448 * @return EOK on success or an error code 449 449 */ 450 450 int tcp_conn_send(tcp_conn_t *conn, const void *data, size_t bytes) … … 478 478 * 479 479 * @param conn Connection 480 * @return EOK on success or negativeerror code480 * @return EOK on success or an error code 481 481 */ 482 482 int tcp_conn_send_fin(tcp_conn_t *conn) … … 494 494 * 495 495 * @param conn Connection 496 * @return EOK on success or negativeerror code496 * @return EOK on success or an error code 497 497 */ 498 498 int tcp_conn_push(tcp_conn_t *conn) … … 510 510 * 511 511 * @param conn Connection 512 * @return EOK on success or negativeerror code512 * @return EOK on success or an error code 513 513 */ 514 514 int tcp_conn_reset(tcp_conn_t *conn) … … 538 538 * 539 539 * @return EOK on success, EAGAIN if no received data is pending, or other 540 * negativeerror code in case of other error540 * error code in case of other error 541 541 */ 542 542 int tcp_conn_recv(tcp_conn_t *conn, void *buf, size_t bsize, size_t *nrecv) … … 586 586 * @param nrecv Place to store actual number of received bytes 587 587 * 588 * @return EOK on success or negativeerror code588 * @return EOK on success or an error code 589 589 */ 590 590 int tcp_conn_recv_wait(tcp_conn_t *conn, void *buf, size_t bsize,
Note:
See TracChangeset
for help on using the changeset viewer.