Home
last modified time | relevance | path

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

/linux-6.12.1/tools/include/uapi/linux/
Dif_tun.h28 #define TUN_TAP_DEV IFF_TAP
67 #define IFF_TAP 0x0002 macro
/linux-6.12.1/include/uapi/linux/
Dif_tun.h28 #define TUN_TAP_DEV IFF_TAP
67 #define IFF_TAP 0x0002 macro
/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
Dlwt_helpers.h49 ifr.ifr_flags = IFF_NO_PI | (need_mac ? IFF_TAP : IFF_TUN); in open_tuntap()
Dflow_dissector.c452 .ifr_flags = IFF_TAP | IFF_NO_PI | IFF_NAPI | IFF_NAPI_FRAGS, in create_tap()
/linux-6.12.1/drivers/net/
Dtun.c1390 case IFF_TAP: in tun_net_initialize()
1582 if ((tun->flags & TUN_TYPE_MASK) != IFF_TAP) in tun_can_build_skb()
1794 if ((tun->flags & TUN_TYPE_MASK) == IFF_TAP) { in tun_get_user()
1899 case IFF_TAP: in tun_get_user()
2702 return tun->flags & (TUN_FEATURES | IFF_PERSIST | IFF_TUN | IFF_TAP); in tun_flags()
2762 (ifr->ifr_flags & TUN_TYPE_MASK) != IFF_TAP) in tun_set_iff()
2772 else if ((ifr->ifr_flags & IFF_TAP) && dev->netdev_ops == &tap_netdev_ops) in tun_set_iff()
2823 } else if (ifr->ifr_flags & IFF_TAP) { in tun_set_iff()
2825 flags |= IFF_TAP; in tun_set_iff()
3111 return put_user(IFF_TUN | IFF_TAP | IFF_NO_CARRIER | in __tun_chr_ioctl()
[all …]
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()
/linux-6.12.1/Documentation/networking/
Dtuntap.rst104 * IFF_TAP - TAP device
158 * IFF_TAP - TAP device
163 ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_MULTI_QUEUE;
/linux-6.12.1/tools/testing/selftests/net/
Dtun.c55 ifr.ifr_flags = IFF_TAP | IFF_NAPI | IFF_MULTI_QUEUE; in tun_alloc()
Dtap.c215 ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_VNET_HDR | IFF_MULTI_QUEUE; in opentap()
/linux-6.12.1/arch/um/os-Linux/drivers/
Dtuntap_user.c148 ifr.ifr_flags = IFF_TAP | IFF_NO_PI; in tuntap_open()
/linux-6.12.1/arch/xtensa/platforms/iss/
Dnetwork.c172 ifr.ifr_flags = IFF_TAP | IFF_NO_PI; in tuntap_open()
/linux-6.12.1/tools/virtio/
Dvhost_net_test.c74 ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_VNET_HDR; in tun_alloc()
/linux-6.12.1/arch/um/drivers/
Dvector_user.c146 ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_VNET_HDR; in create_tap_fd()