Lines Matching refs:res_p
951 for (struct addrinfo *res_p = res; res_p; res_p = res_p->ai_next) { in addrinfo_to_nsos_mid() local
964 for (struct addrinfo *res_p = res; res_p; res_p = res_p->ai_next, idx_res++) { in addrinfo_to_nsos_mid() local
967 wrap->addrinfo = res_p; in addrinfo_to_nsos_mid()
969 wrap->addrinfo_mid.ai_flags = res_p->ai_flags; in addrinfo_to_nsos_mid()
971 ret = socket_family_to_nsos_mid(res_p->ai_family, &wrap->addrinfo_mid.ai_family); in addrinfo_to_nsos_mid()
976 ret = socket_type_to_nsos_mid(res_p->ai_socktype, &wrap->addrinfo_mid.ai_socktype); in addrinfo_to_nsos_mid()
981 ret = socket_proto_to_nsos_mid(res_p->ai_protocol, &wrap->addrinfo_mid.ai_protocol); in addrinfo_to_nsos_mid()
990 ret = sockaddr_to_nsos_mid(res_p->ai_addr, res_p->ai_addrlen, in addrinfo_to_nsos_mid()
998 res_p->ai_canonname ? strdup(res_p->ai_canonname) : NULL; in addrinfo_to_nsos_mid()
1009 for (struct nsos_mid_addrinfo *res_p = &nsos_res_wraps[0].addrinfo_mid; in addrinfo_to_nsos_mid() local
1010 res_p; in addrinfo_to_nsos_mid()
1011 res_p = res_p->ai_next) { in addrinfo_to_nsos_mid()
1012 free(res_p->ai_canonname); in addrinfo_to_nsos_mid()
1072 for (struct nsos_mid_addrinfo *res_p = res_mid; res_p; res_p = res_p->ai_next) { in nsos_adapt_freeaddrinfo() local
1073 free(res_p->ai_canonname); in nsos_adapt_freeaddrinfo()