Home
last modified time | relevance | path

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

/openbmc/qemu/net/
H A Dtap-linux.c66 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()
H A Dtap-linux.h42 #define IFF_VNET_HDR 0x4000 macro
/openbmc/linux/tools/include/uapi/linux/
H A Dif_tun.h73 #define IFF_VNET_HDR 0x4000 macro
/openbmc/linux/include/uapi/linux/
H A Dif_tun.h75 #define IFF_VNET_HDR 0x4000 macro
/openbmc/qemu/
H A Dqemu-bridge-helper.c171 if (!(features & IFF_VNET_HDR)) { in has_vnet_hdr()
351 ifr.ifr_flags |= IFF_VNET_HDR; in main()
H A Dqemu-options.hx2847 " 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"
/openbmc/linux/drivers/net/
H A Dtap.c29 #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()
H A Dtun.c99 #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()
/openbmc/linux/arch/um/drivers/
H A Dvector_user.c143 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()
/openbmc/linux/tools/testing/selftests/net/
H A Dtap.c215 ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_VNET_HDR | IFF_MULTI_QUEUE; in opentap()
/openbmc/qemu/qapi/
H A Dnet.json225 # @vnet_hdr: enable the IFF_VNET_HDR flag on the tap interface