Home
last modified time | relevance | path

Searched refs:addr_list (Results 1 – 21 of 21) sorted by relevance

/third_party/musl/porting/liteos_a/user/src/network/
Dent.c25 char addr_list[MAX_ADDR_NO + 1][INET6_ADDR_LEN + 1]; member
53 if (inet_pton(AF_INET, ch, hd->addr_list[0]) == 1) { in gethostent_resolv()
56 hd->addr_list[0][INET_ADDR_LEN] = '\0'; in gethostent_resolv()
57 } else if (inet_pton(AF_INET6, ch, hd->addr_list[0]) == 1) { in gethostent_resolv()
60 hd->addr_list[0][INET6_ADDR_LEN] = '\0'; in gethostent_resolv()
65 hd->addr[0] = hd->addr_list[0]; in gethostent_resolv()
/third_party/mbedtls/library/
Dnet_sockets.c184 struct addrinfo hints, *addr_list, *cur; in mbedtls_net_connect() local
195 if( getaddrinfo( host, port, &hints, &addr_list ) != 0 ) in mbedtls_net_connect()
200 for( cur = addr_list; cur != NULL; cur = cur->ai_next ) in mbedtls_net_connect()
227 freeaddrinfo( addr_list ); in mbedtls_net_connect()
238 struct addrinfo hints, *addr_list, *cur; in mbedtls_net_bind() local
251 if( getaddrinfo( bind_ip, port, &hints, &addr_list ) != 0 ) in mbedtls_net_bind()
256 for( cur = addr_list; cur != NULL; cur = cur->ai_next ) in mbedtls_net_bind()
298 freeaddrinfo( addr_list ); in mbedtls_net_bind()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
Dwps_upnp_event.c131 if (e->retry >= dl_list_len(&s->addr_list)) { in event_retry()
199 if (dl_list_empty(&s->addr_list)) { in event_addr_failure()
280 if (dl_list_empty(&s->addr_list) || in event_send_start()
289 dl_list_for_each(e->addr, &s->addr_list, struct subscr_addr, list) in event_send_start()
Dwps_upnp.c298 dl_list_for_each_safe(a, tmp, &s->addr_list, struct subscr_addr, list) in subscr_addr_free_all()
400 if (dl_list_len(&s->addr_list) >= MAX_ADDR_PER_SUBSCRIPTION) { in subscr_addr_add_url()
428 dl_list_add(&s->addr_list, &a->list); in subscr_addr_add_url()
740 dl_list_init(&s->addr_list); in subscription_start()
750 if (dl_list_empty(&s->addr_list)) { in subscription_start()
Dwps_upnp_i.h91 struct dl_list addr_list; member
Dwps_upnp_web.c679 dl_list_for_each(a, &s->addr_list, struct subscr_addr, list) { in find_er_addr()
1296 sa = dl_list_first(&s->addr_list, struct subscr_addr, in web_connection_parse_unsubscribe()
Dwps_registrar.c3525 sa = dl_list_first(&s->addr_list, struct subscr_addr, list); in wps_registrar_sel_reg_union()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
Dwps_upnp_event.c131 if (e->retry >= dl_list_len(&s->addr_list)) { in event_retry()
198 if (dl_list_empty(&s->addr_list)) { in event_addr_failure()
279 if (dl_list_empty(&s->addr_list) || in event_send_start()
288 dl_list_for_each(e->addr, &s->addr_list, struct subscr_addr, list) in event_send_start()
Dwps_upnp.c298 dl_list_for_each_safe(a, tmp, &s->addr_list, struct subscr_addr, list) in subscr_addr_free_all()
386 if (dl_list_len(&s->addr_list) >= MAX_ADDR_PER_SUBSCRIPTION) { in subscr_addr_add_url()
407 dl_list_add(&s->addr_list, &a->list); in subscr_addr_add_url()
718 dl_list_init(&s->addr_list); in subscription_start()
728 if (dl_list_empty(&s->addr_list)) { in subscription_start()
Dwps_upnp_i.h91 struct dl_list addr_list; member
Dwps_upnp_web.c679 dl_list_for_each(a, &s->addr_list, struct subscr_addr, list) { in find_er_addr()
1296 sa = dl_list_first(&s->addr_list, struct subscr_addr, in web_connection_parse_unsubscribe()
Dwps_registrar.c3533 sa = dl_list_first(&s->addr_list, struct subscr_addr, list); in wps_registrar_sel_reg_union()
/third_party/lwip/src/api/
Dnetdb.c54 ip_addr_t *addr_list[2]; member
211 h->addr_list[0] = &h->addr; in lwip_gethostbyname_r()
212 h->addr_list[1] = NULL; in lwip_gethostbyname_r()
218 ret->h_addr_list = (char **)&h->addr_list; in lwip_gethostbyname_r()
/third_party/lwip/src/netif/ppp/
Dauth.c2333 struct wordlist *ap, *addr_list, *alist, **app;
2343 addr_list = NULL;
2447 if (addr_list)
2448 free_wordlist(addr_list);
2449 addr_list = alist;
2458 for (app = &addr_list; (ap = *app) != NULL; app = &ap->next)
2472 *addrs = addr_list;
2473 else if (addr_list != NULL)
2474 free_wordlist(addr_list);
/third_party/python/Lib/test/
Dtest_ipaddress.py1635 addr_list = list(addr)
1636 self.assertEqual('172.31.255.128', str(addr_list[0]))
1638 self.assertEqual('172.31.255.143', str(addr_list[-1]))
1640 self.assertEqual(addr_list[-1], addr[-1])
/third_party/python/Modules/
Dsocketmodule.c5523 PyObject *addr_list = (PyObject *)NULL; local
5559 if ((addr_list = PyList_New(0)) == NULL)
5626 status = PyList_Append(addr_list, tmp);
5636 rtn_tuple = Py_BuildValue("NOO", name, name_list, addr_list);
5640 Py_XDECREF(addr_list);
/third_party/chromium/patch/
D0004-ohos-3.2-Beta5.patch6637 - net::AddressList addr_list;
6639 - return addr_list;
6645 - return addr_list;
6653 + net::AddressList addr_list;
6661 - addr_list.SetDnsAliases(std::move(aliases));
6662 + addr_list.SetDnsAliases({*canonical_name});
6670 addr_list.push_back(ipe);
6676 return addr_list;
D0003-ohos-1115.patch18303 + net::AddressList addr_list;
18305 + return addr_list;
18311 + return addr_list;
18319 + addr_list.SetDnsAliases(std::move(aliases));
18325 + addr_list.push_back(ipe);
18329 + return addr_list;
56526 + AddressList addr_list = GetAddrList(hostname);
56527 + if (addr_list.empty()) {
56532 + if (ContainsIcannNameCollisionIp(addr_list))
56537 + ? AddressList::CopyWithPort(addr_list, 0)
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h14490 struct list_head addr_list; member
/third_party/libabigail/tests/data/test-diff-filter/
Dtest-PR27569-v1.abi14454 …<var-decl name="addr_list" type-id="72f469ec" visibility="default" filepath="include/net/if_inet6.…
56631 …<var-decl name="addr_list" type-id="72f469ec" visibility="default" filepath="include/net/if_inet6.…
Dtest-PR27569-v0.abi14454 …<var-decl name="addr_list" type-id="72f469ec" visibility="default" filepath="include/net/if_inet6.…
56616 …<var-decl name="addr_list" type-id="72f469ec" visibility="default" filepath="include/net/if_inet6.…