/external/wpa_supplicant_8/src/drivers/ |
D | linux_ioctl.c | 37 if (ifr.ifr_flags & IFF_UP) in linux_set_iface_flags() 39 ifr.ifr_flags |= IFF_UP; in linux_set_iface_flags() 41 if (!(ifr.ifr_flags & IFF_UP)) in linux_set_iface_flags() 43 ifr.ifr_flags &= ~IFF_UP; in linux_set_iface_flags() 76 return !!(ifr.ifr_flags & IFF_UP); in linux_iface_up()
|
D | driver_wired.c | 531 !(flags & IFF_UP) && in wpa_driver_wired_init() 532 wpa_driver_wired_set_ifflags(ifname, flags | IFF_UP) == 0) { in wpa_driver_wired_init() 599 (flags & IFF_UP) && in wpa_driver_wired_deinit() 600 wpa_driver_wired_set_ifflags(drv->ifname, flags & ~IFF_UP) < 0) { in wpa_driver_wired_deinit()
|
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/ |
D | driver_wired.c | 202 !(flags & IFF_UP) && in wpa_driver_wired_init() 203 wpa_driver_wired_set_ifflags(ifname, flags | IFF_UP) == 0) { in wpa_driver_wired_init() 266 (flags & IFF_UP) && in wpa_driver_wired_deinit() 267 wpa_driver_wired_set_ifflags(drv->ifname, flags & ~IFF_UP) < 0) { in wpa_driver_wired_deinit()
|
D | driver_wext.c | 724 (ifi->ifi_flags & IFF_UP) ? "[UP]" : "", in wpa_driver_wext_event_rtm_newlink() 986 else if (!(flags & IFF_UP)) { in wpa_driver_wext_finish_drv_init() 987 if (wpa_driver_wext_set_ifflags(drv, flags | IFF_UP) != 0) { in wpa_driver_wext_finish_drv_init() 1070 (void) wpa_driver_wext_set_ifflags(drv, flags & ~IFF_UP); in wpa_driver_wext_deinit() 2244 if (!(flags & IFF_UP)) { 2245 wpa_driver_wext_set_ifflags(drv, flags | IFF_UP); 2402 (void) wpa_driver_wext_set_ifflags(drv, flags & ~IFF_UP); 2415 (void) wpa_driver_wext_set_ifflags(drv, flags | IFF_UP); 2697 (flags & IFF_UP)) { 2699 wpa_driver_wext_set_ifflags(drv, flags & ~IFF_UP);
|
D | driver_nl80211.c | 818 (ifi->ifi_flags & IFF_UP) ? "[UP]" : "", in wpa_driver_nl80211_event_rtm_newlink() 1362 wpa_driver_nl80211_set_ifflags_ifname(drv, buf, flags | IFF_UP) != in wpa_driver_nl80211_create_monitor_interface() 1532 else if (!(flags & IFF_UP)) { in wpa_driver_nl80211_finish_drv_init() 1533 if (wpa_driver_nl80211_set_ifflags(drv, flags | IFF_UP) != 0) { in wpa_driver_nl80211_finish_drv_init() 1587 (void) wpa_driver_nl80211_set_ifflags(drv, flags & ~IFF_UP); in wpa_driver_nl80211_deinit() 2277 (void) wpa_driver_nl80211_set_ifflags(drv, flags & ~IFF_UP); in wpa_driver_nl80211_set_mode() 2301 (void) wpa_driver_nl80211_set_ifflags(drv, flags | IFF_UP); in wpa_driver_nl80211_set_mode()
|
D | driver_bsd.c | 440 if (getifflags(drv, &flags) != 0 || setifflags(drv, flags | IFF_UP) != 0) in wpa_driver_bsd_scan() 764 (void) setifflags(drv, flags &~ IFF_UP); in wpa_driver_bsd_deinit()
|
/external/iproute2/ip/ |
D | iplink.c | 260 req->i.ifi_change |= IFF_UP; in iplink_parse() 261 req->i.ifi_flags |= IFF_UP; in iplink_parse() 263 req->i.ifi_change |= IFF_UP; in iplink_parse() 264 req->i.ifi_flags &= ~IFF_UP; in iplink_parse() 708 mask |= IFF_UP; in do_set() 709 flags |= IFF_UP; in do_set() 711 mask |= IFF_UP; in do_set() 712 flags &= ~IFF_UP; in do_set()
|
D | ipaddress.c | 88 if (flags & IFF_UP && !(flags & IFF_RUNNING)) in print_link_flags() 238 if (filter.up && !(ifi->ifi_flags&IFF_UP)) in print_linkinfo() 264 m_flag = !(m_flag & IFF_UP); in print_linkinfo()
|
/external/openssh/openbsd-compat/ |
D | port-tun.c | 176 if ((ifr.ifr_flags & IFF_UP) == 0) { in sys_tun_open() 177 ifr.ifr_flags |= IFF_UP; in sys_tun_open()
|
/external/ppp/pppd/ |
D | sys-solaris.c | 360 if ((fl & (IFF_UP|IFF_BROADCAST|IFF_POINTOPOINT|IFF_LOOPBACK|IFF_NOARP)) in get_first_ethernet() 361 != (IFF_UP | IFF_BROADCAST)) in get_first_ethernet() 446 if ((fl & (IFF_UP|IFF_BROADCAST|IFF_POINTOPOINT|IFF_LOOPBACK|IFF_NOARP)) in get_first_ethernet() 447 != (IFF_UP | IFF_BROADCAST)) in get_first_ethernet() 1773 ifr.ifr_flags |= IFF_UP; 1798 ifr.ifr_flags &= ~IFF_UP; 1850 lifr.lifr_flags |= IFF_UP; 1883 lifr.lifr_flags &= ~IFF_UP; 2184 (IFF_UP|IFF_BROADCAST|IFF_POINTOPOINT|IFF_LOOPBACK|IFF_NOARP)) 2185 != (IFF_UP|IFF_BROADCAST)) [all …]
|
D | sys-linux.c | 224 #define FLAGS_GOOD (IFF_UP | IFF_BROADCAST) 225 #define FLAGS_MASK (IFF_UP | IFF_BROADCAST | \ 2254 ifr.ifr_flags |= (IFF_UP | IFF_POINTOPOINT); in sifup() 2286 ifr.ifr_flags &= ~IFF_UP; in sifdown()
|
/external/libppp/src/ |
D | tun.c | 113 info.flags = IFF_UP|IFF_POINTOPOINT|IFF_MULTICAST; in tun_configure()
|
D | arp.c | 268 skip = (ifm->ifm_flags & (IFF_UP | IFF_BROADCAST | IFF_POINTOPOINT | in arp_EtherAddr() 269 IFF_NOARP | IFF_LOOPBACK)) != (IFF_UP | IFF_BROADCAST); in arp_EtherAddr()
|
D | ether.c | 623 if (!iface_SetFlags(path, IFF_UP)) in ether_Create()
|
/external/libpcap/ |
D | fad-gifc.c | 223 if (!(ifrflags.ifr_flags & IFF_UP)) in scan_proc_net_dev() 391 if (!(ifrflags.ifr_flags & IFF_UP)) in pcap_findalldevs()
|
D | fad-getad.c | 171 if (!(ifa->ifa_flags & IFF_UP)) { in pcap_findalldevs()
|
D | fad-glifc.c | 227 if (!(ifrflags.lifr_flags & IFF_UP)) in pcap_findalldevs()
|
/external/iproute2/include/linux/ |
D | if.h | 31 #define IFF_UP 0x1 /* interface is up */ macro
|
/external/kernel-headers/original/linux/ |
D | if.h | 31 #define IFF_UP 0x1 /* interface is up */ macro
|
/external/dhcpcd/ |
D | net.c | 319 if ((ifr.ifr_flags & IFF_UP)) in up_interface() 322 ifr.ifr_flags |= IFF_UP; in up_interface() 418 if (!(ifp->flags & IFF_UP) in discover_interfaces()
|
/external/strace/ |
D | sock.c | 51 { IFF_UP, "IFF_UP" },
|
/external/bluetooth/bluedroid/btif/src/ |
D | btif_pan.c | 319 ifr.ifr_flags |= IFF_UP; in tap_if_up() 345 ifr.ifr_flags &= ~IFF_UP; in tap_if_down()
|
/external/wpa_supplicant_8/src/ap/ |
D | vlan_init.c | 67 ifr.ifr_flags |= IFF_UP; in ifconfig_helper() 69 ifr.ifr_flags &= ~IFF_UP; in ifconfig_helper()
|
/external/openssh/ |
D | misc.c | 687 ifr.ifr_flags &= ~IFF_UP; in tun_open() 696 ifr.ifr_flags |= IFF_UP; in tun_open()
|
/external/okhttp/src/main/java/libcore/io/ |
D | OsConstants.java | 175 public static final int IFF_UP = placeholder(); field in OsConstants
|