|
Data Structures |
struct | s_protosw |
Defines |
#define | INETSW_SIZE 1 |
Typedefs |
typedef int(* | t_pr_attach )(struct s_socket *so) |
typedef int(* | t_pr_detach )(struct s_socket *so) |
typedef int(* | t_pr_bind )(struct s_socket *so, struct sockaddr *sa, socklen_t salen) |
typedef int(* | t_pr_connect )(struct s_socket *so, struct sockaddr *sa, socklen_t salen) |
typedef int(* | t_pr_send )(struct s_socket *so, struct s_data_buf *data, size_t data_size, struct sockaddr *sa, socklen_t salen) |
typedef size_t(* | t_pr_recv )(struct s_socket *so, pid_t pid, struct sockaddr *sa, socklen_t *salen, vaddr_t uaddr, size_t usize) |
typedef int(* | t_pr_listen )(struct s_socket *so, int backlog) |
typedef int(* | t_pr_accept )(struct s_socket *so, struct sockaddr *sa, socklen_t *salen, void **new_pcb) |
typedef int(* | t_pr_getpeername )(struct s_socket *so, struct sockaddr *sa, socklen_t *salen) |
typedef int(* | t_pr_getsockname )(struct s_socket *so, struct sockaddr *sa, socklen_t *salen) |
typedef int(* | t_pr_poll )(struct s_socket *so, t_pollrec *pollrec) |
Functions |
const struct s_protosw * | find_in_proto (int type, int protocol) |
Variables |
const struct s_protosw | inetsw [] |