(b76ad15ed0da636161de0243c547ee1e6fc95681)
Go to the source code of this file.
|
#define | pack_var(v) rb_str_new((const char *)&(v), sizeof(v)) |
|
#define | CAT(x, y) x##y |
|
#define | XCAT(x, y) CAT(x,y) |
|
#define | TYPE_IP_MULTICAST_LOOP byte |
|
#define | TYPE_IP_MULTICAST_TTL byte |
|
#define | USE_INSPECT_BYTE 1 |
|
#define | check_size(len, size) |
|
#define | inspect_ipv4_multicast_loop(a, b, c, d) XCAT(inspect_,TYPE_IP_MULTICAST_LOOP)(a,b,c,d) |
|
#define | inspect_ipv4_multicast_ttl(a, b, c, d) XCAT(inspect_,TYPE_IP_MULTICAST_TTL)(a,b,c,d) |
|
#define | IFNAMSIZ (sizeof(unsigned int)*3+1) |
|
◆ CAT
#define CAT |
( |
|
x, |
|
|
|
y |
|
) |
| x##y |
◆ check_size
◆ IFNAMSIZ
#define IFNAMSIZ (sizeof(unsigned int)*3+1) |
◆ inspect_ipv4_multicast_loop
◆ inspect_ipv4_multicast_ttl
◆ pack_var
◆ TYPE_IP_MULTICAST_LOOP
#define TYPE_IP_MULTICAST_LOOP byte |
◆ TYPE_IP_MULTICAST_TTL
#define TYPE_IP_MULTICAST_TTL byte |
◆ USE_INSPECT_BYTE
#define USE_INSPECT_BYTE 1 |
◆ XCAT
#define XCAT |
( |
|
x, |
|
|
|
y |
|
) |
| CAT(x,y) |
◆ inet_ntop()
const char* inet_ntop |
( |
int |
af, |
|
|
const void * |
addr, |
|
|
char * |
numaddr, |
|
|
size_t |
numaddr_len |
|
) |
| |
◆ rsock_init_sockopt()
void rsock_init_sockopt |
( |
void |
| ) |
|
◆ rsock_sockopt_new()
VALUE rsock_sockopt_new |
( |
int |
family, |
|
|
int |
level, |
|
|
int |
optname, |
|
|
VALUE |
data |
|
) |
| |
◆ rb_cSockOpt