AF_INET 9 ext/-test-/win32/fd_setsize/fd_setsize.c int sd = socket(AF_INET, SOCK_DGRAM, 0); AF_INET 40 ext/-test-/win32/fd_setsize/fd_setsize.c int sd = socket(AF_INET, SOCK_DGRAM, 0); AF_INET 443 ext/socket/ancdata.c if (sa.sin_family != AF_INET) AF_INET 453 ext/socket/ancdata.c if (sa.sin_family != AF_INET) AF_INET 457 ext/socket/ancdata.c return ancdata_new(AF_INET, IPPROTO_IP, IP_PKTINFO, rb_str_new((char *)&pktinfo, sizeof(pktinfo))); AF_INET 504 ext/socket/ancdata.c sa.sin_family = AF_INET; AF_INET 508 ext/socket/ancdata.c sa.sin_family = AF_INET; AF_INET 784 ext/socket/ancdata.c if (inet_ntop(AF_INET, &addr, addrbuf, (socklen_t)sizeof(addrbuf)) == NULL) AF_INET 805 ext/socket/ancdata.c if (inet_ntop(AF_INET, &pktinfo.ipi_addr, buf, sizeof(buf)) == NULL) AF_INET 813 ext/socket/ancdata.c if (inet_ntop(AF_INET, &pktinfo.ipi_spec_dst, buf, sizeof(buf)) == NULL) AF_INET 1037 ext/socket/ancdata.c case AF_INET: AF_INET 93 ext/socket/constdefs.c #if defined(AF_INET) AF_INET 95 ext/socket/constdefs.c rb_define_const(rb_cSocket, "AF_INET", INTEGER2NUM(AF_INET)); AF_INET 97 ext/socket/constdefs.c rb_define_const(rb_mSockConst, "AF_INET", INTEGER2NUM(AF_INET)); AF_INET 2805 ext/socket/constdefs.c #ifdef AF_INET AF_INET 2806 ext/socket/constdefs.c st_insert(rsock_intern_family_hash, (st_data_t)AF_INET, (st_data_t)rb_intern2("AF_INET", 7)); AF_INET 2921 ext/socket/constdefs.c #ifdef AF_INET AF_INET 2922 ext/socket/constdefs.c st_insert(rsock_intern_family_noprefix_hash, (st_data_t)AF_INET, (st_data_t)rb_intern2("AF_INET", 7)); AF_INET 3035 ext/socket/constdefs.c #ifdef AF_INET AF_INET 3036 ext/socket/constdefs.c st_insert(rsock_intern_family_noprefix_hash, (st_data_t)AF_INET, (st_data_t)rb_intern2("INET", 4)); AF_INET 4520 ext/socket/constdefs.c #ifdef AF_INET AF_INET 4521 ext/socket/constdefs.c if (memcmp(str, "INET", 4) == 0) { *valp = AF_INET; return 0; } AF_INET 4679 ext/socket/constdefs.c #ifdef AF_INET AF_INET 4680 ext/socket/constdefs.c if (memcmp(str, "AF_INET", 7) == 0) { *valp = AF_INET; return 0; } AF_INET 42 ext/socket/constdefs.h #if !defined(AF_INET) AF_INET 44 ext/socket/constdefs.h # define AF_INET AF_INET AF_INET 471 ext/socket/getaddrinfo.c case AF_INET: AF_INET 545 ext/socket/getaddrinfo.c hp = gethostbyaddr((char*)addr, afd->a_addrlen, AF_INET); AF_INET 627 ext/socket/getaddrinfo.c case AF_INET: AF_INET 642 ext/socket/getaddrinfo.c if (translate && afd->a_af == AF_INET) { AF_INET 196 ext/socket/getnameinfo.c case AF_INET: AF_INET 641 ext/socket/init.c case FMODE_INET: return AF_INET; AF_INET 654 ext/socket/init.c case AF_INET: fptr->mode |= FMODE_INET; break; AF_INET 397 ext/socket/option.c return rsock_sockopt_new(AF_INET, IPPROTO_IP, IP_MULTICAST_LOOP, o); AF_INET 420 ext/socket/option.c if (family == AF_INET && level == IPPROTO_IP && optname == IP_MULTICAST_LOOP) { AF_INET 448 ext/socket/option.c return rsock_sockopt_new(AF_INET, IPPROTO_IP, IP_MULTICAST_TTL, o); AF_INET 471 ext/socket/option.c if (family == AF_INET && level == IPPROTO_IP && optname == IP_MULTICAST_TTL) { AF_INET 695 ext/socket/option.c if (inet_ntop(AF_INET, &s.imr_multiaddr, addrbuf, (socklen_t)sizeof(addrbuf)) == NULL) AF_INET 699 ext/socket/option.c if (inet_ntop(AF_INET, &s.imr_interface, addrbuf, (socklen_t)sizeof(addrbuf)) == NULL) AF_INET 719 ext/socket/option.c if (inet_ntop(AF_INET, &s.imr_multiaddr, addrbuf, (socklen_t)sizeof(addrbuf)) == NULL) AF_INET 723 ext/socket/option.c if (inet_ntop(AF_INET, &s.imr_address, addrbuf, (socklen_t)sizeof(addrbuf)) == NULL) AF_INET 760 ext/socket/option.c if (inet_ntop(AF_INET, &s, addrbuf, (socklen_t)sizeof(addrbuf)) == NULL) AF_INET 1328 ext/socket/option.c case AF_INET: AF_INET 257 ext/socket/raddrinfo.c inet_pton(AF_INET, node, ipv4addr)) { AF_INET 1066 ext/socket/raddrinfo.c case AF_INET: /* ["AF_INET", 46102, "localhost.localdomain", "127.0.0.1"] */ AF_INET 1159 ext/socket/raddrinfo.c case AF_INET: AF_INET 1855 ext/socket/raddrinfo.c return ai_get_afamily(rai) == AF_INET ? Qtrue : Qfalse; AF_INET 2022 ext/socket/raddrinfo.c case AF_INET: AF_INET 2048 ext/socket/raddrinfo.c if (family != AF_INET) return 0; AF_INET 154 ext/socket/rubysocket.h # define IS_IP_FAMILY(af) ((af) == AF_INET || (af) == AF_INET6) AF_INET 156 ext/socket/rubysocket.h # define IS_IP_FAMILY(af) ((af) == AF_INET) AF_INET 965 ext/socket/socket.c case AF_INET: AF_INET 1015 ext/socket/socket.c int t = AF_INET; AF_INET 1409 ext/socket/socket.c if (((struct sockaddr *)sockaddr)->sa_family != AF_INET AF_INET 1507 ext/socket/socket.c case AF_INET: AF_INET 1652 ext/socket/socket.c fd = socket(AF_INET, SOCK_DGRAM, 0); AF_INET 1722 ext/socket/socket.c fd = socket(AF_INET, SOCK_DGRAM, 0); AF_INET 1878 ext/socket/socket.c if (uni->Address.lpSockaddr->sa_family == AF_INET) AF_INET 1886 ext/socket/socket.c if (any->Address.lpSockaddr->sa_family == AF_INET) AF_INET 52 ext/socket/sockport.h init_sockaddr_ptr->sin_family = AF_INET; \ AF_INET 109 ext/socket/sockport.h # define PF_INET AF_INET AF_INET 30 ext/socket/udpsocket.c int family = AF_INET; AF_INET 3855 win32/win32.c case AF_INET: AF_INET 3856 win32/win32.c #if defined PF_INET && PF_INET != AF_INET AF_INET 3859 win32/win32.c sock_in4.sin_family = AF_INET;