Searched refs:a_af (Results 1 – 2 of 2) sorted by relevance
/third_party/python/Modules/ |
D | getnameinfo.c | 56 int a_af; member 123 for (i = 0; gni_afdl[i].a_af; i++) 124 if (gni_afdl[i].a_af == family) { 173 if (inet_ntop(gni_afd->a_af, addr, numaddr, sizeof(numaddr)) 181 hp = getipnodebyaddr(addr, gni_afd->a_addrlen, gni_afd->a_af, &h_error); 183 hp = gethostbyaddr(addr, gni_afd->a_addrlen, gni_afd->a_af); 205 if (inet_ntop(gni_afd->a_af, addr, numaddr, sizeof(numaddr))
|
D | getaddrinfo.c | 90 int a_af; member 177 (ai)->ai_addr->sa_family = (ai)->ai_family = (gai_afd)->a_af;\ 192 (ai)->ai_addr->sa_family = (ai)->ai_family = (gai_afd)->a_af;\ 386 for (gai_afd = &gai_afdl[0]; gai_afd->a_af; gai_afd++) { in getaddrinfo() 388 || pai->ai_family == gai_afd->a_af)) { in getaddrinfo() 414 for (i = 0; gai_afdl[i].a_af; i++) { in getaddrinfo() 415 if (inet_pton(gai_afdl[i].a_af, hostname, pton)) { in getaddrinfo() 421 switch (gai_afdl[i].a_af) { in getaddrinfo() 440 if (pai->ai_family == gai_afdl[i].a_af || in getaddrinfo() 501 hp = getipnodebyaddr(addr, gai_afd->a_addrlen, gai_afd->a_af, &h_error); [all …]
|