Searched refs:ifr_flags (Results 1 – 11 of 11) sorted by relevance
2507 if ((ifr->ifr_flags & IFF_NAPI_FRAGS)) { in tun_set_iff()2511 if (!(ifr->ifr_flags & IFF_NAPI) || in tun_set_iff()2512 (ifr->ifr_flags & TUN_TYPE_MASK) != IFF_TAP) in tun_set_iff()2518 if (ifr->ifr_flags & IFF_TUN_EXCL) in tun_set_iff()2520 if ((ifr->ifr_flags & IFF_TUN) && dev->netdev_ops == &tun_netdev_ops) in tun_set_iff()2522 else if ((ifr->ifr_flags & IFF_TAP) && dev->netdev_ops == &tap_netdev_ops) in tun_set_iff()2527 if (!!(ifr->ifr_flags & IFF_MULTI_QUEUE) != in tun_set_iff()2537 err = tun_attach(tun, file, ifr->ifr_flags & IFF_NOFILTER, in tun_set_iff()2538 ifr->ifr_flags & IFF_NAPI, in tun_set_iff()2539 ifr->ifr_flags & IFF_NAPI_FRAGS); in tun_set_iff()[all …]
994 if (get_user(u, &ifr->ifr_flags)) in tap_ioctl()1016 put_user(u, &ifr->ifr_flags)) in tap_ioctl()1023 if (get_user(u, &ifr->ifr_flags)) in tap_ioctl()
90 ifr.ifr_flags = IFF_TUN; 139 ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_MULTI_QUEUE;178 ifr.ifr_flags = IFF_ATTACH_QUEUE;180 ifr.ifr_flags = IFF_DETACH_QUEUE;
113 ifr->ifr_flags = (short) dev_get_flags(dev); in dev_ifsioc_locked()237 return dev_change_flags(dev, ifr->ifr_flags); in dev_ifsioc()
262 #define ifr_flags ifr_ifru.ifru_flags /* flags */ macro
148 ifr.ifr_flags = IFF_TAP | IFF_NO_PI; in tuntap_open()
1270 ifr->ifr_flags = flp->type; in sdla_ioctl()1286 switch (ifr->ifr_flags) in sdla_ioctl()1289 dev->type = ifr->ifr_flags; in sdla_ioctl()
152 ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_VNET_HDR; in user_init_tap_fds()
180 ifr.ifr_flags = IFF_TAP | IFF_NO_PI; in tuntap_open()
1088 if (!(ifr->ifr_flags & IFF_UP)) in devinet_ioctl()1092 ret = dev_change_flags(dev, ifr->ifr_flags); in devinet_ioctl()
245 ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_VNET_HDR; in tun_alloc()