/openbmc/qemu/net/ |
H A D | tap-linux.c | 54 ifr.ifr_flags = IFF_TAP | IFF_NO_PI; in tap_open() 62 ifr.ifr_flags |= IFF_ONE_QUEUE; in tap_open() 68 ifr.ifr_flags |= IFF_VNET_HDR; in tap_open() 95 ifr.ifr_flags |= IFF_MULTI_QUEUE; in tap_open() 161 return ifr.ifr_flags & IFF_VNET_HDR; in tap_probe_vnet_hdr() 279 ifr.ifr_flags = IFF_ATTACH_QUEUE; in tap_fd_enable() 297 ifr.ifr_flags = IFF_DETACH_QUEUE; in tap_fd_disable()
|
/openbmc/google-misc/subprojects/ncsid/test/ |
H A D | net_iface_mock.cpp | 43 ifr->ifr_flags = flags; in ioctl() 46 flags = ifr->ifr_flags; in ioctl()
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | tun.c | 26 ifr.ifr_flags = IFF_ATTACH_QUEUE; in tun_attach() 37 ifr.ifr_flags = IFF_DETACH_QUEUE; in tun_detach() 55 ifr.ifr_flags = IFF_TAP | IFF_NAPI | IFF_MULTI_QUEUE; in tun_alloc()
|
H A D | tap.c | 215 ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_VNET_HDR | IFF_MULTI_QUEUE; in opentap()
|
/openbmc/google-misc/subprojects/ncsid/src/ |
H A D | net_iface.cpp | 75 ifr.ifr_flags |= flags; in mod_sock_flags() 79 ifr.ifr_flags &= ~flags; in mod_sock_flags()
|
H A D | net_config.cpp | 179 flags_copy = ifr.ifr_flags; in set_mac_addr() 181 ifr.ifr_flags &= ~IFF_UP; in set_mac_addr() 192 ifr.ifr_flags = flags_copy | IFF_UP; in set_mac_addr()
|
/openbmc/phosphor-networkd/src/ |
H A D | system_queries.cpp | 108 ifr.ifr_flags &= ~IFF_UP; in setNICUp() 109 ifr.ifr_flags |= up ? IFF_UP : 0; in setNICUp()
|
/openbmc/linux/drivers/net/ |
H A D | tun.c | 1004 (ifr->ifr_flags & TUN_FEATURES); in tun_net_init() 1007 err = tun_attach(tun, tun->file, false, ifr->ifr_flags & IFF_NAPI, in tun_net_init() 1008 ifr->ifr_flags & IFF_NAPI_FRAGS, false); in tun_net_init() 2757 if ((ifr->ifr_flags & IFF_NAPI_FRAGS)) { in tun_set_iff() 2761 if (!(ifr->ifr_flags & IFF_NAPI) || in tun_set_iff() 2762 (ifr->ifr_flags & TUN_TYPE_MASK) != IFF_TAP) in tun_set_iff() 2768 if (ifr->ifr_flags & IFF_TUN_EXCL) in tun_set_iff() 2770 if ((ifr->ifr_flags & IFF_TUN) && dev->netdev_ops == &tun_netdev_ops) in tun_set_iff() 2772 else if ((ifr->ifr_flags & IFF_TAP) && dev->netdev_ops == &tap_netdev_ops) in tun_set_iff() 2777 if (!!(ifr->ifr_flags & IFF_MULTI_QUEUE) != in tun_set_iff() [all …]
|
H A D | tap.c | 1025 if (get_user(u, &ifr->ifr_flags)) in tap_ioctl() 1047 put_user(u, &ifr->ifr_flags)) in tap_ioctl() 1054 if (get_user(u, &ifr->ifr_flags)) in tap_ioctl()
|
/openbmc/qemu/ |
H A D | qemu-bridge-helper.c | 349 ifr.ifr_flags = IFF_TAP|IFF_NO_PI; in main() 351 ifr.ifr_flags |= IFF_VNET_HDR; in main() 433 ifr.ifr_flags |= IFF_UP; in main()
|
/openbmc/u-boot/arch/sandbox/cpu/ |
H A D | eth-raw-os.c | 54 ret = !!(ifr.ifr_flags & IFF_LOOPBACK); in sandbox_eth_raw_os_is_local() 130 ifr.ifr_flags |= IFF_PROMISC; in _raw_packet_start()
|
/openbmc/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;
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | lwt_helpers.h | 49 ifr.ifr_flags = IFF_NO_PI | (need_mac ? IFF_TAP : IFF_TUN); in open_tuntap()
|
H A D | flow_dissector.c | 453 .ifr_flags = IFF_TAP | IFF_NO_PI | IFF_NAPI | IFF_NAPI_FRAGS, in create_tap() 498 ifr.ifr_flags |= IFF_UP; in ifup()
|
H A D | tc_redirect.c | 1033 ifr.ifr_flags = IFF_TUN | IFF_NO_PI; in tun_open()
|
/openbmc/linux/include/uapi/linux/ |
H A D | if.h | 265 #define ifr_flags ifr_ifru.ifru_flags /* flags */ macro
|
/openbmc/linux/arch/um/os-Linux/drivers/ |
H A D | tuntap_user.c | 148 ifr.ifr_flags = IFF_TAP | IFF_NO_PI; in tuntap_open()
|
/openbmc/linux/net/core/ |
H A D | dev_ioctl.c | 148 ifr->ifr_flags = (short) dev_get_flags(dev); in dev_ifsioc_locked() 529 return dev_change_flags(dev, ifr->ifr_flags, NULL); in dev_ifsioc()
|
/openbmc/phosphor-networkd/test/ |
H A D | mock_syscall.cpp | 173 req->ifr_flags = it->second.flags; in ioctl()
|
/openbmc/linux/arch/xtensa/platforms/iss/ |
H A D | network.c | 172 ifr.ifr_flags = IFF_TAP | IFF_NO_PI; in tuntap_open()
|
/openbmc/linux/arch/um/drivers/ |
H A D | vector_user.c | 143 ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_VNET_HDR; in create_tap_fd()
|
/openbmc/linux/net/ipv4/ |
H A D | devinet.c | 1174 if (!(ifr->ifr_flags & IFF_UP)) in devinet_ioctl() 1178 ret = dev_change_flags(dev, ifr->ifr_flags, NULL); in devinet_ioctl()
|