Searched refs:IFF_VNET_HDR (Results 1 – 11 of 11) sorted by relevance
66 if (features & IFF_VNET_HDR) { in tap_open()68 ifr.ifr_flags |= IFF_VNET_HDR; in tap_open()161 return ifr.ifr_flags & IFF_VNET_HDR; in tap_probe_vnet_hdr()
42 #define IFF_VNET_HDR 0x4000 macro
73 #define IFF_VNET_HDR 0x4000 macro
75 #define IFF_VNET_HDR 0x4000 macro
171 if (!(features & IFF_VNET_HDR)) { in has_vnet_hdr()351 ifr.ifr_flags |= IFF_VNET_HDR; in main()
2847 " use vnet_hdr=off to avoid enabling the IFF_VNET_HDR tap flag\n"2848 " use vnet_hdr=on to make the lack of IFF_VNET_HDR support an error condition\n"
29 #define TAP_IFFEATURES (IFF_VNET_HDR | IFF_MULTI_QUEUE)343 if (q->flags & IFF_VNET_HDR) in tap_handle_frame()541 q->flags = IFF_VNET_HDR | IFF_NO_PI | IFF_TAP; in tap_open()654 if (q->flags & IFF_VNET_HDR) { in tap_get_user()799 if (q->flags & IFF_VNET_HDR) { in tap_put_user()1185 if (q->flags & IFF_VNET_HDR) in tap_get_user_xdp()
99 #define TUN_FEATURES (IFF_NO_PI | IFF_ONE_QUEUE | IFF_VNET_HDR | \1777 if (tun->flags & IFF_VNET_HDR) { in tun_get_user()2070 if (tun->flags & IFF_VNET_HDR) { in tun_put_user_xdp()2106 if (tun->flags & IFF_VNET_HDR) in tun_put_user()2389 if (nla_put_u8(skb, IFLA_TUN_VNET_HDR, !!(tun->flags & IFF_VNET_HDR))) in tun_fill_info()
143 ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_VNET_HDR; in create_tap_fd()512 if ((features & IFF_VNET_HDR) == 0) { in uml_tap_enable_vnet_headers()
215 ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_VNET_HDR | IFF_MULTI_QUEUE; in opentap()
225 # @vnet_hdr: enable the IFF_VNET_HDR flag on the tap interface