Home
last modified time | relevance | path

Searched refs:IFF_UP (Results 1 – 25 of 45) 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.c579 !(flags & IFF_UP) && in wpa_driver_wired_init()
580 wpa_driver_wired_set_ifflags(ifname, flags | IFF_UP) == 0) { in wpa_driver_wired_init()
657 (flags & IFF_UP) && in wpa_driver_wired_deinit()
658 wpa_driver_wired_set_ifflags(drv->ifname, flags & ~IFF_UP) < 0) { in wpa_driver_wired_deinit()
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()
Ddriver_macsec_qca.c336 !(flags & IFF_UP) && in macsec_qca_init()
337 macsec_qca_set_ifflags(ifname, flags | IFF_UP) == 0) { in macsec_qca_init()
416 (flags & IFF_UP) && in macsec_qca_deinit()
417 macsec_qca_set_ifflags(drv->ifname, flags & ~IFF_UP) < 0) { in macsec_qca_deinit()
/external/iproute2/include/linux/
Dif.h71 IFF_UP = 1<<0, /* sysfs */ enumerator
92 #define IFF_UP IFF_UP macro
/external/kernel-headers/original/uapi/linux/
Dif.h71 IFF_UP = 1<<0, /* sysfs */ enumerator
92 #define IFF_UP IFF_UP macro
/external/wpa_supplicant_8/src/ap/
Dvlan_ifconfig.c42 ifr.ifr_flags |= IFF_UP; in ifconfig_helper()
44 ifr.ifr_flags &= ~IFF_UP; in ifconfig_helper()
/external/strace/xlat/
Diffflags.h11 #if defined(IFF_UP) || (defined(HAVE_DECL_IFF_UP) && HAVE_DECL_IFF_UP)
12 XLAT(IFF_UP),
Diffflags.in1 IFF_UP
/external/autotest/client/profilers/powertop/src/
Dethernet.c74 if (ifr.ifr_flags & (IFF_UP | IFF_RUNNING)) { in activate_WOL_suggestion()
115 if (ifr.ifr_flags & (IFF_UP | IFF_RUNNING)) { in suggest_WOL_off()
Dwireless.c259 if (ifr.ifr_flags & (IFF_UP | IFF_RUNNING)) in find_wireless_nic()
/external/autotest/client/deps/lansim/src/py/
Dtuntap.py216 self._set_flags(self._get_flags() | pyiftun.IFF_UP)
221 self._set_flags(self._get_flags() & ~pyiftun.IFF_UP)
226 return (self._get_flags() & pyiftun.IFF_UP) != 0
/external/android-clat/
Dsetif.c111 ifi.ifi_change = IFF_UP; in if_up()
112 ifi.ifi_flags = IFF_UP; in if_up()
Dclatd_microbenchmark.c82 ifr.ifr_flags |= (IFF_UP | IFF_RUNNING); in setup_tun()
/external/autotest/client/deps/lansim/src/
Dwrapper_linux_if.c78 PyModule_AddIntMacro(m, IFF_UP); in _init_linux_if_h()
98 PyModule_AddIntMacro(m, IFF_UP); in _init_linux_if_h()
/external/iproute2/ip/
Diplink.c424 req->i.ifi_change |= IFF_UP; in iplink_parse()
425 req->i.ifi_flags |= IFF_UP; in iplink_parse()
427 req->i.ifi_change |= IFF_UP; in iplink_parse()
428 req->i.ifi_flags &= ~IFF_UP; in iplink_parse()
1063 mask |= IFF_UP; in do_set()
1064 flags |= IFF_UP; in do_set()
1066 mask |= IFF_UP; in do_set()
1067 flags &= ~IFF_UP; in do_set()
Dipaddress.c99 if (flags & IFF_UP && !(flags & IFF_RUNNING)) in print_link_flags()
632 if (filter.up && !(ifi->ifi_flags&IFF_UP)) in print_linkinfo_brief()
683 m_flag = !(m_flag & IFF_UP); in print_linkinfo_brief()
731 if (filter.up && !(ifi->ifi_flags&IFF_UP)) in print_linkinfo()
786 m_flag = !(m_flag & IFF_UP); in print_linkinfo()
1190 if (filter.up && !(ifi->ifi_flags&IFF_UP)) in print_selected_addrinfo()
/external/toybox/toys/other/
Difconfig.c115 if (!always && !(flags & IFF_UP)) return; in display_ifconfig()
363 {0, IFF_UP|IFF_RUNNING, SIOCSIFADDR}, in ifconfig_main()
364 {"up", IFF_UP|IFF_RUNNING, 0}, in ifconfig_main()
365 {"down", 0, IFF_UP}, in ifconfig_main()
/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()
1776 ifr.ifr_flags |= IFF_UP;
1801 ifr.ifr_flags &= ~IFF_UP;
1853 lifr.lifr_flags |= IFF_UP;
1886 lifr.lifr_flags &= ~IFF_UP;
2187 (IFF_UP|IFF_BROADCAST|IFF_POINTOPOINT|IFF_LOOPBACK|IFF_NOARP))
2188 != (IFF_UP|IFF_BROADCAST))
[all …]
/external/libnl/include/linux/
Dif_bad.h27 #define IFF_UP 0x1 /* interface is up */ macro
/external/dhcpcd-6.8.2/
Dif.h98 #define if_up(ifp) if_setflag((ifp), (IFF_UP | IFF_RUNNING))
/external/toybox/toys/pending/
Darping.c64 if (!(req.ifr_flags & IFF_UP)) return; in get_interface()
217 if (!(ifr.ifr_flags & IFF_UP) && !(toys.optflags & FLAG_q)) in arping_main()
/external/libpcap/Win32/Include/net/
Dif.h82 #define IFF_UP 0x1 /* interface is up */
/external/avahi/avahi-core/
Diface-pfroute.c81 (ifm->ifm_flags & IFF_UP) && in rtm_info()
428 (flags & IFF_UP) && in if_add_interface()
/external/libpcap/
Dinet.c88 #ifdef IFF_UP
89 #define ISUP(flags) ((flags) & IFF_UP)

12