mirror of
https://github.com/yggdrasil-network/water.git
synced 2025-05-19 16:35:10 +03:00
Add flags cIFF_MULTI_QUEUE
Signed-off-by: Tony Lu <tonyluj@gmail.com>
This commit is contained in:
parent
99d07fc117
commit
c14726aabc
2 changed files with 23 additions and 5 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue