#include "rubysocket.h"Go to the source code of this file.
Data Structures | |
| struct | unixsock_arg |
| struct | iomsg_arg |
Defines | |
| #define | FD_PASSING_BY_MSG_CONTROL 0 |
| #define | FD_PASSING_BY_MSG_ACCRIGHTS 0 |
| #define | unix_send_io rb_f_notimplement |
| #define | unix_recv_io rb_f_notimplement |
Functions | |
| static VALUE | unixsock_connect_internal (VALUE a) |
| VALUE | rsock_init_unixsock (VALUE sock, VALUE path, int server) |
| static VALUE | unix_init (VALUE sock, VALUE path) |
| static VALUE | unix_path (VALUE sock) |
| static VALUE | unix_recvfrom (int argc, VALUE *argv, VALUE sock) |
| static VALUE | unix_addr (VALUE sock) |
| static VALUE | unix_peeraddr (VALUE sock) |
| static VALUE | unix_s_socketpair (int argc, VALUE *argv, VALUE klass) |
| void | rsock_init_unixsocket (void) |
| #define FD_PASSING_BY_MSG_ACCRIGHTS 0 |
Definition at line 170 of file unixsocket.c.
| #define FD_PASSING_BY_MSG_CONTROL 0 |
Definition at line 164 of file unixsocket.c.
| #define unix_recv_io rb_f_notimplement |
Definition at line 408 of file unixsocket.c.
Referenced by rsock_init_unixsocket().
| #define unix_send_io rb_f_notimplement |
Definition at line 265 of file unixsocket.c.
Referenced by rsock_init_unixsocket().
Definition at line 29 of file unixsocket.c.
References unixsock_arg::fd, GetOpenFile, MEMZERO, rb_io_t::pathv, rb_eArgError, rb_inspect(), rb_jump_tag(), rb_protect(), rb_raise(), rb_str_new_frozen(), rb_sys_fail, rb_sys_fail_str(), rsock_init_sock(), rsock_socket(), rsock_unix_sockaddr_len(), RSTRING_LEN, RSTRING_PTR, SafeStringValue, unixsock_arg::sockaddr, unixsock_arg::sockaddrlen, and unixsock_connect_internal().
Referenced by unix_init(), and unix_svr_init().
| void rsock_init_unixsocket | ( | void | ) |
Definition at line 504 of file unixsocket.c.
References rb_cBasicSocket, rb_cUNIXSocket, rb_define_class(), rb_define_method(), rb_define_singleton_method(), unix_addr(), unix_init(), unix_path(), unix_peeraddr(), unix_recv_io, unix_recvfrom(), unix_s_socketpair(), and unix_send_io.
Referenced by rsock_init_socket_init().
Definition at line 423 of file unixsocket.c.
References rb_io_t::fd, GetOpenFile, len, rb_sys_fail, and rsock_unixaddr().
Referenced by rsock_init_unixsocket().
Definition at line 99 of file unixsocket.c.
References rsock_init_unixsock().
Referenced by rsock_init_unixsocket().
Definition at line 115 of file unixsocket.c.
References rb_io_t::fd, GetOpenFile, len, NIL_P, rb_io_t::pathv, rb_obj_freeze(), rb_str_dup(), rb_sys_fail, and rsock_unixpath_str().
Referenced by rsock_init_unixsocket().
Definition at line 449 of file unixsocket.c.
References rb_io_t::fd, GetOpenFile, len, rb_sys_fail, and rsock_unixaddr().
Referenced by rsock_init_unixsocket().
Definition at line 156 of file unixsocket.c.
References RECV_UNIX, and rsock_s_recvfrom().
Referenced by rsock_init_unixsocket().
Definition at line 483 of file unixsocket.c.
References args, INT2FIX, rb_scan_args(), rsock_sock_s_socketpair(), and type.
Referenced by rsock_init_unixsocket().
Definition at line 21 of file unixsocket.c.
References unixsock_arg::fd, rsock_connect(), unixsock_arg::sockaddr, and unixsock_arg::sockaddrlen.
Referenced by rsock_init_unixsock().
1.6.1