afd 145 ext/socket/getaddrinfo.c static int get_name __P((const char *, const struct afd *, afd 183 ext/socket/getaddrinfo.c ((afd)->a_socklen)))\ afd 190 ext/socket/getaddrinfo.c (ai)->ai_family = (afd)->a_af;\ afd 191 ext/socket/getaddrinfo.c (ai)->ai_addrlen = (afd)->a_socklen;\ afd 192 ext/socket/getaddrinfo.c INIT_SOCKADDR((ai)->ai_addr, (afd)->a_af, (afd)->a_socklen);\ afd 195 ext/socket/getaddrinfo.c memcpy(p + (afd)->a_off, (addr), (afd)->a_addrlen);\ afd 422 ext/socket/getaddrinfo.c const struct afd *afd; afd 425 ext/socket/getaddrinfo.c for (afd = &afdl[0]; afd->a_af; afd++) { afd 427 ext/socket/getaddrinfo.c || pai->ai_family == afd->a_af)) { afd 435 ext/socket/getaddrinfo.c s = socket(afd->a_af, SOCK_DGRAM, 0); afd 442 ext/socket/getaddrinfo.c GET_AI(cur->ai_next, afd, afd->a_addrany, port); afd 447 ext/socket/getaddrinfo.c GET_AI(cur->ai_next, afd, afd->a_loopback, afd 543 ext/socket/getaddrinfo.c hp = getipnodebyaddr(addr, afd->a_addrlen, afd->a_af, &h_error); afd 545 ext/socket/getaddrinfo.c hp = gethostbyaddr((char*)addr, afd->a_addrlen, AF_INET); afd 548 ext/socket/getaddrinfo.c GET_AI(cur, afd, hp->h_addr_list[0], port); afd 551 ext/socket/getaddrinfo.c GET_AI(cur, afd, numaddr, port); afd 578 ext/socket/getaddrinfo.c const struct afd *afd; afd 621 ext/socket/getaddrinfo.c afd = &afdl[N_INET6]; afd 628 ext/socket/getaddrinfo.c afd = &afdl[N_INET]; afd 635 ext/socket/getaddrinfo.c afd = &afdl[N_INET]; afd 637 ext/socket/getaddrinfo.c afd = &afdl[N_INET6]; afd 642 ext/socket/getaddrinfo.c if (translate && afd->a_af == AF_INET) { afd 653 ext/socket/getaddrinfo.c GET_AI(cur->ai_next, afd, ap, port); afd 141 ext/socket/getnameinfo.c struct afd *afd; afd 163 ext/socket/getnameinfo.c afd = &afdl[i]; afd 169 ext/socket/getnameinfo.c if (len != afd->a_socklen) return ENI_SALEN; afd 172 ext/socket/getnameinfo.c addr = (char *)sa + afd->a_off; afd 219 ext/socket/getnameinfo.c if (inet_ntop(afd->a_af, addr, numaddr, sizeof(numaddr)) afd 227 ext/socket/getnameinfo.c hp = getipnodebyaddr(addr, afd->a_addrlen, afd->a_af, &h_error); afd 229 ext/socket/getnameinfo.c hp = gethostbyaddr(addr, afd->a_addrlen, afd->a_af); afd 251 ext/socket/getnameinfo.c if (inet_ntop(afd->a_af, addr, numaddr, sizeof(numaddr)) afd 192 io.c rb_atomic_t afd = (rb_atomic_t)fd; afd 195 io.c if (afd <= max_fd) afd 202 io.c while (max_fd < afd) { afd 203 io.c max_fd = ATOMIC_CAS(max_file_descriptor, max_fd, afd);