/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/netinet/ |
D | sctp_bsd_addr.c | 429 if (ifa->ifa_addr == NULL) { 433 if (ifa->ifa_addr->sa_family != AF_INET6) { 438 if (ifa->ifa_addr->sa_family != AF_INET) { 443 if ((ifa->ifa_addr->sa_family != AF_INET) && (ifa->ifa_addr->sa_family != AF_INET6)) { 449 if ((ifa->ifa_addr->sa_family == AF_INET6) && 450 IN6_IS_ADDR_UNSPECIFIED(&((struct sockaddr_in6 *)ifa->ifa_addr)->sin6_addr)) { 456 if (ifa->ifa_addr->sa_family == AF_INET && 457 ((struct sockaddr_in *)ifa->ifa_addr)->sin_addr.s_addr == 0) { 468 ifa->ifa_addr, 516 if (ifa->ifa_addr == NULL) { [all …]
|
/third_party/libuv/src/unix/ |
D | bsd-ifaddrs.c | 41 if (ent->ifa_addr == NULL) in uv__ifaddr_exclude() 50 return (ent->ifa_addr->sa_family != AF_LINK); in uv__ifaddr_exclude() 58 if (ent->ifa_addr->sa_family == AF_LINK) in uv__ifaddr_exclude() 61 if (ent->ifa_addr->sa_family != PF_INET && in uv__ifaddr_exclude() 62 ent->ifa_addr->sa_family != PF_INET6) in uv__ifaddr_exclude() 110 if (ent->ifa_addr->sa_family == AF_INET6) { in uv_interface_addresses() 111 address->address.address6 = *((struct sockaddr_in6*) ent->ifa_addr); in uv_interface_addresses() 113 address->address.address4 = *((struct sockaddr_in*) ent->ifa_addr); in uv_interface_addresses() 140 sa_addr = (struct sockaddr_dl*)(ent->ifa_addr); in uv_interface_addresses()
|
D | ibmi.c | 402 if (!(cur->ifa_addr->sa_family == AF_INET6 || in uv_interface_addresses() 403 cur->ifa_addr->sa_family == AF_INET)) in uv_interface_addresses() 427 if (!(cur->ifa_addr->sa_family == AF_INET6 || in uv_interface_addresses() 428 cur->ifa_addr->sa_family == AF_INET)) in uv_interface_addresses() 436 inet6 = (cur->ifa_addr->sa_family == AF_INET6); in uv_interface_addresses() 439 address->address.address6 = *((struct sockaddr_in6*)cur->ifa_addr); in uv_interface_addresses() 443 address->address.address4 = *((struct sockaddr_in*)cur->ifa_addr); in uv_interface_addresses()
|
D | linux-core.c | 623 if (ent->ifa_addr == NULL) in uv__ifaddr_exclude() 629 if (ent->ifa_addr->sa_family == PF_PACKET) in uv__ifaddr_exclude() 680 if (ent->ifa_addr->sa_family == AF_INET6) { in uv_interface_addresses() 681 address->address.address6 = *((struct sockaddr_in6*) ent->ifa_addr); in uv_interface_addresses() 683 address->address.address4 = *((struct sockaddr_in*) ent->ifa_addr); in uv_interface_addresses() 709 sll = (struct sockaddr_ll*)ent->ifa_addr; in uv_interface_addresses()
|
D | sunos.c | 773 sa_addr = (struct sockaddr_dl*)(ent->ifa_addr); in uv__set_phys_addr() 810 if (ent->ifa_addr == NULL) in uv__ifaddr_exclude() 812 if (ent->ifa_addr->sa_family != AF_INET && in uv__ifaddr_exclude() 813 ent->ifa_addr->sa_family != AF_INET6) in uv__ifaddr_exclude() 855 if (ent->ifa_addr->sa_family == AF_INET6) { in uv_interface_addresses() 856 address->address.address6 = *((struct sockaddr_in6*) ent->ifa_addr); in uv_interface_addresses() 858 address->address.address4 = *((struct sockaddr_in*) ent->ifa_addr); in uv_interface_addresses()
|
/third_party/node/deps/uv/src/unix/ |
D | bsd-ifaddrs.c | 41 if (ent->ifa_addr == NULL) in uv__ifaddr_exclude() 50 return (ent->ifa_addr->sa_family != AF_LINK); in uv__ifaddr_exclude() 58 if (ent->ifa_addr->sa_family == AF_LINK) in uv__ifaddr_exclude() 61 if (ent->ifa_addr->sa_family != PF_INET && in uv__ifaddr_exclude() 62 ent->ifa_addr->sa_family != PF_INET6) in uv__ifaddr_exclude() 110 if (ent->ifa_addr->sa_family == AF_INET6) { in uv_interface_addresses() 111 address->address.address6 = *((struct sockaddr_in6*) ent->ifa_addr); in uv_interface_addresses() 113 address->address.address4 = *((struct sockaddr_in*) ent->ifa_addr); in uv_interface_addresses() 140 sa_addr = (struct sockaddr_dl*)(ent->ifa_addr); in uv_interface_addresses()
|
D | ibmi.c | 402 if (!(cur->ifa_addr->sa_family == AF_INET6 || in uv_interface_addresses() 403 cur->ifa_addr->sa_family == AF_INET)) in uv_interface_addresses() 427 if (!(cur->ifa_addr->sa_family == AF_INET6 || in uv_interface_addresses() 428 cur->ifa_addr->sa_family == AF_INET)) in uv_interface_addresses() 436 inet6 = (cur->ifa_addr->sa_family == AF_INET6); in uv_interface_addresses() 439 address->address.address6 = *((struct sockaddr_in6*)cur->ifa_addr); in uv_interface_addresses() 443 address->address.address4 = *((struct sockaddr_in*)cur->ifa_addr); in uv_interface_addresses()
|
D | linux-core.c | 623 if (ent->ifa_addr == NULL) in uv__ifaddr_exclude() 629 if (ent->ifa_addr->sa_family == PF_PACKET) in uv__ifaddr_exclude() 680 if (ent->ifa_addr->sa_family == AF_INET6) { in uv_interface_addresses() 681 address->address.address6 = *((struct sockaddr_in6*) ent->ifa_addr); in uv_interface_addresses() 683 address->address.address4 = *((struct sockaddr_in*) ent->ifa_addr); in uv_interface_addresses() 709 sll = (struct sockaddr_ll*)ent->ifa_addr; in uv_interface_addresses()
|
D | sunos.c | 773 sa_addr = (struct sockaddr_dl*)(ent->ifa_addr); in uv__set_phys_addr() 810 if (ent->ifa_addr == NULL) in uv__ifaddr_exclude() 812 if (ent->ifa_addr->sa_family != AF_INET && in uv__ifaddr_exclude() 813 ent->ifa_addr->sa_family != AF_INET6) in uv__ifaddr_exclude() 855 if (ent->ifa_addr->sa_family == AF_INET6) { in uv_interface_addresses() 856 address->address.address6 = *((struct sockaddr_in6*) ent->ifa_addr); in uv_interface_addresses() 858 address->address.address4 = *((struct sockaddr_in*) ent->ifa_addr); in uv_interface_addresses()
|
/third_party/musl/libc-test/src/functionalext/supplement/network/ |
D | freeifaddrs.c | 44 if (addr->ifa_addr && addr->ifa_addr->sa_family == AF_INET) { in freeifaddrs_0100() 46 } else if (addr->ifa_addr && addr->ifa_addr->sa_family == AF_INET6) { in freeifaddrs_0100() 48 } else if (addr->ifa_addr && addr->ifa_addr->sa_family == AF_PACKET) { in freeifaddrs_0100()
|
/third_party/musl/porting/liteos_a/user/src/network/ |
D | getifaddrs.c | 56 if (!ifp->ifa_addr) in freeifaddrs() 57 free(ifp->ifa_addr); in freeifaddrs() 152 …copy_lladdr(&ifs->ifa.ifa_addr, &ifs->addr, RTA_DATA(rta), RTA_DATALEN(rta), ifi->ifi_index, ifi->… in netlink_msg_to_ifaddr() 176 if (ifs->ifa.ifa_addr) in netlink_msg_to_ifaddr() 179 …copy_addr(&ifs->ifa.ifa_addr, ifa->ifa_family, &ifs->addr, RTA_DATA(rta), RTA_DATALEN(rta), ifa->i… in netlink_msg_to_ifaddr() 187 if (ifs->ifa.ifa_addr) { in netlink_msg_to_ifaddr() 192 …copy_addr(&ifs->ifa.ifa_addr, ifa->ifa_family, &ifs->addr, RTA_DATA(rta), RTA_DATALEN(rta), ifa->i… in netlink_msg_to_ifaddr() 202 if (ifs->ifa.ifa_addr) in netlink_msg_to_ifaddr() 224 ifa->ifa_addr = malloc(sizeof(struct sockaddr)); in ifaddrs_init() 227 if (!ifa->ifa_name || !ifa->ifa_addr || !ifa->ifa_netmask) { in ifaddrs_init() [all …]
|
/third_party/curl/lib/ |
D | if2ip.c | 117 if(iface->ifa_addr) { in Curl_if2ip() 118 if(iface->ifa_addr->sa_family == af) { in Curl_if2ip() 129 unsigned int ifscope = Curl_ipv6_scope(iface->ifa_addr); in Curl_if2ip() 141 &((struct sockaddr_in6 *)(void *)iface->ifa_addr)->sin6_addr; in Curl_if2ip() 144 scopeid = ((struct sockaddr_in6 *)(void *)iface->ifa_addr) in Curl_if2ip() 162 &((struct sockaddr_in *)(void *)iface->ifa_addr)->sin_addr; in Curl_if2ip()
|
/third_party/musl/src/network/ |
D | getifaddrs.c | 143 …copy_lladdr(&ifs->ifa.ifa_addr, &ifs->addr, RTA_DATA(rta), RTA_DATALEN(rta), ifi->ifi_index, ifi->… in netlink_msg_to_ifaddr() 167 if (ifs->ifa.ifa_addr) in netlink_msg_to_ifaddr() 170 …copy_addr(&ifs->ifa.ifa_addr, ifa->ifa_family, &ifs->addr, RTA_DATA(rta), RTA_DATALEN(rta), ifa->i… in netlink_msg_to_ifaddr() 178 if (ifs->ifa.ifa_addr) { in netlink_msg_to_ifaddr() 183 …copy_addr(&ifs->ifa.ifa_addr, ifa->ifa_family, &ifs->addr, RTA_DATA(rta), RTA_DATALEN(rta), ifa->i… in netlink_msg_to_ifaddr() 193 if (ifs->ifa.ifa_addr) in netlink_msg_to_ifaddr()
|
/third_party/libwebsockets/lib/misc/ |
D | getifaddrs.c | 149 (*end)->ifa_addr = lws_malloc(salen, "getifaddrs"); in getifaddrs2() 150 memcpy((*end)->ifa_addr, sa, salen); in getifaddrs2() 218 lws_free(p->ifa_addr); in freeifaddrs() 254 if (p->ifa_addr) in print_ifaddrs() 255 print_addr("addr", p->ifa_addr); in print_ifaddrs()
|
D | getifaddrs.h | 61 struct sockaddr *ifa_addr; member
|
/third_party/libwebsockets/lib/plat/freertos/ |
D | freertos-sockets.c | 216 if (!ifc->ifa_addr) in lws_interface_to_sa() 224 switch (ifc->ifa_addr->sa_family) { in lws_interface_to_sa() 234 &((struct sockaddr_in *)ifc->ifa_addr)->sin_addr, in lws_interface_to_sa() 239 (struct sockaddr_in *)ifc->ifa_addr, in lws_interface_to_sa() 245 &((struct sockaddr_in6 *)ifc->ifa_addr)->sin6_addr, in lws_interface_to_sa()
|
/third_party/libwebsockets/lib/plat/unix/ |
D | unix-sockets.c | 310 if (!ifc->ifa_addr || !ifc->ifa_name) in lws_interface_to_sa() 315 ifc->ifa_addr->sa_family, ipv6); in lws_interface_to_sa() 320 switch (ifc->ifa_addr->sa_family) { in lws_interface_to_sa() 343 &((struct sockaddr_in *)ifc->ifa_addr)->sin_addr, in lws_interface_to_sa() 352 memcpy(addr, (struct sockaddr_in *)ifc->ifa_addr, in lws_interface_to_sa() 358 &((struct sockaddr_in6 *)ifc->ifa_addr)->sin6_addr; in lws_interface_to_sa() 370 &((struct sockaddr_in6 *)ifc->ifa_addr)->sin6_addr, in lws_interface_to_sa()
|
/third_party/toybox/porting/liteos_a/toys/net/ |
D | ping.c | 137 if (!ifa->ifa_addr || ifa->ifa_addr->sa_family!=ai->ai_family in ping_main() 139 sa = (void *)ifa->ifa_addr; in ping_main()
|
/third_party/gstreamer/gstreamer/libs/gst/helpers/ |
D | gst-ptp-helper.c | 292 if (!ifa->ifa_addr || ifa->ifa_addr->sa_family != AF_LINK) in setup_sockets() 374 struct sockaddr_dl *sdl = (struct sockaddr_dl *) ifa->ifa_addr; in setup_sockets() 380 if (!ifa->ifa_addr || ifa->ifa_addr->sa_family != AF_LINK) in setup_sockets()
|
/third_party/toybox/toys/net/ |
D | ping.c | 157 if (!ifa->ifa_addr || ifa->ifa_addr->sa_family!=ai->ai_family in ping_main() 159 sa = (void *)ifa->ifa_addr; in ping_main()
|
/third_party/musl/ndk_musl_include/ |
D | ifaddrs.h | 16 struct sockaddr *ifa_addr; member
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/ |
D | ifaddrs.h | 16 struct sockaddr *ifa_addr; member
|
/third_party/musl/porting/liteos_a/kernel/include/ |
D | ifaddrs.h | 16 struct sockaddr *ifa_addr; member
|
/third_party/musl/include/ |
D | ifaddrs.h | 16 struct sockaddr *ifa_addr; member
|
/third_party/musl/porting/uniproton/kernel/include/ |
D | ifaddrs.h | 16 struct sockaddr *ifa_addr; member
|