1
0
mirror of https://github.com/fumiama/water.git synced 2026-06-12 06:00:26 +08:00

Add flags cIFF_MULTI_QUEUE

Signed-off-by: Tony Lu <tonyluj@gmail.com>
This commit is contained in:
Tony Lu
2017-08-22 01:08:43 +08:00
parent 99d07fc117
commit c14726aabc
2 changed files with 23 additions and 5 deletions

View File

@@ -31,6 +31,11 @@ type PlatformSpecificParams struct {
// A zero-value of this field, i.e. nil, indicates that no changes to owner
// or group will be made.
Permissions *DevicePermissions
// Support multiqueue tun/tap interface.
// From version 3.8, Linux supports multiqueue tuntap which can uses multiple
// file descriptors (queues) to parallelize packets sending or receiving.
MultiQueue bool
}
func defaultPlatformSpecificParams() PlatformSpecificParams {