Home
last modified time | relevance | path

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

/linux-6.3-rc2/tools/include/uapi/linux/
A Dif_tun.h28 #define TUN_TAP_DEV IFF_TAP
67 #define IFF_TAP 0x0002 macro
/linux-6.3-rc2/include/uapi/linux/
A Dif_tun.h28 #define TUN_TAP_DEV IFF_TAP
67 #define IFF_TAP 0x0002 macro
/linux-6.3-rc2/drivers/net/
A Dtun.c1395 case IFF_TAP: in tun_net_initialize()
1584 if ((tun->flags & TUN_TYPE_MASK) != IFF_TAP) in tun_can_build_skb()
1786 if ((tun->flags & TUN_TYPE_MASK) == IFF_TAP) { in tun_get_user()
1888 case IFF_TAP: in tun_get_user()
2790 } else if (ifr->ifr_flags & IFF_TAP) { in tun_set_iff()
2792 flags |= IFF_TAP; in tun_set_iff()
3229 if ((tun->flags & TUN_TYPE_MASK) != IFF_TAP) in __tun_chr_ioctl()
3313 if ((tun->flags & TUN_TYPE_MASK) != IFF_TAP) in __tun_chr_ioctl()
3325 if ((tun->flags & TUN_TYPE_MASK) != IFF_TAP) in __tun_chr_ioctl()
3333 if ((tun->flags & TUN_TYPE_MASK) != IFF_TAP) in __tun_chr_ioctl()
[all …]
A Dtap.c539 q->flags = IFF_VNET_HDR | IFF_NO_PI | IFF_TAP; in tap_open()
1014 if ((u & ~TAP_IFFEATURES) != (IFF_NO_PI | IFF_TAP)) in tap_ioctl()
1047 if (put_user(IFF_TAP | IFF_NO_PI | TAP_IFFEATURES, up)) in tap_ioctl()
/linux-6.3-rc2/Documentation/networking/
A 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.3-rc2/tools/testing/selftests/net/
A Dtun.c55 ifr.ifr_flags = IFF_TAP | IFF_NAPI | IFF_MULTI_QUEUE; in tun_alloc()
A Dtap.c215 ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_VNET_HDR | IFF_MULTI_QUEUE; in opentap()
/linux-6.3-rc2/arch/um/os-Linux/drivers/
A Dtuntap_user.c148 ifr.ifr_flags = IFF_TAP | IFF_NO_PI; in tuntap_open()
/linux-6.3-rc2/arch/xtensa/platforms/iss/
A Dnetwork.c172 ifr.ifr_flags = IFF_TAP | IFF_NO_PI; in tuntap_open()
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/
A Dflow_dissector.c429 .ifr_flags = IFF_TAP | IFF_NO_PI | IFF_NAPI | IFF_NAPI_FRAGS, in create_tap()
/linux-6.3-rc2/arch/um/drivers/
A Dvector_user.c143 ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_VNET_HDR; in create_tap_fd()

Completed in 22 milliseconds