Ruby  3.1.0dev(2021-09-10revisionb76ad15ed0da636161de0243c547ee1e6fc95681)
Functions
constants.c File Reference

(b76ad15ed0da636161de0243c547ee1e6fc95681)

#include "rubysocket.h"
#include "constdefs.c"
Include dependency graph for constants.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 99 of file constants.c.

References IS_IP_FAMILY.

◆ rsock_family_arg()

int rsock_family_arg ( VALUE  domain)

Definition at line 42 of file constants.c.

◆ rsock_init_socket_constants()

void rsock_init_socket_constants ( void  )

Definition at line 140 of file constants.c.

Referenced by rsock_init_socket_init().

◆ rsock_level_arg()

int rsock_level_arg ( int  family,
VALUE  level 
)

Definition at line 56 of file constants.c.

References IS_IP_FAMILY.

◆ rsock_optname_arg()

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

Definition at line 68 of file constants.c.

References IS_IP_FAMILY.

◆ rsock_shutdown_how_arg()

int rsock_shutdown_how_arg ( VALUE  how)

Definition at line 130 of file constants.c.

◆ rsock_socktype_arg()

int rsock_socktype_arg ( VALUE  type)

Definition at line 49 of file constants.c.