Searched refs:ifr_flags (Results 1 – 11 of 11) sorted by relevance
/Linux-v5.15/drivers/net/ |
D | tun.c | 2614 if ((ifr->ifr_flags & IFF_NAPI_FRAGS)) { in tun_set_iff() 2618 if (!(ifr->ifr_flags & IFF_NAPI) || in tun_set_iff() 2619 (ifr->ifr_flags & TUN_TYPE_MASK) != IFF_TAP) in tun_set_iff() 2625 if (ifr->ifr_flags & IFF_TUN_EXCL) in tun_set_iff() 2627 if ((ifr->ifr_flags & IFF_TUN) && dev->netdev_ops == &tun_netdev_ops) in tun_set_iff() 2629 else if ((ifr->ifr_flags & IFF_TAP) && dev->netdev_ops == &tap_netdev_ops) in tun_set_iff() 2634 if (!!(ifr->ifr_flags & IFF_MULTI_QUEUE) != in tun_set_iff() 2644 err = tun_attach(tun, file, ifr->ifr_flags & IFF_NOFILTER, in tun_set_iff() 2645 ifr->ifr_flags & IFF_NAPI, in tun_set_iff() 2646 ifr->ifr_flags & IFF_NAPI_FRAGS, true); in tun_set_iff() [all …]
|
D | tap.c | 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()
|
/Linux-v5.15/Documentation/networking/ |
D | tuntap.rst | 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;
|
/Linux-v5.15/include/uapi/linux/ |
D | if.h | 265 #define ifr_flags ifr_ifru.ifru_flags /* flags */ macro
|
/Linux-v5.15/net/core/ |
D | dev_ioctl.c | 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()
|
/Linux-v5.15/arch/um/os-Linux/drivers/ |
D | tuntap_user.c | 148 ifr.ifr_flags = IFF_TAP | IFF_NO_PI; in tuntap_open()
|
/Linux-v5.15/tools/testing/selftests/bpf/prog_tests/ |
D | flow_dissector.c | 394 .ifr_flags = IFF_TAP | IFF_NO_PI | IFF_NAPI | IFF_NAPI_FRAGS, in create_tap() 439 ifr.ifr_flags |= IFF_UP; in ifup()
|
D | tc_redirect.c | 573 ifr.ifr_flags = IFF_TUN | IFF_NO_PI; in tun_open()
|
/Linux-v5.15/arch/xtensa/platforms/iss/ |
D | network.c | 175 ifr.ifr_flags = IFF_TAP | IFF_NO_PI; in tuntap_open()
|
/Linux-v5.15/arch/um/drivers/ |
D | vector_user.c | 143 ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_VNET_HDR; in create_tap_fd()
|
/Linux-v5.15/net/ipv4/ |
D | devinet.c | 1138 if (!(ifr->ifr_flags & IFF_UP)) in devinet_ioctl() 1142 ret = dev_change_flags(dev, ifr->ifr_flags, NULL); in devinet_ioctl()
|