Ruby  2.5.0dev(2017-10-22revision60238)
Functions
constants.c File Reference
#include "rubysocket.h"
#include "constdefs.c"

Go to the source code of this file.

Functions

int rsock_family_arg (VALUE domain)
 
int rsock_socktype_arg (VALUE type)
 
int rsock_level_arg (int family, VALUE level)
 
int rsock_optname_arg (int family, int level, VALUE optname)
 
int rsock_cmsg_type_arg (int family, int level, VALUE type)
 
int rsock_shutdown_how_arg (VALUE how)
 
void rsock_init_socket_constants (void)
 

Function Documentation

◆ rsock_cmsg_type_arg()

int rsock_cmsg_type_arg ( int  family,
int  level,
VALUE  type 
)

Definition at line 100 of file constants.c.

References IS_IP_FAMILY.

◆ rsock_family_arg()

int rsock_family_arg ( VALUE  domain)

Definition at line 43 of file constants.c.

◆ rsock_init_socket_constants()

void rsock_init_socket_constants ( void  )

Definition at line 141 of file constants.c.

Referenced by rsock_init_socket_init().

◆ rsock_level_arg()

int rsock_level_arg ( int  family,
VALUE  level 
)

Definition at line 57 of file constants.c.

References IS_IP_FAMILY.

◆ rsock_optname_arg()

int rsock_optname_arg ( int  family,
int  level,
VALUE  optname 
)

Definition at line 69 of file constants.c.

References IS_IP_FAMILY.

◆ rsock_shutdown_how_arg()

int rsock_shutdown_how_arg ( VALUE  how)

Definition at line 131 of file constants.c.

◆ rsock_socktype_arg()

int rsock_socktype_arg ( VALUE  type)

Definition at line 50 of file constants.c.