|
AquilaOS documentation
How it works, and its code
|
A domain's socket operations. More...
#include <socket.h>
Data Fields | |
| int(*) | accept (struct file *socket, struct file *conn, const struct sockaddr *addr, socklen_t *len) |
| int(*) | bind (struct file *socket, const struct sockaddr *addr, socklen_t len) |
| int(*) | connect (struct file *socket, const struct sockaddr *addr, socklen_t len) |
| int(*) | listen (struct file *socket, int backlog) |
| ssize_t(*) | recv (struct file *socket, struct iobuf *io, int flags, struct sockaddr *from, socklen_t *fromlen) |
| ssize_t(*) | send (struct file *socket, struct iobuf *io, int flags, const struct sockaddr *to, socklen_t tolen) |
| int(*) | getname (struct file *socket, struct sockaddr *addr, socklen_t *len, int peer) |
| int(*) | getsockopt (struct file *socket, int level, int name, void *val, socklen_t *len) |
| int(*) | setsockopt (struct file *socket, int level, int name, const void *val, socklen_t len) |
| int(*) | ioctl (struct file *socket, int request, void *argp) |
| int(*) | can_read (struct file *socket, size_t len) |
| int(*) | can_write (struct file *socket, size_t len) |
| struct waitq *(*) | wait_queue (struct file *socket, int write) |
| int(*) | shutdown (struct file *socket, int how) |
| int(*) | shut (struct file *socket, int how) |
Definition at line 48 of file socket.h.
Referenced by socket_getsockopt().
| int(*) sock_ops::setsockopt(struct file *socket, int level, int name, const void *val, socklen_t len) |
Definition at line 49 of file socket.h.
Referenced by socket_setsockopt().