Home
last modified time | relevance | path

Searched refs:IFF_UP (Results 1 – 25 of 71) sorted by relevance

123

/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.c236 !(flags & IFF_UP) && in driver_wired_init_common()
237 driver_wired_set_ifflags(ifname, flags | IFF_UP) == 0) in driver_wired_init_common()
314 (flags & IFF_UP) && in driver_wired_deinit_common()
315 driver_wired_set_ifflags(common->ifname, flags & ~IFF_UP) < 0) { in driver_wired_deinit_common()
Ddriver_bsd.c702 if ((ifa->ifa_flags & IFF_UP) == 0 && in bsd_route_overflow()
703 (drv->flags & IFF_UP) != 0) { in bsd_route_overflow()
708 } else if ((ifa->ifa_flags & IFF_UP) != 0 && in bsd_route_overflow()
709 (drv->flags & IFF_UP) == 0) { in bsd_route_overflow()
856 if ((ifm->ifm_flags & IFF_UP) == 0 && in bsd_wireless_event_receive()
857 (drv->flags & IFF_UP) != 0) { in bsd_wireless_event_receive()
862 } else if ((ifm->ifm_flags & IFF_UP) != 0 && in bsd_wireless_event_receive()
863 (drv->flags & IFF_UP) == 0) { in bsd_wireless_event_receive()
1312 if (!(drv->flags & IFF_UP)) { in wpa_driver_bsd_scan()
/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.c236 !(flags & IFF_UP) && in driver_wired_init_common()
237 driver_wired_set_ifflags(ifname, flags | IFF_UP) == 0) in driver_wired_init_common()
314 (flags & IFF_UP) && in driver_wired_deinit_common()
315 driver_wired_set_ifflags(common->ifname, flags & ~IFF_UP) < 0) { in driver_wired_deinit_common()
Ddriver_bsd.c314 if (ifr.ifr_flags & IFF_UP) in bsd_ctrl_iface()
316 ifr.ifr_flags |= IFF_UP; in bsd_ctrl_iface()
318 if (!(ifr.ifr_flags & IFF_UP)) in bsd_ctrl_iface()
320 ifr.ifr_flags &= ~IFF_UP; in bsd_ctrl_iface()
1339 if ((ifm->ifm_flags & IFF_UP) == 0 && in wpa_driver_bsd_event_receive()
1340 (drv->flags & IFF_UP) != 0) { in wpa_driver_bsd_event_receive()
1345 } else if ((ifm->ifm_flags & IFF_UP) != 0 && in wpa_driver_bsd_event_receive()
1346 (drv->flags & IFF_UP) == 0) { in wpa_driver_bsd_event_receive()
/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/toybox/toys/net/
Difconfig.c121 if (!always && !(flags & IFF_UP)) return; in display_ifconfig()
396 {0, IFF_UP|IFF_RUNNING, SIOCSIFADDR}, in ifconfig_main()
397 {"up", IFF_UP|IFF_RUNNING, 0}, in ifconfig_main()
398 {"down", 0, IFF_UP}, in ifconfig_main()
/third_party/toybox/porting/liteos_a/toys/net/
Difconfig.c120 if (!always && !(flags & IFF_UP)) return; in display_ifconfig()
409 {0, IFF_UP|IFF_RUNNING, SIOCSIFADDR}, in ifconfig_main()
410 {"up", IFF_UP|IFF_RUNNING, 0}, in ifconfig_main()
411 {"down", 0, IFF_UP}, in ifconfig_main()
/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/ltp/testcases/kernel/syscalls/bind/
Dbind06.c91 ifr.ifr_flags = IFF_UP; in run()
/third_party/libuv/src/unix/
Dibmi.c406 if (!(cur->ifa_flags & IFF_UP && cur->ifa_flags & IFF_RUNNING)) in uv_interface_addresses()
431 if (!(cur->ifa_flags & IFF_UP && cur->ifa_flags & IFF_RUNNING)) in uv_interface_addresses()
Dbsd-ifaddrs.c39 if (!((ent->ifa_flags & IFF_UP) && (ent->ifa_flags & IFF_RUNNING))) in uv__ifaddr_exclude()
/third_party/node/deps/uv/src/unix/
Dibmi.c406 if (!(cur->ifa_flags & IFF_UP && cur->ifa_flags & IFF_RUNNING)) in uv_interface_addresses()
431 if (!(cur->ifa_flags & IFF_UP && cur->ifa_flags & IFF_RUNNING)) in uv_interface_addresses()
Dbsd-ifaddrs.c39 if (!((ent->ifa_flags & IFF_UP) && (ent->ifa_flags & IFF_RUNNING))) in uv__ifaddr_exclude()
/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()
/third_party/musl/ndk_musl_include/net/
Dif.h29 #define IFF_UP 0x1 macro
/third_party/musl/include/net/
Dif.h29 #define IFF_UP 0x1 macro
/third_party/musl/porting/liteos_m/kernel/include/net/
Dif.h29 #define IFF_UP 0x1 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/net/
Dif.h29 #define IFF_UP 0x1 macro
/third_party/musl/porting/liteos_a/kernel/include/net/
Dif.h29 #define IFF_UP 0x1 macro
/third_party/musl/porting/uniproton/kernel/include/net/
Dif.h29 #define IFF_UP 0x1 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()

123