Home
last modified time | relevance | path

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

12

/external/wpa_supplicant_8/src/drivers/
Dlinux_ioctl.c37 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()
Ddriver_wired.c531 !(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/
Ddriver_wired.c202 !(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()
Ddriver_wext.c724 (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);
Ddriver_nl80211.c818 (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()
Ddriver_bsd.c440 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/
Diplink.c260 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()
Dipaddress.c88 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/
Dport-tun.c176 if ((ifr.ifr_flags & IFF_UP) == 0) { in sys_tun_open()
177 ifr.ifr_flags |= IFF_UP; in sys_tun_open()
/external/ppp/pppd/
Dsys-solaris.c360 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 …]
Dsys-linux.c224 #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/
Dtun.c113 info.flags = IFF_UP|IFF_POINTOPOINT|IFF_MULTICAST; in tun_configure()
Darp.c268 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()
Dether.c623 if (!iface_SetFlags(path, IFF_UP)) in ether_Create()
/external/libpcap/
Dfad-gifc.c223 if (!(ifrflags.ifr_flags & IFF_UP)) in scan_proc_net_dev()
391 if (!(ifrflags.ifr_flags & IFF_UP)) in pcap_findalldevs()
Dfad-getad.c171 if (!(ifa->ifa_flags & IFF_UP)) { in pcap_findalldevs()
Dfad-glifc.c227 if (!(ifrflags.lifr_flags & IFF_UP)) in pcap_findalldevs()
/external/iproute2/include/linux/
Dif.h31 #define IFF_UP 0x1 /* interface is up */ macro
/external/kernel-headers/original/linux/
Dif.h31 #define IFF_UP 0x1 /* interface is up */ macro
/external/dhcpcd/
Dnet.c319 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/
Dsock.c51 { IFF_UP, "IFF_UP" },
/external/bluetooth/bluedroid/btif/src/
Dbtif_pan.c319 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/
Dvlan_init.c67 ifr.ifr_flags |= IFF_UP; in ifconfig_helper()
69 ifr.ifr_flags &= ~IFF_UP; in ifconfig_helper()
/external/openssh/
Dmisc.c687 ifr.ifr_flags &= ~IFF_UP; in tun_open()
696 ifr.ifr_flags |= IFF_UP; in tun_open()
/external/okhttp/src/main/java/libcore/io/
DOsConstants.java175 public static final int IFF_UP = placeholder(); field in OsConstants

12