Lines Matching refs:tcp_sock
42 struct tcp_sock {
55 struct tcp_sock *tcp_server_create(struct tcp_conf *conf);
56 void tcp_server_destroy(struct tcp_sock *m);
58 struct tcp_sock *tcp_client_create(struct tcp_conf *conf);
59 void tcp_client_destroy(struct tcp_sock *m);
61 ssize_t tcp_send(struct tcp_sock *m, const void *data, int size);
62 ssize_t tcp_recv(struct tcp_sock *m, void *data, int size);
63 int tcp_accept(struct tcp_sock *m);
65 int tcp_get_fd(struct tcp_sock *m);
66 int tcp_isset(struct tcp_sock *m, fd_set *readfds);
67 int tcp_accept_isset(struct tcp_sock *m, fd_set *readfds);
70 struct tcp_sock *s, struct tcp_sock *r);