/third_party/libnl/tests/ |
D | test-loopback-up-down.c | 30 if (!(err & IFF_UP)) { in main() 36 rtnl_link_unset_flags(change, IFF_UP); in main() 43 rtnl_link_set_flags(change, IFF_UP); in main()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
D | linux_ioctl.c | 38 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()
|
D | driver_wired_common.c | 236 !(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()
|
D | driver_bsd.c | 314 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_standard/src/drivers/ |
D | linux_ioctl.c | 38 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()
|
D | driver_wired_common.c | 236 !(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()
|
D | driver_bsd.c | 702 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/libnl/include/linux-private/linux/ |
D | if.h | 82 IFF_UP = 1<<0, /* sysfs */ enumerator 109 #define IFF_UP IFF_UP macro
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
D | vlan_ifconfig.c | 42 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/ |
D | vlan_ifconfig.c | 42 ifr.ifr_flags |= IFF_UP; in ifconfig_helper() 44 ifr.ifr_flags &= ~IFF_UP; in ifconfig_helper()
|
/third_party/libnl/src/ |
D | nl-link-set.c | 128 rtnl_link_set_flags(change, IFF_UP); in main() 130 rtnl_link_unset_flags(change, IFF_UP); in main()
|
/third_party/toybox/porting/liteos_a/toys/net/ |
D | ifconfig.c | 120 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/toybox/toys/net/ |
D | ifconfig.c | 121 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/ltp/testcases/kernel/syscalls/setsockopt/ |
D | setsockopt05.c | 57 ifr.ifr_flags = IFF_UP; in setup()
|
/third_party/ltp/testcases/network/packet/ |
D | fanout01.c | 83 ifr.ifr_flags &= ~(short)IFF_UP; in run()
|
/third_party/ltp/testcases/kernel/syscalls/bind/ |
D | bind06.c | 91 ifr.ifr_flags = IFF_UP; in run()
|
/third_party/libuv/src/unix/ |
D | ibmi.c | 406 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()
|
D | bsd-ifaddrs.c | 39 if (!((ent->ifa_flags & IFF_UP) && (ent->ifa_flags & IFF_RUNNING))) in uv__ifaddr_exclude()
|
/third_party/musl/ndk_musl_include/net/ |
D | if.h | 29 #define IFF_UP 0x1 macro
|
/third_party/musl/porting/liteos_a/kernel/include/net/ |
D | if.h | 29 #define IFF_UP 0x1 macro
|
/third_party/musl/porting/uniproton/kernel/include/net/ |
D | if.h | 29 #define IFF_UP 0x1 macro
|
/third_party/musl/porting/liteos_m/kernel/include/net/ |
D | if.h | 29 #define IFF_UP 0x1 macro
|
/third_party/musl/porting/liteos_m_iccarm/kernel/include/net/ |
D | if.h | 29 #define IFF_UP 0x1 macro
|
/third_party/musl/include/net/ |
D | if.h | 29 #define IFF_UP 0x1 macro
|
/third_party/toybox/toys/pending/ |
D | arping.c | 64 if (!(req.ifr_flags & IFF_UP)) return; in get_interface() 216 if (!(ifr.ifr_flags & IFF_UP) && !(toys.optflags & FLAG_q)) in arping_main()
|