Home
last modified time | relevance | path

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

1234

/external/strace/xlat/
Diffflags.h6 #if defined(IFF_UP) || (defined(HAVE_DECL_IFF_UP) && HAVE_DECL_IFF_UP)
8 static_assert((IFF_UP) == ((1 << 0)), "IFF_UP != (1 << 0)");
11 # define IFF_UP (1 << 0)
146 XLAT(IFF_UP),
Diffflags.in2 IFF_UP (1 << 0)
/external/wpa_supplicant_8/src/drivers/
Dlinux_ioctl.c38 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()
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/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.c116 ifi.ifi_change = IFF_UP; in if_up()
117 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/openssh/openbsd-compat/
Dport-tun.c177 if ((ifr.ifr_flags & IFF_UP) == 0) { in sys_tun_open()
178 ifr.ifr_flags |= IFF_UP; in sys_tun_open()
/external/toybox/toys/net/
Difconfig.c121 if (!always && !(flags & IFF_UP)) return; in display_ifconfig()
395 {0, IFF_UP|IFF_RUNNING, SIOCSIFADDR}, in ifconfig_main()
396 {"up", IFF_UP|IFF_RUNNING, 0}, in ifconfig_main()
397 {"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/strace/tests-m32/
Dnlattr_ifla.h56 .ifi_flags = IFF_UP, in init_ifinfomsg()
/external/libnfnetlink/utils/
Diftest.c48 flags & IFF_UP ? "UP" : "DOWN"); in main()
/external/strace/tests/
Dnlattr_ifla.h56 .ifi_flags = IFF_UP, in init_ifinfomsg()
/external/strace/tests-mx32/
Dnlattr_ifla.h56 .ifi_flags = IFF_UP, in init_ifinfomsg()
/external/libnl/include/linux-private/linux/
Dif_bad.h26 #define IFF_UP 0x1 /* interface is up */ macro
/external/honggfuzz/libhfcommon/
Dns.c112 ifr.ifr_flags |= (IFF_UP | IFF_RUNNING); in nsIfaceUp()
/external/ltp/testcases/network/packet/
Dfanout01.c83 ifr.ifr_flags &= ~(short)IFF_UP; in run()
/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()

1234