Home
last modified time | relevance | path

Searched refs:ifr_flags (Results 1 – 11 of 11) sorted by relevance

/Linux-v4.19/drivers/net/
Dtun.c2507 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 …]
Dtap.c994 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()
/Linux-v4.19/Documentation/networking/
Dtuntap.txt90 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;
/Linux-v4.19/net/core/
Ddev_ioctl.c113 ifr->ifr_flags = (short) dev_get_flags(dev); in dev_ifsioc_locked()
237 return dev_change_flags(dev, ifr->ifr_flags); in dev_ifsioc()
/Linux-v4.19/include/uapi/linux/
Dif.h262 #define ifr_flags ifr_ifru.ifru_flags /* flags */ macro
/Linux-v4.19/arch/um/os-Linux/drivers/
Dtuntap_user.c148 ifr.ifr_flags = IFF_TAP | IFF_NO_PI; in tuntap_open()
/Linux-v4.19/drivers/net/wan/
Dsdla.c1270 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()
/Linux-v4.19/arch/um/drivers/
Dvector_user.c152 ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_VNET_HDR; in user_init_tap_fds()
/Linux-v4.19/arch/xtensa/platforms/iss/
Dnetwork.c180 ifr.ifr_flags = IFF_TAP | IFF_NO_PI; in tuntap_open()
/Linux-v4.19/net/ipv4/
Ddevinet.c1088 if (!(ifr->ifr_flags & IFF_UP)) in devinet_ioctl()
1092 ret = dev_change_flags(dev, ifr->ifr_flags); in devinet_ioctl()
/Linux-v4.19/samples/mic/mpssd/
Dmpssd.c245 ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_VNET_HDR; in tun_alloc()