Searched refs:ifr_flags (Results 1 – 11 of 11) sorted by relevance
991 (ifr->ifr_flags & TUN_FEATURES); in tun_net_init()2665 if ((ifr->ifr_flags & IFF_NAPI_FRAGS)) { in tun_set_iff()2669 if (!(ifr->ifr_flags & IFF_NAPI) || in tun_set_iff()2676 if (ifr->ifr_flags & IFF_TUN_EXCL) in tun_set_iff()2696 ifr->ifr_flags & IFF_NAPI, in tun_set_iff()2711 (ifr->ifr_flags & TUN_FEATURES); in tun_set_iff()2727 if (ifr->ifr_flags & IFF_TUN) { in tun_set_iff()2731 } else if (ifr->ifr_flags & IFF_TAP) { in tun_set_iff()2797 ifr->ifr_flags = tun_flags(tun); in tun_get_iff()3065 ifr.ifr_flags |= IFF_DETACH_QUEUE; in __tun_chr_ioctl()[all …]
988 if (get_user(u, &ifr->ifr_flags)) in tap_ioctl()1010 put_user(u, &ifr->ifr_flags)) in tap_ioctl()1017 if (get_user(u, &ifr->ifr_flags)) in tap_ioctl()
108 ifr.ifr_flags = IFF_TUN;163 ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_MULTI_QUEUE;202 ifr.ifr_flags = IFF_ATTACH_QUEUE;204 ifr.ifr_flags = IFF_DETACH_QUEUE;
265 #define ifr_flags ifr_ifru.ifru_flags /* flags */ macro
145 ifr->ifr_flags = (short) dev_get_flags(dev); in dev_ifsioc_locked()324 return dev_change_flags(dev, ifr->ifr_flags, NULL); in dev_ifsioc()
148 ifr.ifr_flags = IFF_TAP | IFF_NO_PI; in tuntap_open()
394 .ifr_flags = IFF_TAP | IFF_NO_PI | IFF_NAPI | IFF_NAPI_FRAGS, in create_tap()439 ifr.ifr_flags |= IFF_UP; in ifup()
585 ifr.ifr_flags = IFF_TUN | IFF_NO_PI; in tun_open()
176 ifr.ifr_flags = IFF_TAP | IFF_NO_PI; in tuntap_open()
143 ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_VNET_HDR; in create_tap_fd()
1140 if (!(ifr->ifr_flags & IFF_UP)) in devinet_ioctl()1144 ret = dev_change_flags(dev, ifr->ifr_flags, NULL); in devinet_ioctl()
Completed in 33 milliseconds