Home
last modified time | relevance | path

Searched refs:ifr_flags (Results 1 – 25 of 38) sorted by relevance

12

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Dlinux_ioctl.c38 if (ifr.ifr_flags & IFF_UP) in linux_set_iface_flags()
40 ifr.ifr_flags |= IFF_UP; in linux_set_iface_flags()
42 if (!(ifr.ifr_flags & IFF_UP)) in linux_set_iface_flags()
44 ifr.ifr_flags &= ~IFF_UP; in linux_set_iface_flags()
77 return !!(ifr.ifr_flags & IFF_UP); in linux_iface_up()
Ddriver_wired_common.c53 *flags = ifr.ifr_flags & 0xffff; in driver_wired_get_ifflags()
71 ifr.ifr_flags = flags & 0xffff; in driver_wired_set_ifflags()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Dlinux_ioctl.c38 if (ifr.ifr_flags & IFF_UP) in linux_set_iface_flags()
40 ifr.ifr_flags |= IFF_UP; in linux_set_iface_flags()
42 if (!(ifr.ifr_flags & IFF_UP)) in linux_set_iface_flags()
44 ifr.ifr_flags &= ~IFF_UP; in linux_set_iface_flags()
77 return !!(ifr.ifr_flags & IFF_UP); in linux_iface_up()
Ddriver_wired_common.c53 *flags = ifr.ifr_flags & 0xffff; in driver_wired_get_ifflags()
71 ifr.ifr_flags = flags & 0xffff; in driver_wired_set_ifflags()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dvlan_ifconfig.c42 ifr.ifr_flags |= IFF_UP; in ifconfig_helper()
44 ifr.ifr_flags &= ~IFF_UP; in ifconfig_helper()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
Dvlan_ifconfig.c42 ifr.ifr_flags |= IFF_UP; in ifconfig_helper()
44 ifr.ifr_flags &= ~IFF_UP; in ifconfig_helper()
/third_party/ltp/testcases/kernel/syscalls/bind/
Dbind06.c89 ifr.ifr_flags = 0; in run()
91 ifr.ifr_flags = IFF_UP; in run()
/third_party/libwebsockets/lib/misc/
Dgetifaddrs.c148 (*end)->ifa_flags = (unsigned int)ifreq.ifr_flags; in getifaddrs2()
155 if (ifreq.ifr_flags & IFF_BROADCAST) { in getifaddrs2()
160 } else if (ifreq.ifr_flags & IFF_POINTOPOINT) { in getifaddrs2()
/third_party/toybox/toys/pending/
Darping.c64 if (!(req.ifr_flags & IFF_UP)) return; in get_interface()
216 if (!(ifr.ifr_flags & IFF_UP) && !(toys.optflags & FLAG_q)) in arping_main()
218 if ((ifr.ifr_flags & (IFF_NOARP | IFF_LOOPBACK)) in arping_main()
/third_party/libuv/src/unix/
Dos390.c410 if (!(flg.ifr_flags & IFF_UP && flg.ifr_flags & IFF_RUNNING)) in uv_interface_addresses()
453 if (!(flg.ifr_flags & IFF_UP && flg.ifr_flags & IFF_RUNNING)) in uv_interface_addresses()
466 address->is_internal = flg.ifr_flags & IFF_LOOPBACK ? 1 : 0; in uv_interface_addresses()
Daix.c1159 if (!(flg.ifr_flags & IFF_UP && flg.ifr_flags & IFF_RUNNING)) in uv_interface_addresses()
1192 if (!(flg.ifr_flags & IFF_UP && flg.ifr_flags & IFF_RUNNING)) in uv_interface_addresses()
1224 address->is_internal = flg.ifr_flags & IFF_LOOPBACK ? 1 : 0; in uv_interface_addresses()
/third_party/toybox/toys/net/
Dtunctl.c45 ifr->ifr_flags = ((toys.optflags&FLAG_T) ? IFF_TUN : IFF_TAP)|IFF_NO_PI;
Difconfig.c120 flags = ifre.ifr_flags; in display_ifconfig()
540 ifre.ifr_flags &= ~(rev ? on : off); in ifconfig_main()
541 ifre.ifr_flags |= (rev ? off : on); in ifconfig_main()
/third_party/curl/lib/
Dif2ip.h73 #define ifr_flags ifr_ifru.ifru_flags /* flags */ macro
/third_party/ltp/testcases/kernel/uevents/
Duevent02.c32 .ifr_flags = IFF_TUN, in generate_tun_uevents()
/third_party/ltp/testcases/kernel/syscalls/setsockopt/
Dsetsockopt05.c57 ifr.ifr_flags = IFF_UP; in setup()
/third_party/ltp/testcases/network/packet/
Dfanout01.c83 ifr.ifr_flags &= ~(short)IFF_UP; in run()
/third_party/toybox/porting/liteos_a/toys/net/
Difconfig.c119 flags = ifre.ifr_flags; in display_ifconfig()
553 ifre.ifr_flags &= ~(rev ? on : off); in ifconfig_main()
554 ifre.ifr_flags |= (rev ? off : on); in ifconfig_main()
/third_party/musl/porting/liteos_m/kernel/include/net/
Dif.h102 #define ifr_flags ifr_ifru.ifru_flags macro
/third_party/musl/include/net/
Dif.h102 #define ifr_flags ifr_ifru.ifru_flags macro
/third_party/musl/ndk_musl_include/net/
Dif.h102 #define ifr_flags ifr_ifru.ifru_flags macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/net/
Dif.h102 #define ifr_flags ifr_ifru.ifru_flags macro
/third_party/musl/porting/uniproton/kernel/include/net/
Dif.h102 #define ifr_flags ifr_ifru.ifru_flags macro
/third_party/musl/porting/liteos_a/kernel/include/net/
Dif.h102 #define ifr_flags ifr_ifru.ifru_flags macro
/third_party/ltp/testcases/kernel/pty/
Dpty04.c263 ifreq.ifr_flags |= IFF_UP | IFF_RUNNING; in open_netdev()
267 if (!(ifreq.ifr_flags & IFF_UP)) in open_netdev()

12