Searched refs:IFF_TAP (Results 1 – 13 of 13) sorted by relevance
28 #define TUN_TAP_DEV IFF_TAP67 #define IFF_TAP 0x0002 macro
49 ifr.ifr_flags = IFF_NO_PI | (need_mac ? IFF_TAP : IFF_TUN); in open_tuntap()
452 .ifr_flags = IFF_TAP | IFF_NO_PI | IFF_NAPI | IFF_NAPI_FRAGS, in create_tap()
1390 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 …]
541 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()
104 * IFF_TAP - TAP device158 * IFF_TAP - TAP device163 ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_MULTI_QUEUE;
55 ifr.ifr_flags = IFF_TAP | IFF_NAPI | IFF_MULTI_QUEUE; in tun_alloc()
215 ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_VNET_HDR | IFF_MULTI_QUEUE; in opentap()
148 ifr.ifr_flags = IFF_TAP | IFF_NO_PI; in tuntap_open()
172 ifr.ifr_flags = IFF_TAP | IFF_NO_PI; in tuntap_open()
74 ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_VNET_HDR; in tun_alloc()
146 ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_VNET_HDR; in create_tap_fd()