/external/iproute2/ip/ |
D | iptuntap.c | 54 ifr->ifr_flags |= IFF_TUN_EXCL; in tap_add_ioctl() 113 ifr->ifr_flags |= IFF_NO_PI; in parse_args() 119 if (ifr->ifr_flags & IFF_TAP) { in parse_args() 123 ifr->ifr_flags |= IFF_TUN; in parse_args() 125 if (ifr->ifr_flags & IFF_TUN) { in parse_args() 129 ifr->ifr_flags |= IFF_TAP; in parse_args() 166 ifr->ifr_flags &= ~IFF_NO_PI; in parse_args() 168 ifr->ifr_flags |= IFF_ONE_QUEUE; in parse_args() 170 ifr->ifr_flags |= IFF_VNET_HDR; in parse_args() 172 ifr->ifr_flags |= IFF_MULTI_QUEUE; in parse_args() [all …]
|
/external/wpa_supplicant_8/src/drivers/ |
D | linux_ioctl.c | 37 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()
|
D | driver_bsd.c | 311 drv->flags = ifr.ifr_flags; in bsd_ctrl_iface() 314 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() 329 drv->flags = ifr.ifr_flags; in bsd_ctrl_iface()
|
D | driver_wired.c | 445 *flags = ifr.ifr_flags & 0xffff; in wpa_driver_wired_get_ifflags() 463 ifr.ifr_flags = flags & 0xffff; in wpa_driver_wired_set_ifflags()
|
/external/autotest/client/deps/lansim/src/py/ |
D | tuntap.py | 138 ifr_name, ifr_flags = unpack_struct_ifreq(ifs, 'ifr_flags') 139 return ifr_flags 145 ifr_name, ifr_flags = unpack_struct_ifreq(ifs, 'ifr_flags') 146 return ifr_flags
|
/external/wpa_supplicant_8/src/ap/ |
D | vlan_ifconfig.c | 42 ifr.ifr_flags |= IFF_UP; in ifconfig_helper() 44 ifr.ifr_flags &= ~IFF_UP; in ifconfig_helper()
|
/external/autotest/client/profilers/powertop/src/ |
D | ethernet.c | 74 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()
|
D | wireless.c | 259 if (ifr.ifr_flags & (IFF_UP | IFF_RUNNING)) in find_wireless_nic()
|
/external/libpcap/ |
D | fad-gifc.c | 288 if (ifrflags.ifr_flags & IFF_BROADCAST) { in pcap_findalldevs_interfaces() 327 if (ifrflags.ifr_flags & IFF_POINTOPOINT) { in pcap_findalldevs_interfaces() 394 ifrflags.ifr_flags, &ifrp->ifr_addr, in pcap_findalldevs_interfaces()
|
D | pcap-linux.c | 914 ifr.ifr_flags |= IFF_UP|IFF_RUNNING; 1179 if (ifr.ifr_flags & IFF_PROMISC) { 1184 ifr.ifr_flags &= ~IFF_PROMISC; 1237 if (ifr.ifr_flags & IFF_UP) { 1238 oldflags = ifr.ifr_flags; 1239 ifr.ifr_flags &= ~IFF_UP; 1266 ifr.ifr_flags = oldflags; 2140 if (pcap_add_if(devlistp, name, ifrflags.ifr_flags, NULL, 5555 if (ifr.ifr_flags & IFF_UP) { 5556 oldflags = ifr.ifr_flags; [all …]
|
/external/dhcpcd-6.8.2/ |
D | if.c | 137 iface->flags = (unsigned int)ifr.ifr_flags; in if_carrier() 146 r = ifr.ifr_flags & IFF_RUNNING ? LINK_UP : LINK_UNKNOWN; in if_carrier() 148 r = ifr.ifr_flags & IFF_RUNNING ? LINK_UP : LINK_DOWN; in if_carrier() 166 if (flag == 0 || (ifr.ifr_flags & flag) == flag) in if_setflag() 169 ifr.ifr_flags |= flag; in if_setflag() 173 ifp->flags = (unsigned int)ifr.ifr_flags; in if_setflag()
|
/external/toybox/toys/pending/ |
D | arping.c | 64 if (!(req.ifr_flags & IFF_UP)) return; in get_interface() 217 if (!(ifr.ifr_flags & IFF_UP) && !(toys.optflags & FLAG_q)) in arping_main() 219 if ((ifr.ifr_flags & (IFF_NOARP | IFF_LOOPBACK)) in arping_main()
|
/external/autotest/client/deps/fakemodem/src/ |
D | fakenet.c | 41 ifr.ifr_flags = IFF_TAP; in tun_alloc()
|
/external/android-clat/ |
D | tun.c | 53 ifr.ifr_flags = IFF_TUN; in tun_alloc()
|
D | clatd_microbenchmark.c | 82 ifr.ifr_flags |= (IFF_UP | IFF_RUNNING); in setup_tun()
|
/external/curl/lib/ |
D | if2ip.h | 74 #define ifr_flags ifr_ifru.ifru_flags /* flags */ macro
|
/external/iputils/ |
D | rdisc.c | 1162 if ((ifreq.ifr_flags & IFF_UP) == 0) in initifs() 1164 if (ifreq.ifr_flags & IFF_LOOPBACK) in initifs() 1166 if ((ifreq.ifr_flags & (IFF_MULTICAST|IFF_BROADCAST|IFF_POINTOPOINT)) == 0) in initifs() 1172 interfaces[i].flags = ifreq.ifr_flags; in initifs() 1179 if (ifreq.ifr_flags & IFF_POINTOPOINT) { in initifs() 1201 if (ifreq.ifr_flags & IFF_BROADCAST) { in initifs()
|
/external/toybox/toys/other/ |
D | ifconfig.c | 114 flags = ifre.ifr_flags; in display_ifconfig() 507 ifre.ifr_flags &= ~(rev ? on : off); in ifconfig_main() 508 ifre.ifr_flags |= (rev ? off : on); in ifconfig_main()
|
/external/libpcap/Win32/Include/net/ |
D | if.h | 173 #define ifr_flags ifr_ifru.ifru_flags /* flags */ macro
|
/external/iproute2/include/linux/ |
D | if.h | 233 #define ifr_flags ifr_ifru.ifru_flags /* flags */ macro
|
/external/kernel-headers/original/uapi/linux/ |
D | if.h | 233 #define ifr_flags ifr_ifru.ifru_flags /* flags */ macro
|
/external/ppp/pppd/ |
D | sys-solaris.c | 444 fl = ifr.ifr_flags; in get_first_ethernet() 1776 ifr.ifr_flags |= IFF_UP; 1801 ifr.ifr_flags &= ~IFF_UP; 1996 && (ifr.ifr_flags & IFF_POINTOPOINT) == 0) { 1997 ifr.ifr_flags |= IFF_POINTOPOINT; 2186 if ((ifreq.ifr_flags & 2444 if ((ifreq.ifr_flags & (IFF_UP|IFF_POINTOPOINT|IFF_LOOPBACK))
|
/external/ipsec-tools/ |
D | main.c | 107 struct ifreq ifr = {.ifr_flags = IFF_TUN}; in android_hook()
|
/external/webrtc/webrtc/base/ |
D | ifaddrs-android.cc | 63 ifaddr->ifa_flags = ifr.ifr_flags; in set_flags()
|
/external/strace/ |
D | sock.c | 104 printflags(iffflags, ifr->ifr_flags, "IFF_???"); in print_ifreq()
|