Lines Matching refs:addrinfo_mid
938 struct nsos_mid_addrinfo addrinfo_mid; member
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()
986 wrap->addrinfo_mid.ai_addr = in addrinfo_to_nsos_mid()
988 wrap->addrinfo_mid.ai_addrlen = sizeof(wrap->addr_storage); in addrinfo_to_nsos_mid()
991 wrap->addrinfo_mid.ai_addr, in addrinfo_to_nsos_mid()
992 &wrap->addrinfo_mid.ai_addrlen); in addrinfo_to_nsos_mid()
997 wrap->addrinfo_mid.ai_canonname = in addrinfo_to_nsos_mid()
999 wrap->addrinfo_mid.ai_next = &wrap[1].addrinfo_mid; in addrinfo_to_nsos_mid()
1002 nsos_res_wraps[n_res - 1].addrinfo_mid.ai_next = NULL; in addrinfo_to_nsos_mid()
1004 *mid_res = &nsos_res_wraps->addrinfo_mid; in addrinfo_to_nsos_mid()
1009 for (struct nsos_mid_addrinfo *res_p = &nsos_res_wraps[0].addrinfo_mid; in addrinfo_to_nsos_mid()
1070 CONTAINER_OF(res_mid, struct nsos_addrinfo_wrap, addrinfo_mid); in nsos_adapt_freeaddrinfo()