Home
last modified time | relevance | path

Searched refs:SIOCGIFADDR (Results 1 – 25 of 41) sorted by relevance

12

/external/curl/lib/
Dif2ip.h78 #define SIOCGIFADDR _IOW('s', 102, struct ifreq) /* Get if addr */ macro
Dif2ip.c213 if(ioctl(dummy, SIOCGIFADDR, &req) < 0) { in Curl_if2ip()
/external/scapy/scapy/arch/
Dlinux.py41 SIOCGIFADDR = 0x8915 # get PA address variable
109 return get_if(iff, SIOCGIFADDR)[20:24]
205 ifreq = ioctl(sck, SIOCGIFADDR, struct.pack("16s16x", ifname))
235 ifreq = ioctl(s, SIOCGIFADDR,struct.pack("16s16x", LOOPBACK_NAME.encode("utf8")))
255 ifreq = ioctl(s, SIOCGIFADDR,struct.pack("16s16x", iff.encode("utf8")))
/external/iproute2/include/uapi/linux/
Dsockios.h41 #define SIOCGIFADDR 0x8915 /* get PA address */ macro
/external/kernel-headers/original/uapi/linux/
Dsockios.h62 #define SIOCGIFADDR 0x8915 /* get PA address */ macro
/external/strace/
Dsock.c68 case SIOCGIFADDR: in print_ifreq()
409 case SIOCGIFADDR: in MPERS_PRINTER_DECL()
/external/autotest/client/deps/lansim/src/
Dwrapper_sys_ioctl.c43 PyModule_AddIntMacro(m, SIOCGIFADDR); in _init_sys_ioctl_h()
/external/autotest/client/deps/lansim/src/py/
Dtuntap.py154 ifs = fcntl.ioctl(self._sock, pyiftun.SIOCGIFADDR,
/external/curl/CMake/
DCurlTests.c471 if(0 != ioctl(0, SIOCGIFADDR, &ifr)) in main()
/external/toybox/toys/net/
Difconfig.c127 ioctl(TT.sockfd, SIOCGIFADDR, &ifre); in display_ifconfig()
160 ioctl(TT.sockfd, SIOCGIFADDR, &ifre); in display_ifconfig()
/external/crosvm/net_sys/src/
Dsockios.rs23 pub const SIOCGIFADDR: ::std::os::raw::c_uint = 35093; constant
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_solaris.cpp148 unsigned IOCTL_SIOCGIFADDR = SIOCGIFADDR;
Dsanitizer_platform_limits_freebsd.cpp209 unsigned IOCTL_SIOCGIFADDR = SIOCGIFADDR;
Dsanitizer_platform_limits_posix.cpp498 unsigned IOCTL_SIOCGIFADDR = SIOCGIFADDR;
/external/toybox/toys/pending/
Darping.c67 xioctl(fd, SIOCGIFADDR, &req); in get_interface()
/external/dnsmasq/src/
Ddhcp.c165 if (ioctl(daemon->dhcpfd, SIOCGIFADDR, &ifr) != -1) { in dhcp_packet()
177 if (ioctl(daemon->dhcpfd, SIOCGIFADDR, &ifr) == -1) { in dhcp_packet()
/external/linux-kselftest/tools/testing/selftests/networking/timestamping/
Dtimestamping.c354 if (ioctl(sock, SIOCGIFADDR, &device) < 0) in main()
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_linux.c461 if (ioctl(s, SIOCGIFADDR, &ifr) < 0) { in l2_packet_get_ip_addr()
/external/crosvm/net_util/src/
Dlib.rs330 ioctl_with_mut_ref(&sock, net_sys::sockios::SIOCGIFADDR as IoctlNr, &mut ifreq) in ip_addr()
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/m4/
Dcares-functions.m42346 dnl Verify if ioctl with the SIOCGIFADDR command is available,
2357 AC_MSG_CHECKING([if ioctl SIOCGIFADDR is compilable])
2364 if(0 != ioctl(0, SIOCGIFADDR, &ifr))
2377 AC_MSG_CHECKING([if ioctl SIOCGIFADDR usage allowed])
2387 AC_MSG_CHECKING([if ioctl SIOCGIFADDR might be used])
2392 [Define to 1 if you have a working ioctl SIOCGIFADDR function.])
/external/wpa_supplicant_8/src/wps/
Dwps_upnp.c935 if (ioctl(sock, SIOCGIFADDR, &req) < 0) { in get_netif_info()
/external/rust/crates/libc/src/unix/bsd/
Dmod.rs472 pub const SIOCGIFADDR: ::c_ulong = 0xc0206921; constant
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/
Dares_config.h.cmake163 /* Define to 1 if you have a working ioctl SIOCGIFADDR function. */
/external/minijail/linux-x86/
Dlibconstants.gen.c4546 #ifdef SIOCGIFADDR
4547 { "SIOCGIFADDR", (unsigned long) SIOCGIFADDR },
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.cc497 unsigned IOCTL_SIOCGIFADDR = SIOCGIFADDR;

12