Home
last modified time | relevance | path

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

12

/external/chromium_org/net/base/
Daddress_tracker_linux_unittest.cc296 IFF_LOOPBACK | IFF_UP | IFF_LOWER_UP | IFF_RUNNING, in TEST_F()
302 MakeLinkMessage(RTM_NEWLINK, IFF_UP | IFF_RUNNING, 0, &buffer); in TEST_F()
307 MakeLinkMessage(RTM_DELLINK, IFF_UP | IFF_LOWER_UP | IFF_RUNNING, 0, &buffer); in TEST_F()
312 MakeLinkMessage(RTM_NEWLINK, IFF_UP | IFF_LOWER_UP | IFF_RUNNING, 0, &buffer); in TEST_F()
318 MakeLinkMessage(RTM_NEWLINK, IFF_UP | IFF_LOWER_UP | IFF_RUNNING, 0, &buffer); in TEST_F()
324 MakeLinkMessage(RTM_NEWLINK, IFF_UP | IFF_LOWER_UP | IFF_RUNNING, 1, &buffer); in TEST_F()
335 MakeLinkMessage(RTM_NEWLINK, IFF_UP | IFF_LOWER_UP | IFF_RUNNING, 0, &buffer); in TEST_F()
338 MakeLinkMessage(RTM_NEWLINK, IFF_UP | IFF_RUNNING, 0, &buffer); in TEST_F()
343 MakeLinkMessage(RTM_NEWLINK, IFF_UP | IFF_RUNNING, 0, &buffer); in TEST_F()
348 MakeLinkMessage(RTM_DELLINK, IFF_UP | IFF_RUNNING, 0, &buffer); in TEST_F()
[all …]
Dnet_util_posix.cc107 if (!(IFF_UP & interface->ifa_flags)) in GetNetworkList()
Daddress_tracker_linux.cc274 if (!(msg->ifi_flags & IFF_LOOPBACK) && (msg->ifi_flags & IFF_UP) && in HandleMessage()
/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.c560 !(flags & IFF_UP) && in wpa_driver_wired_init()
561 wpa_driver_wired_set_ifflags(ifname, flags | IFF_UP) == 0) { in wpa_driver_wired_init()
638 (flags & IFF_UP) && in wpa_driver_wired_deinit()
639 wpa_driver_wired_set_ifflags(drv->ifname, flags & ~IFF_UP) < 0) { in wpa_driver_wired_deinit()
Ddriver_bsd.c296 if (ifr.ifr_flags & IFF_UP) in bsd_ctrl_iface()
298 ifr.ifr_flags |= IFF_UP; in bsd_ctrl_iface()
300 if (!(ifr.ifr_flags & IFF_UP)) in bsd_ctrl_iface()
302 ifr.ifr_flags &= ~IFF_UP; in bsd_ctrl_iface()
/external/android-clat/
Dsetif.c108 ifi.ifi_change = IFF_UP; in if_up()
109 ifi.ifi_flags = IFF_UP; in if_up()
/external/iproute2/ip/
Diplink.c288 req->i.ifi_change |= IFF_UP; in iplink_parse()
289 req->i.ifi_flags |= IFF_UP; in iplink_parse()
291 req->i.ifi_change |= IFF_UP; in iplink_parse()
292 req->i.ifi_flags &= ~IFF_UP; in iplink_parse()
797 mask |= IFF_UP; in do_set()
798 flags |= IFF_UP; in do_set()
800 mask |= IFF_UP; in do_set()
801 flags &= ~IFF_UP; in do_set()
Dipaddress.c89 if (flags & IFF_UP && !(flags & IFF_RUNNING)) in print_link_flags()
378 if (filter.up && !(ifi->ifi_flags&IFF_UP)) in print_linkinfo()
410 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/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/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.c225 #define FLAGS_GOOD (IFF_UP | IFF_BROADCAST)
226 #define FLAGS_MASK (IFF_UP | IFF_BROADCAST | \
2255 ifr.ifr_flags |= (IFF_UP | IFF_POINTOPOINT); in sifup()
2287 ifr.ifr_flags &= ~IFF_UP; in sifdown()
/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/kernel-headers/original/linux/
Dif.h31 #define IFF_UP 0x1 /* interface is up */ macro
/external/iproute2/include/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/openssh/
Dmisc.c687 ifr.ifr_flags &= ~IFF_UP; in tun_open()
696 ifr.ifr_flags |= IFF_UP; in tun_open()
/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()

12