#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 164 of file unixsocket.c.
| #define FD_PASSING_BY_MSG_CONTROL 0 |
Definition at line 158 of file unixsocket.c.
| #define unix_recv_io rb_f_notimplement |
Definition at line 402 of file unixsocket.c.
Referenced by rsock_init_unixsocket().
| #define unix_send_io rb_f_notimplement |
Definition at line 259 of file unixsocket.c.
Referenced by rsock_init_unixsocket().
Definition at line 28 of file unixsocket.c.
References unixsock_arg::fd, GetOpenFile, MEMZERO, rb_io_t::pathv, rb_eArgError, rb_jump_tag(), rb_protect(), rb_raise(), rb_str_new_frozen(), rb_sys_fail, rsock_init_sock(), rsock_socket(), RSTRING_LEN, RSTRING_PTR, SafeStringValue, unixsock_arg::sockaddr, and unixsock_connect_internal().
Referenced by unix_init(), and unix_svr_init().
| void rsock_init_unixsocket | ( | void | ) |
Definition at line 496 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 417 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 95 of file unixsocket.c.
References rsock_init_unixsock().
Referenced by rsock_init_unixsocket().
Definition at line 111 of file unixsocket.c.
References rb_io_t::fd, GetOpenFile, len, NIL_P, rb_io_t::pathv, rb_obj_freeze(), rb_str_dup(), rb_str_new_cstr(), rb_sys_fail, and rsock_unixpath().
Referenced by rsock_init_unixsocket().
Definition at line 443 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 150 of file unixsocket.c.
References RECV_UNIX, and rsock_s_recvfrom().
Referenced by rsock_init_unixsocket().
Definition at line 475 of file unixsocket.c.
References args, INT2FIX, rb_scan_args(), rsock_sock_s_socketpair(), and type.
Referenced by rsock_init_unixsocket().
Definition at line 20 of file unixsocket.c.
References unixsock_arg::fd, rsock_connect(), and unixsock_arg::sockaddr.
Referenced by rsock_init_unixsock().
1.6.1