|
PatchworkOS
|
Socket Family operations structure. More...
#include <socket_family.h>
Data Fields | |
| uint64_t(* | init )(socket_t *sock) |
| void(* | deinit )(socket_t *sock) |
| uint64_t(* | bind )(socket_t *sock, const char *address) |
| uint64_t(* | listen )(socket_t *sock, uint32_t backlog) |
| uint64_t(* | connect )(socket_t *sock, const char *address) |
| uint64_t(* | accept )(socket_t *sock, socket_t *newSock) |
| uint64_t(* | send )(socket_t *sock, const void *buffer, uint64_t count, uint64_t *offset) |
| uint64_t(* | recv )(socket_t *sock, void *buffer, uint64_t count, uint64_t *offset) |
| wait_queue_t *(* | poll )(socket_t *sock, poll_events_t *revents) |
| uint64_t(* | shutdown )(socket_t *socket, uint32_t how) |
Socket Family operations structure.
Definition at line 47 of file socket_family.h.
Definition at line 54 of file socket_family.h.
Referenced by socket_accept_open().
Definition at line 51 of file socket_family.h.
Referenced by socket_ctl_bind().
Definition at line 53 of file socket_family.h.
Referenced by socket_ctl_connect().
| void(* socket_family_ops_t::deinit) (socket_t *sock) |
Definition at line 50 of file socket_family.h.
Referenced by socket_family_register(), socket_free(), and socket_new().
Definition at line 49 of file socket_family.h.
Referenced by socket_family_register(), and socket_new().
Definition at line 52 of file socket_family.h.
Referenced by socket_ctl_listen().
| wait_queue_t *(* socket_family_ops_t::poll) (socket_t *sock, poll_events_t *revents) |
Definition at line 57 of file socket_family.h.
Referenced by socket_data_poll().
| uint64_t(* socket_family_ops_t::recv) (socket_t *sock, void *buffer, uint64_t count, uint64_t *offset) |
Definition at line 56 of file socket_family.h.
Referenced by socket_data_read().
| uint64_t(* socket_family_ops_t::send) (socket_t *sock, const void *buffer, uint64_t count, uint64_t *offset) |
Definition at line 55 of file socket_family.h.
Referenced by socket_data_write().
Definition at line 58 of file socket_family.h.