Searched refs:ifr_flags (Results 1 – 16 of 16) sorted by relevance
| /linux/tools/testing/selftests/net/ |
| H A D | ipv6_fragmentation.c | 65 ifr.ifr_flags = ifr.ifr_flags | IFF_UP; in setup()
|
| H A D | skf_net_off.c | 64 ifr.ifr_flags = IFF_TAP; in tun_open() 66 ifr.ifr_flags |= IFF_NAPI | IFF_NAPI_FRAGS; in tun_open()
|
| H A D | tun.c | 131 ifr.ifr_flags = IFF_ATTACH_QUEUE; in tun_attach() 142 ifr.ifr_flags = IFF_DETACH_QUEUE; in tun_detach() 160 ifr.ifr_flags = IFF_TAP | IFF_NAPI | IFF_MULTI_QUEUE; in tun_alloc() 189 ifr.ifr_flags = flags; in tun_open() 221 ifr.ifr_flags |= (IFF_UP | IFF_RUNNING); in tun_open()
|
| H A D | psock_fanout.c | 79 if (state_up != !!(ifreq.ifr_flags & IFF_UP)) { in loopback_set_up_down() 80 ifreq.ifr_flags ^= IFF_UP; in loopback_set_up_down()
|
| H A D | ipv6_flowlabel_mgr.c | 153 ifr.ifr_flags = ifr.ifr_flags | IFF_UP; in bringup_loopback()
|
| H A D | tap.c | 209 ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_VNET_HDR | IFF_MULTI_QUEUE; in opentap()
|
| /linux/drivers/net/ |
| H A D | tun.c | 975 (ifr->ifr_flags & TUN_FEATURES); in tun_net_init() 978 err = tun_attach(tun, tun->file, false, ifr->ifr_flags & IFF_NAPI, in tun_net_init() 979 ifr->ifr_flags & IFF_NAPI_FRAGS, false); in tun_net_init() 2851 if ((ifr->ifr_flags & IFF_NAPI_FRAGS)) { in tun_set_iff() 2855 if (!(ifr->ifr_flags & IFF_NAPI) || in tun_set_iff() 2856 (ifr->ifr_flags & TUN_TYPE_MASK) != IFF_TAP) in tun_set_iff() 2862 if (ifr->ifr_flags & IFF_TUN_EXCL) in tun_set_iff() 2864 if ((ifr->ifr_flags & IFF_TUN) && dev->netdev_ops == &tun_netdev_ops) in tun_set_iff() 2866 else if ((ifr->ifr_flags & IFF_TAP) && dev->netdev_ops == &tap_netdev_ops) in tun_set_iff() 2871 if (!!(ifr->ifr_flags & IFF_MULTI_QUEUE) != in tun_set_iff() [all …]
|
| H A D | tap.c | 932 if (get_user(u, &ifr->ifr_flags)) in tap_ioctl() 954 put_user(u, &ifr->ifr_flags)) in tap_ioctl() 961 if (get_user(u, &ifr->ifr_flags)) in tap_ioctl()
|
| /linux/Documentation/networking/ |
| H A 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/include/uapi/linux/ |
| H A D | if.h | 265 #define ifr_flags ifr_ifru.ifru_flags /* flags */ macro
|
| /linux/tools/virtio/ |
| H A D | vhost_net_test.c | 74 ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_VNET_HDR; in tun_alloc() 116 ifr.ifr_flags |= (IFF_UP | IFF_RUNNING); in vdev_create_socket()
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | flow_dissector.c | 569 .ifr_flags = IFF_TAP | IFF_NO_PI | IFF_NAPI | IFF_NAPI_FRAGS, in create_tap() 614 ifr.ifr_flags |= IFF_UP; in ifup()
|
| H A D | tc_redirect.c | 1163 ifr.ifr_flags = IFF_TUN | IFF_NO_PI; in tun_open()
|
| /linux/arch/um/drivers/ |
| H A D | vector_user.c | 146 ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_VNET_HDR; in create_tap_fd()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | network_helpers.c | 584 ifr.ifr_flags = IFF_NO_PI | (need_mac ? IFF_TAP : IFF_TUN); in open_tuntap()
|
| /linux/net/ipv4/ |
| H A D | devinet.c | 1192 if (!(ifr->ifr_flags & IFF_UP)) in devinet_ioctl() 1199 ret = dev_change_flags(dev, ifr->ifr_flags, NULL); in devinet_ioctl()
|