Ruby 1.9.3p327(2012-11-10revision37606)
|
Go to the source code of this file.
Defines | |
#define | SA_LEN(sa) (sizeof(struct sockaddr)) |
#define | SS_LEN(ss) (sizeof(struct sockaddr)) |
#define | SET_SA_LEN(sa, len) (void)(len) |
#define | SET_SS_LEN(ss, len) (void)(len) |
#define | SIN_LEN(si) sizeof(struct sockaddr_in) |
#define | SET_SIN_LEN(si, len) |
#define | IN_CLASSD(i) (((long)(i) & 0xf0000000) == 0xe0000000) |
#define | IN_MULTICAST(i) IN_CLASSD(i) |
#define | IN_EXPERIMENTAL(i) ((((long)(i)) & 0xe0000000) == 0xe0000000) |
#define | IN_CLASSA_NSHIFT 24 |
#define | IN_LOOPBACKNET 127 |
#define | AF_UNSPEC 0 |
#define | PF_UNSPEC AF_UNSPEC |
#define | PF_INET AF_INET |
#define AF_UNSPEC 0 |
Definition at line 69 of file sockport.h.
Referenced by get_addr(), get_afamily(), open_ifs_socket(), rsock_addrinfo(), rsock_getfamily(), sockopt_inspect(), and sockopt_s_linger().
#define IN_CLASSA_NSHIFT 24 |
Definition at line 61 of file sockport.h.
Referenced by getaddrinfo(), and getnameinfo().
#define IN_CLASSD | ( | i | ) | (((long)(i) & 0xf0000000) == 0xe0000000) |
Definition at line 52 of file sockport.h.
#define IN_EXPERIMENTAL | ( | i | ) | ((((long)(i)) & 0xe0000000) == 0xe0000000) |
Definition at line 57 of file sockport.h.
Referenced by getaddrinfo(), and getnameinfo().
#define IN_LOOPBACKNET 127 |
Definition at line 65 of file sockport.h.
Referenced by getaddrinfo().
#define IN_MULTICAST | ( | i | ) | IN_CLASSD(i) |
Definition at line 53 of file sockport.h.
Referenced by getaddrinfo(), and getnameinfo().
#define PF_INET AF_INET |
Definition at line 77 of file sockport.h.
Referenced by addrinfo_inspect(), getaddrinfo(), and socketpair_internal().
#define PF_UNSPEC AF_UNSPEC |
Definition at line 73 of file sockport.h.
Referenced by addrinfo_initialize(), addrinfo_s_ip(), addrinfo_s_tcp(), addrinfo_s_udp(), call_getaddrinfo(), getaddrinfo(), sock_s_getaddrinfo(), and sock_s_getnameinfo().
#define SA_LEN | ( | sa | ) | (sizeof(struct sockaddr)) |
Definition at line 29 of file sockport.h.
Referenced by getnameinfo(), make_ipaddr0(), rsock_ipaddr(), and sock_s_getnameinfo().
Definition at line 39 of file sockport.h.
#define SET_SIN_LEN | ( | si, | |
len | |||
) |
Definition at line 48 of file sockport.h.
Referenced by make_inetaddr().
Definition at line 40 of file sockport.h.
#define SIN_LEN | ( | si | ) | sizeof(struct sockaddr_in) |
Definition at line 47 of file sockport.h.
#define SS_LEN | ( | ss | ) | (sizeof(struct sockaddr)) |
Definition at line 30 of file sockport.h.
Referenced by sock_s_getnameinfo().