/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() 200 if (!(ifr.ifr_flags & TUN_TYPE_MASK)) { in do_add()
|
D | iplink.c | 629 if ((ifr.ifr_flags^flags)&mask) { in do_chflags() 630 ifr.ifr_flags &= ~mask; in do_chflags() 631 ifr.ifr_flags |= mask&flags; in do_chflags()
|
/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_wired.c | 444 *flags = ifr.ifr_flags & 0xffff; in wpa_driver_wired_get_ifflags() 462 ifr.ifr_flags = flags & 0xffff; in wpa_driver_wired_set_ifflags()
|
D | driver_bsd.c | 273 if (ifr.ifr_flags & IFF_UP) in bsd_ctrl_iface() 275 ifr.ifr_flags |= IFF_UP; in bsd_ctrl_iface() 277 if (!(ifr.ifr_flags & IFF_UP)) in bsd_ctrl_iface() 279 ifr.ifr_flags &= ~IFF_UP; in bsd_ctrl_iface()
|
D | driver_macsec_qca.c | 147 *flags = ifr.ifr_flags & 0xffff; in macsec_qca_get_ifflags() 165 ifr.ifr_flags = flags & 0xffff; in macsec_qca_set_ifflags()
|
/external/openssh/openbsd-compat/ |
D | port-tun.c | 74 ifr.ifr_flags = IFF_TAP; in sys_tun_open() 77 ifr.ifr_flags = IFF_TUN; in sys_tun_open() 80 ifr.ifr_flags |= IFF_NO_PI; in sys_tun_open() 177 if ((ifr.ifr_flags & IFF_UP) == 0) { in sys_tun_open() 178 ifr.ifr_flags |= IFF_UP; in sys_tun_open()
|
/external/libpcap/ |
D | fad-gifc.c | 261 if (!(ifrflags.ifr_flags & IFF_UP)) in pcap_findalldevs_interfaces() 296 if (ifrflags.ifr_flags & IFF_BROADCAST) { in pcap_findalldevs_interfaces() 335 if (ifrflags.ifr_flags & IFF_POINTOPOINT) { in pcap_findalldevs_interfaces() 402 ifrflags.ifr_flags, &ifrp->ifr_addr, in pcap_findalldevs_interfaces()
|
D | pcap-linux.c | 884 ifr.ifr_flags |= IFF_UP|IFF_RUNNING; 1109 if (ifr.ifr_flags & IFF_PROMISC) { 1114 ifr.ifr_flags &= ~IFF_PROMISC; 1167 if (ifr.ifr_flags & IFF_UP) { 1168 oldflags = ifr.ifr_flags; 1169 ifr.ifr_flags &= ~IFF_UP; 1198 ifr.ifr_flags = oldflags; 2139 if (!(ifrflags.ifr_flags & IFF_UP)) 2145 if (pcap_add_if(devlistp, name, ifrflags.ifr_flags, NULL, 2286 if (!(ifrflags.ifr_flags & IFF_UP)) [all …]
|
/external/dhcpcd/ |
D | net.c | 213 iface->flags = ifr.ifr_flags; in init_interface() 287 iface->flags = ifr.ifr_flags; in carrier_status() 298 ret = (ifr.ifr_flags & IFF_RUNNING) ? 1 : 0; in carrier_status() 319 if ((ifr.ifr_flags & IFF_UP)) in up_interface() 322 ifr.ifr_flags |= IFF_UP; in up_interface() 326 iface->flags = ifr.ifr_flags; in up_interface()
|
/external/toybox/toys/pending/ |
D | arping.c | 70 if (!(req.ifr_flags & IFF_UP)) return; in get_interface() 223 if (!(ifr.ifr_flags & IFF_UP) && !(toys.optflags & FLAG_q)) in arping_main() 225 if ((ifr.ifr_flags & (IFF_NOARP | IFF_LOOPBACK)) in arping_main()
|
/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/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() 513 ifre.ifr_flags &= ~(rev ? on : off); in ifconfig_main() 514 ifre.ifr_flags |= (rev ? off : on); in ifconfig_main()
|
/external/openssh/ |
D | misc.c | 688 ifr.ifr_flags &= ~IFF_UP; in tun_open() 690 ifr.ifr_flags |= IFF_LINK0; in tun_open() 692 ifr.ifr_flags &= ~IFF_LINK0; in tun_open() 697 ifr.ifr_flags |= IFF_UP; in tun_open()
|
/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 | 204 #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))
|
D | sys-linux.c | 1814 if (((ifreq.ifr_flags ^ FLAGS_GOOD) & FLAGS_MASK) != 0) in get_ether_addr() 1951 if (((ifreq.ifr_flags ^ FLAGS_GOOD) & FLAGS_MASK) != 0) in GetMask() 2348 ifr.ifr_flags |= IFF_UP; in setifstate() 2350 ifr.ifr_flags &= ~IFF_UP; in setifstate() 2351 ifr.ifr_flags |= IFF_POINTOPOINT; in setifstate()
|
/external/ipsec-tools/ |
D | main.c | 107 struct ifreq ifr = {.ifr_flags = IFF_TUN}; in android_hook()
|
/external/strace/ |
D | sock.c | 208 printflags(iffflags, ifr.ifr_flags, "IFF_???"); in sock_ioctl()
|
/external/mdnsresponder/mDNSPosix/ |
D | mDNSUNP.c | 190 ifi->ifi_flags = ifr.ifr_flags; in get_ifi_info_linuxv6() 308 flags = ifrcopy.ifr_flags; in get_ifi_info()
|
/external/wpa_supplicant_8/src/ap/ |
D | vlan_init.c | 146 ifr.ifr_flags |= IFF_UP; in ifconfig_helper() 148 ifr.ifr_flags &= ~IFF_UP; in ifconfig_helper()
|