Home
last modified time | relevance | path

Searched refs:ifr_addr (Results 1 – 23 of 23) sorted by relevance

/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Ddevninet.c61 (*(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/
DIt_net_container_001.cpp53 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()
DIt_net_container_002.cpp53 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/
DIt_container_test.cpp169 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/
Dnet_socket_test_013.cpp143 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/
Dif.h116 #define ifr_addr ifr_ifru.ifru_addr macro
/kernel/uniproton/src/net/lwip-2.1/src/
Dsockets.c325 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/
Dsockets.c527 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/
Dif.h261 #define ifr_addr ifr_ifru.ifru_addr /* address */ macro
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dif.h161 #define ifr_addr ifr_ifru.ifru_addr macro
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dif.h168 #define ifr_addr ifr_ifru.ifru_addr macro
/kernel/liteos_m/components/net/lwip-2.1/porting/src/
Dsockets_porting.c334 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/
Dtimestamping.c400 ((struct sockaddr_in *)&device.ifr_addr)->sin_addr.s_addr; in main()
/kernel/liteos_m/testsuites/unittest/xts/net/
Dacts_net_test.c72 addr = (struct sockaddr_in *)&ifre[i].ifr_addr;
/kernel/linux/linux-5.10/drivers/net/appletalk/
Dcops.c933 struct sockaddr_at *sa = (struct sockaddr_at *)&ifr->ifr_addr; in cops_ioctl()
Dltpc.c821 struct sockaddr_at *sa = (struct sockaddr_at *) &ifr->ifr_addr; in ltpc_ioctl()
/kernel/linux/linux-5.10/samples/bpf/
Dxdp_router_ipv4_user.c80 ifr.ifr_addr.sa_family = AF_INET; in getmac()
/kernel/linux/linux-5.10/net/mac802154/
Diface.c54 (struct sockaddr_ieee802154 *)&ifr->ifr_addr; in mac802154_wpan_ioctl()
/kernel/linux/linux-5.10/net/ipv4/
Ddevinet.c1013 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/
Daarp.c442 struct sockaddr_at *sa = (struct sockaddr_at *)&atreq.ifr_addr; in aarp_send_probe_phase1()
Dddp.c676 sa = (struct sockaddr_at *)&atreq.ifr_addr; in atif_ioctl()
/kernel/linux/linux-5.10/net/qrtr/
Dqrtr.c1142 sq = (struct sockaddr_qrtr *)&ifr.ifr_addr; in qrtr_ioctl()
/kernel/linux/linux-5.10/net/decnet/
Ddn_dev.c416 struct sockaddr_dn *sdn = (struct sockaddr_dn *)&ifr->ifr_addr; in dn_dev_ioctl()