Home
last modified time | relevance | path

Searched refs:IFF_TAP (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/tools/include/uapi/linux/
H A Dif_tun.h28 #define TUN_TAP_DEV IFF_TAP
67 #define IFF_TAP 0x0002 macro
/openbmc/linux/include/uapi/linux/
H A Dif_tun.h28 #define TUN_TAP_DEV IFF_TAP
67 #define IFF_TAP 0x0002 macro
/openbmc/qemu/net/
H A Dtap-linux.h39 #define IFF_TAP 0x0002 macro
H A Dtap-linux.c54 ifr.ifr_flags = IFF_TAP | IFF_NO_PI; in tap_open()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dlwt_helpers.h49 ifr.ifr_flags = IFF_NO_PI | (need_mac ? IFF_TAP : IFF_TUN); in open_tuntap()
H A Dflow_dissector.c452 .ifr_flags = IFF_TAP | IFF_NO_PI | IFF_NAPI | IFF_NAPI_FRAGS, in create_tap()
/openbmc/linux/drivers/net/
H A Dtun.c1396 case IFF_TAP: in tun_net_initialize()
1588 if ((tun->flags & TUN_TYPE_MASK) != IFF_TAP) in tun_can_build_skb()
1796 if ((tun->flags & TUN_TYPE_MASK) == IFF_TAP) { in tun_get_user()
1901 case IFF_TAP: in tun_get_user()
2823 } else if (ifr->ifr_flags & IFF_TAP) { in tun_set_iff()
2825 flags |= IFF_TAP; in tun_set_iff()
3265 if ((tun->flags & TUN_TYPE_MASK) != IFF_TAP) in __tun_chr_ioctl()
3349 if ((tun->flags & TUN_TYPE_MASK) != IFF_TAP) in __tun_chr_ioctl()
3361 if ((tun->flags & TUN_TYPE_MASK) != IFF_TAP) in __tun_chr_ioctl()
3369 if ((tun->flags & TUN_TYPE_MASK) != IFF_TAP) in __tun_chr_ioctl()
[all …]
H A Dtap.c541 q->flags = IFF_VNET_HDR | IFF_NO_PI | IFF_TAP; in tap_open()
1029 if ((u & ~TAP_IFFEATURES) != (IFF_NO_PI | IFF_TAP)) in tap_ioctl()
1062 if (put_user(IFF_TAP | IFF_NO_PI | TAP_IFFEATURES, up)) in tap_ioctl()
/openbmc/linux/Documentation/networking/
H A Dtuntap.rst104 * IFF_TAP - TAP device
158 * IFF_TAP - TAP device
163 ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_MULTI_QUEUE;
/openbmc/linux/tools/testing/selftests/net/
H A Dtun.c55 ifr.ifr_flags = IFF_TAP | IFF_NAPI | IFF_MULTI_QUEUE; in tun_alloc()
H A Dtap.c215 ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_VNET_HDR | IFF_MULTI_QUEUE; in opentap()
/openbmc/linux/arch/um/os-Linux/drivers/
H A Dtuntap_user.c148 ifr.ifr_flags = IFF_TAP | IFF_NO_PI; in tuntap_open()
/openbmc/qemu/
H A Dqemu-bridge-helper.c349 ifr.ifr_flags = IFF_TAP|IFF_NO_PI; in main()
/openbmc/linux/arch/xtensa/platforms/iss/
H A Dnetwork.c172 ifr.ifr_flags = IFF_TAP | IFF_NO_PI; in tuntap_open()
/openbmc/linux/arch/um/drivers/
H A Dvector_user.c143 ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_VNET_HDR; in create_tap_fd()