|
PatchworkOS
966e257
A non-POSIX operating system.
|
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, mode_t mode) |
| uint64_t(* | send )(socket_t *sock, const void *buffer, uint64_t count, uint64_t *offset, mode_t mode) |
| uint64_t(* | recv )(socket_t *sock, void *buffer, uint64_t count, uint64_t *offset, mode_t mode) |
| wait_queue_t *(* | poll )(socket_t *sock, poll_events_t *revents) |
Socket Family operations structure.
Definition at line 48 of file socket_family.h.
Definition at line 50 of file socket_family.h.
| void(* socket_family_ops_t::deinit) (socket_t *sock) |
Definition at line 51 of file socket_family.h.
Definition at line 52 of file socket_family.h.
Definition at line 53 of file socket_family.h.
Definition at line 54 of file socket_family.h.
Definition at line 55 of file socket_family.h.
| uint64_t(* socket_family_ops_t::send) (socket_t *sock, const void *buffer, uint64_t count, uint64_t *offset, mode_t mode) |
Definition at line 56 of file socket_family.h.
| uint64_t(* socket_family_ops_t::recv) (socket_t *sock, void *buffer, uint64_t count, uint64_t *offset, mode_t mode) |
Definition at line 57 of file socket_family.h.
| wait_queue_t *(* socket_family_ops_t::poll) (socket_t *sock, poll_events_t *revents) |
Definition at line 58 of file socket_family.h.