Home
last modified time | relevance | path

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

/linux/drivers/net/
A Dtun.c991 (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 …]
A Dtap.c988 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()
/linux/Documentation/networking/
A Dtuntap.rst108 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;
/linux/include/uapi/linux/
A Dif.h265 #define ifr_flags ifr_ifru.ifru_flags /* flags */ macro
/linux/net/core/
A Ddev_ioctl.c145 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()
/linux/arch/um/os-Linux/drivers/
A Dtuntap_user.c148 ifr.ifr_flags = IFF_TAP | IFF_NO_PI; in tuntap_open()
/linux/tools/testing/selftests/bpf/prog_tests/
A Dflow_dissector.c394 .ifr_flags = IFF_TAP | IFF_NO_PI | IFF_NAPI | IFF_NAPI_FRAGS, in create_tap()
439 ifr.ifr_flags |= IFF_UP; in ifup()
A Dtc_redirect.c585 ifr.ifr_flags = IFF_TUN | IFF_NO_PI; in tun_open()
/linux/arch/xtensa/platforms/iss/
A Dnetwork.c176 ifr.ifr_flags = IFF_TAP | IFF_NO_PI; in tuntap_open()
/linux/arch/um/drivers/
A Dvector_user.c143 ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_VNET_HDR; in create_tap_fd()
/linux/net/ipv4/
A Ddevinet.c1140 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