/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/ |
D | devninet.c | 61 (*(struct sockaddr_nin *)&ifr.ifr_addr).sin_family = AF_NINET; in ninet_gifconf() 62 memcpy(&((struct sockaddr_nin *)&ifr.ifr_addr)->sin_addr, &ifa->addr, in ninet_gifconf()
|
/kernel/liteos_a/testsuites/unittest/container/smoke/ |
D | It_net_container_001.cpp | 53 ifr.ifr_addr.sa_family = AF_INET; in SetIP() 54 inet_pton(AF_INET, ip, ifr.ifr_addr.sa_data + 2); /* 2: offset */ in SetIP()
|
D | It_net_container_002.cpp | 53 ifr.ifr_addr.sa_family = AF_INET; in SetIP() 54 inet_pton(AF_INET, ip, ifr.ifr_addr.sa_data + 2); /* 2: offset */ in SetIP()
|
/kernel/liteos_a/testsuites/unittest/container/ |
D | It_container_test.cpp | 169 ifr.ifr_addr.sa_family = AF_INET; in TryResetNetAddr() 170 inet_pton(AF_INET, netmask, ifr.ifr_addr.sa_data + OFFSET); in TryResetNetAddr() 177 inet_pton(AF_INET, ip, ifr.ifr_addr.sa_data + OFFSET); in TryResetNetAddr() 238 …ret = strcpy_s(ip, ipLen, inet_ntoa((reinterpret_cast<struct sockaddr_in *>(&ifr.ifr_addr))->sin_a… in NetContainerGetLocalIP()
|
/kernel/liteos_a/testsuites/unittest/net/socket/smoke/ |
D | net_socket_test_013.cpp | 143 ip = (reinterpret_cast<struct sockaddr_in *>(&(ifr.ifr_addr)))->sin_addr.s_addr; in GetIp() 159 msk = (reinterpret_cast<struct sockaddr_in *>(&(ifr.ifr_addr)))->sin_addr.s_addr; in GetNetmask()
|
/kernel/liteos_m/kal/libc/newlib/porting/include/net/ |
D | if.h | 116 #define ifr_addr ifr_ifru.ifru_addr macro
|
/kernel/uniproton/src/net/lwip-2.1/src/ |
D | sockets.c | 325 sockIn = (struct sockaddr_in *)&ifreq.ifr_addr; in OsLwipIoctlInternalSiocgifConf() 348 sockIn = (struct sockaddr_in *)&ifr->ifr_addr; in OsLwipIoctlInternalSiocgifAddr() 674 sockIn = (struct sockaddr_in *)&ifr->ifr_addr; in OsLwipIoctlInternalSiocgifBrdAddr()
|
/kernel/liteos_a/net/lwip-2.1/porting/src/ |
D | sockets.c | 527 sock_in = (struct sockaddr_in *)&ifreq.ifr_addr; 552 sock_in = (struct sockaddr_in *)&ifr->ifr_addr; 589 SOCKADDR_TO_IPADDR_PORT(&ifr->ifr_addr, &taget_addr, taget_port); 685 SOCKADDR_TO_IPADDR_PORT(&ifr->ifr_addr, &target_addr, target_port); 765 SOCKADDR_TO_IPADDR_PORT(&ifr->ifr_addr, &taget_addr, taget_port); 1252 sock_in = (struct sockaddr_in *)&ifr->ifr_addr;
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
D | if.h | 261 #define ifr_addr ifr_ifru.ifru_addr /* address */ macro
|
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
D | if.h | 161 #define ifr_addr ifr_ifru.ifru_addr macro
|
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
D | if.h | 168 #define ifr_addr ifr_ifru.ifru_addr macro
|
/kernel/liteos_m/components/net/lwip-2.1/porting/src/ |
D | sockets_porting.c | 334 sock_in = (struct sockaddr_in *)&ifreq.ifr_addr; in lwip_ioctl_internal_SIOCGIFCONF() 359 sock_in = (struct sockaddr_in *)&ifr->ifr_addr; in lwip_ioctl_internal_SIOCGIFADDR() 702 sock_in = (struct sockaddr_in *)&ifr->ifr_addr; in lwip_ioctl_internal_SIOCGIFBRDADDR()
|
/kernel/linux/linux-5.10/tools/testing/selftests/net/ |
D | timestamping.c | 400 ((struct sockaddr_in *)&device.ifr_addr)->sin_addr.s_addr; in main()
|
/kernel/liteos_m/testsuites/unittest/xts/net/ |
D | acts_net_test.c | 72 addr = (struct sockaddr_in *)&ifre[i].ifr_addr;
|
/kernel/linux/linux-5.10/drivers/net/appletalk/ |
D | cops.c | 933 struct sockaddr_at *sa = (struct sockaddr_at *)&ifr->ifr_addr; in cops_ioctl()
|
D | ltpc.c | 821 struct sockaddr_at *sa = (struct sockaddr_at *) &ifr->ifr_addr; in ltpc_ioctl()
|
/kernel/linux/linux-5.10/samples/bpf/ |
D | xdp_router_ipv4_user.c | 80 ifr.ifr_addr.sa_family = AF_INET; in getmac()
|
/kernel/linux/linux-5.10/net/mac802154/ |
D | iface.c | 54 (struct sockaddr_ieee802154 *)&ifr->ifr_addr; in mac802154_wpan_ioctl()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | devinet.c | 1013 struct sockaddr_in *sin = (struct sockaddr_in *)&ifr->ifr_addr; in devinet_ioctl() 1271 (*(struct sockaddr_in *)&ifr.ifr_addr).sin_family = AF_INET; in inet_gifconf() 1272 (*(struct sockaddr_in *)&ifr.ifr_addr).sin_addr.s_addr = in inet_gifconf()
|
/kernel/linux/linux-5.10/net/appletalk/ |
D | aarp.c | 442 struct sockaddr_at *sa = (struct sockaddr_at *)&atreq.ifr_addr; in aarp_send_probe_phase1()
|
D | ddp.c | 676 sa = (struct sockaddr_at *)&atreq.ifr_addr; in atif_ioctl()
|
/kernel/linux/linux-5.10/net/qrtr/ |
D | qrtr.c | 1142 sq = (struct sockaddr_qrtr *)&ifr.ifr_addr; in qrtr_ioctl()
|
/kernel/linux/linux-5.10/net/decnet/ |
D | dn_dev.c | 416 struct sockaddr_dn *sdn = (struct sockaddr_dn *)&ifr->ifr_addr; in dn_dev_ioctl()
|