Searched refs:tap_features (Results 1 – 2 of 2) sorted by relevance
72 unsigned int tap_features; in vhost_kernel_open_tap() local95 if (ioctl(tapfd, TUNGETFEATURES, &tap_features) == -1) { in vhost_kernel_open_tap()99 if (tap_features & IFF_ONE_QUEUE) in vhost_kernel_open_tap()106 if (tap_features & IFF_VNET_HDR) { in vhost_kernel_open_tap()
158 unsigned int tap_features; in tap_support_features() local167 if (ioctl(tapfd, TUNGETFEATURES, &tap_features) == -1) { in tap_support_features()174 return tap_features; in tap_support_features()