Lines Matching defs:socket
85 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, in socket_write_and_transfer_fd()
183 ssize_t socket_bytes_available(const socket_t* socket) { in socket_bytes_available()
191 void socket_register(socket_t* socket, reactor_t* reactor, void* context, in socket_register()
209 void socket_unregister(socket_t* socket) { in socket_unregister()
219 socket_t* socket = static_cast<socket_t*>(context); in internal_read_ready() local
226 socket_t* socket = static_cast<socket_t*>(context); in internal_write_ready() local