Lines Matching defs:socket
84 void socket_free(socket_t *socket) { in socket_free()
93 bool socket_listen(const socket_t *socket, port_t port) { in socket_listen()
113 socket_t *socket_accept(const socket_t *socket) { in socket_accept()
129 ssize_t socket_read(const socket_t *socket, void *buf, size_t count) { in socket_read()
139 ssize_t socket_write(const socket_t *socket, const void *buf, size_t count) { in socket_write()
149 ssize_t socket_write_and_transfer_fd(const socket_t *socket, const void *buf, size_t count, int fd)… in socket_write_and_transfer_fd()
183 ssize_t socket_bytes_available(const socket_t *socket) { in socket_bytes_available()
192 void socket_register(socket_t *socket, reactor_t *reactor, void *context, socket_cb read_cb, socket… in socket_register()
208 void socket_unregister(socket_t *socket) { in socket_unregister()
219 socket_t *socket = (void *)context; in internal_read_ready() local
226 socket_t *socket = (void *)context; in internal_write_ready() local