/third_party/musl/libc-test/src/functionalext/supplement/misc/ |
D | ioctl.c | 102 printf("address: %s\n", inet_ntoa(((struct sockaddr_in *)&(ifr[i].ifr_addr))->sin_addr)); in ioctl_0200() 111 strcpy(interAddr, inet_ntoa(((struct sockaddr_in *)&(ifr[0].ifr_addr))->sin_addr)); in ioctl_0200() 116 struct sockaddr_in *srvAddr = (struct sockaddr_in *)&ifrAddr.ifr_addr; in ioctl_0200()
|
/third_party/toybox/porting/liteos_a/toys/net/ |
D | ifconfig.c | 103 struct sockaddr_in *si = (void *)&ifre.ifr_addr; in display_ifconfig() 157 ifre.ifr_addr.sa_family = AF_INET; in display_ifconfig() 158 memset(&ifre.ifr_addr, 0, sizeof(ifre.ifr_addr)); in display_ifconfig() 160 pp = (char *)&ifre.ifr_addr; in display_ifconfig() 161 for (i = 0; i<sizeof(ifre.ifr_addr); i++) if (pp[i]) break; in display_ifconfig() 163 if (!(toys.optflags&FLAG_S) && i != sizeof(ifre.ifr_addr)) { in display_ifconfig() 164 struct sockaddr_in *si = (struct sockaddr_in *)&ifre.ifr_addr; in display_ifconfig() 529 struct sockaddr_in *si = (struct sockaddr_in *)&ifre.ifr_addr; in ifconfig_main()
|
/third_party/toybox/toys/net/ |
D | ifconfig.c | 104 struct sockaddr_in *si = (void *)&ifre.ifr_addr; in display_ifconfig() 158 ifre.ifr_addr.sa_family = AF_INET; in display_ifconfig() 159 memset(&ifre.ifr_addr, 0, sizeof(ifre.ifr_addr)); in display_ifconfig() 161 pp = (char *)&ifre.ifr_addr; in display_ifconfig() 162 for (i = 0; i<sizeof(ifre.ifr_addr); i++) if (pp[i]) break; in display_ifconfig() 164 if (!(toys.optflags&FLAG_S) && i != sizeof(ifre.ifr_addr)) { in display_ifconfig() 165 struct sockaddr_in *si = (struct sockaddr_in *)&ifre.ifr_addr; in display_ifconfig() 516 struct sockaddr_in *si = (struct sockaddr_in *)&ifre.ifr_addr; in ifconfig_main()
|
/third_party/libuv/src/unix/ |
D | aix.c | 1147 ((char*)ifr + sizeof(ifr->ifr_name) + ADDR_SIZE(ifr->ifr_addr)); in uv_interface_addresses() 1149 if (!(p->ifr_addr.sa_family == AF_INET6 || in uv_interface_addresses() 1150 p->ifr_addr.sa_family == AF_INET)) in uv_interface_addresses() 1180 ((char*)ifr + sizeof(ifr->ifr_name) + ADDR_SIZE(ifr->ifr_addr)); in uv_interface_addresses() 1182 if (!(p->ifr_addr.sa_family == AF_INET6 || in uv_interface_addresses() 1183 p->ifr_addr.sa_family == AF_INET)) in uv_interface_addresses() 1186 inet6 = (p->ifr_addr.sa_family == AF_INET6); in uv_interface_addresses() 1200 address->address.address6 = *((struct sockaddr_in6*) &p->ifr_addr); in uv_interface_addresses() 1202 address->address.address4 = *((struct sockaddr_in*) &p->ifr_addr); in uv_interface_addresses() 1210 memcpy(&if6.ifr_Addr, &p->ifr_addr, sizeof(if6.ifr_Addr)); in uv_interface_addresses() [all …]
|
D | os390.c | 398 ((char*)ifr + sizeof(ifr->ifr_name) + ADDR_SIZE(ifr->ifr_addr)); in uv_interface_addresses() 400 if (!(p->ifr_addr.sa_family == AF_INET6 || in uv_interface_addresses() 401 p->ifr_addr.sa_family == AF_INET)) in uv_interface_addresses() 441 ((char*)ifr + sizeof(ifr->ifr_name) + ADDR_SIZE(ifr->ifr_addr)); in uv_interface_addresses() 443 if (!(p->ifr_addr.sa_family == AF_INET6 || in uv_interface_addresses() 444 p->ifr_addr.sa_family == AF_INET)) in uv_interface_addresses() 460 if (p->ifr_addr.sa_family == AF_INET6) { in uv_interface_addresses() 461 address->address.address6 = *((struct sockaddr_in6*) &p->ifr_addr); in uv_interface_addresses() 463 address->address.address4 = *((struct sockaddr_in*) &p->ifr_addr); in uv_interface_addresses()
|
/third_party/curl/lib/ |
D | if2ip.c | 211 req.ifr_addr.sa_family = AF_INET; in Curl_if2ip() 221 s = (struct sockaddr_in *)(void *)&req.ifr_addr; in Curl_if2ip()
|
D | if2ip.h | 70 #define ifr_addr ifr_ifru.ifru_addr /* address */ macro
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
D | driver_wired_common.c | 108 dlp = (struct sockaddr_dl *) &ifr.ifr_addr; in driver_wired_multi() 122 sap = (struct sockaddr *) &ifr.ifr_addr; in driver_wired_multi()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
D | driver_wired_common.c | 108 dlp = (struct sockaddr_dl *) &ifr.ifr_addr; in driver_wired_multi() 122 sap = (struct sockaddr *) &ifr.ifr_addr; in driver_wired_multi()
|
/third_party/libwebsockets/lib/plat/unix/ |
D | unix-sockets.c | 502 i.ifr_addr.sa_family = AF_INET; in lws_plat_BINDTODEVICE() 532 memcpy(&ifr.ifr_addr, &is->sa46[LWSDH_SA46_IP], sizeof(struct sockaddr)); in lws_plat_ifconfig() 544 memcpy(&ifr.ifr_addr, &sin, sizeof(struct sockaddr)); in lws_plat_ifconfig()
|
/third_party/musl/ndk_musl_include/net/ |
D | if.h | 98 #define ifr_addr ifr_ifru.ifru_addr macro
|
/third_party/musl/porting/liteos_a/kernel/include/net/ |
D | if.h | 98 #define ifr_addr ifr_ifru.ifru_addr macro
|
/third_party/musl/porting/uniproton/kernel/include/net/ |
D | if.h | 98 #define ifr_addr ifr_ifru.ifru_addr macro
|
/third_party/musl/porting/liteos_m/kernel/include/net/ |
D | if.h | 98 #define ifr_addr ifr_ifru.ifru_addr macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/net/ |
D | if.h | 98 #define ifr_addr ifr_ifru.ifru_addr macro
|
/third_party/musl/include/net/ |
D | if.h | 98 #define ifr_addr ifr_ifru.ifru_addr macro
|
/third_party/toybox/toys/pending/ |
D | arping.c | 59 req.ifr_addr.sa_family = AF_INET; in get_interface() 68 ip = (struct sockaddr_in*) &req.ifr_addr; in get_interface()
|
/third_party/libnl/include/linux-private/linux/ |
D | if.h | 256 #define ifr_addr ifr_ifru.ifru_addr /* address */ macro
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
D | iapp.c | 420 paddr = (struct sockaddr_in *) &ifr.ifr_addr; in iapp_init() 435 paddr = (struct sockaddr_in *) &ifr.ifr_addr; in iapp_init()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/ |
D | wps_upnp.c | 940 addr = (void *) &req.ifr_addr; in get_netif_info() 954 addr = (struct sockaddr_in *) &req.ifr_addr; in get_netif_info() 965 os_memcpy(mac, req.ifr_addr.sa_data, 6); in get_netif_info()
|
/third_party/e2fsprogs/lib/uuid/ |
D | gen_uuid.c | 249 sizeof((i).ifr_name)+(i).ifr_addr.sa_len) in get_node_id() 280 sdlp = (struct sockaddr_dl *) &ifrp->ifr_addr; in get_node_id()
|
/third_party/libwebsockets/lib/misc/ |
D | getifaddrs.c | 124 sa = &ifr->ifr_addr; in getifaddrs2()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
D | wps_upnp.c | 917 addr = (void *) &req.ifr_addr; in get_netif_info() 929 os_memcpy(mac, req.ifr_addr.sa_data, 6); in get_netif_info()
|
/third_party/musl/porting/liteos_a/user/src/network/ |
D | getifaddrs.c | 270 memcpy(ifa->ifa_addr, &ifr[i].ifr_addr, sizeof(struct sockaddr)); in getifaddrs()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/l2_packet/ |
D | l2_packet_linux.c | 475 saddr = aliasing_hide_typecast(&ifr.ifr_addr, struct sockaddr_in); in l2_packet_get_ip_addr()
|