Searched refs:IFF_TAP (Results 1 – 15 of 15) sorted by relevance
28 #define TUN_TAP_DEV IFF_TAP67 #define IFF_TAP 0x0002 macro
39 #define IFF_TAP 0x0002 macro
54 ifr.ifr_flags = IFF_TAP | IFF_NO_PI; in tap_open()
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()
1396 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 …]
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()
349 ifr.ifr_flags = IFF_TAP|IFF_NO_PI; in main()
172 ifr.ifr_flags = IFF_TAP | IFF_NO_PI; in tuntap_open()
143 ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_VNET_HDR; in create_tap_fd()