Lines Matching refs:wrap
1461 struct zsock_addrinfo_wrap *wrap = &res_wraps[idx_res]; in addrinfo_from_nsos_mid() local
1463 wrap->addrinfo_mid = res_p; in addrinfo_from_nsos_mid()
1465 wrap->addrinfo.ai_flags = res_p->ai_flags; in addrinfo_from_nsos_mid()
1466 wrap->addrinfo.ai_family = res_p->ai_family; in addrinfo_from_nsos_mid()
1467 wrap->addrinfo.ai_socktype = res_p->ai_socktype; in addrinfo_from_nsos_mid()
1468 wrap->addrinfo.ai_protocol = res_p->ai_protocol; in addrinfo_from_nsos_mid()
1470 wrap->addrinfo.ai_addr = in addrinfo_from_nsos_mid()
1471 (struct sockaddr *)&wrap->addr_storage; in addrinfo_from_nsos_mid()
1472 wrap->addrinfo.ai_addrlen = sizeof(wrap->addr_storage); in addrinfo_from_nsos_mid()
1474 sockaddr_from_nsos_mid(wrap->addrinfo.ai_addr, &wrap->addrinfo.ai_addrlen, in addrinfo_from_nsos_mid()
1477 wrap->addrinfo.ai_canonname = in addrinfo_from_nsos_mid()
1479 wrap->addrinfo.ai_next = &wrap[1].addrinfo; in addrinfo_from_nsos_mid()
1532 struct zsock_addrinfo_wrap *wrap = in nsos_freeaddrinfo() local
1539 nsos_adapt_freeaddrinfo(wrap->addrinfo_mid); in nsos_freeaddrinfo()
1540 k_free(wrap); in nsos_freeaddrinfo()