Home
last modified time | relevance | path

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

123

/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_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()
/external/iproute2/include/uapi/linux/
Dif.h82 IFF_UP = 1<<0, /* sysfs */ enumerator
109 #define IFF_UP IFF_UP macro
/external/kernel-headers/original/uapi/linux/
Dif.h84 IFF_UP = 1<<0, /* sysfs */ enumerator
111 #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.h6 #if defined(IFF_UP) || (defined(HAVE_DECL_IFF_UP) && HAVE_DECL_IFF_UP)
7 XLAT(IFF_UP),
Diffflags.in1 IFF_UP
/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/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()
/external/libnl/src/
Dnl-link-set.c124 rtnl_link_set_flags(change, IFF_UP); in main()
126 rtnl_link_unset_flags(change, IFF_UP); in main()
/external/android-clat/
Dsetif.c111 ifi.ifi_change = IFF_UP; in if_up()
112 ifi.ifi_flags = IFF_UP; in if_up()
/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/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/toybox/toys/net/
Difconfig.c115 if (!always && !(flags & IFF_UP)) return; in display_ifconfig()
366 {0, IFF_UP|IFF_RUNNING, SIOCSIFADDR}, in ifconfig_main()
367 {"up", IFF_UP|IFF_RUNNING, 0}, in ifconfig_main()
368 {"down", 0, IFF_UP}, in ifconfig_main()
/external/iproute2/ip/
Diplink.c569 req->i.ifi_change |= IFF_UP; in iplink_parse()
570 req->i.ifi_flags |= IFF_UP; in iplink_parse()
572 req->i.ifi_change |= IFF_UP; in iplink_parse()
573 req->i.ifi_flags &= ~IFF_UP; in iplink_parse()
1253 mask |= IFF_UP; in do_set()
1254 flags |= IFF_UP; in do_set()
1256 mask |= IFF_UP; in do_set()
1257 flags &= ~IFF_UP; in do_set()
/external/libnfnetlink/utils/
Diftest.c48 flags & IFF_UP ? "UP" : "DOWN"); in main()
/external/libnl/include/linux-private/linux/
Dif_bad.h26 #define IFF_UP 0x1 /* interface is up */ macro
/external/strace/tests-m32/
Dnlattr_ifla_xdp.c63 .ifi_flags = IFF_UP, in init_ifinfomsg()
Dnlattr_ifla_port.c63 .ifi_flags = IFF_UP, in init_ifinfomsg()
/external/strace/tests-mx32/
Dnlattr_ifla_xdp.c63 .ifi_flags = IFF_UP, in init_ifinfomsg()
Dnlattr_ifla_port.c63 .ifi_flags = IFF_UP, in init_ifinfomsg()
/external/strace/tests/
Dnlattr_ifla_xdp.c63 .ifi_flags = IFF_UP, in init_ifinfomsg()
Dnlattr_ifla_port.c63 .ifi_flags = IFF_UP, in init_ifinfomsg()
/external/honggfuzz/libcommon/
Dns.c107 ifr.ifr_flags |= (IFF_UP | IFF_RUNNING); in nsIfaceUp()

123