diff options
Diffstat (limited to 'pkg/iovec/iovec.go')
-rw-r--r-- | pkg/iovec/iovec.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/iovec/iovec.go b/pkg/iovec/iovec.go index f6791060f..a281c05b6 100644 --- a/pkg/iovec/iovec.go +++ b/pkg/iovec/iovec.go @@ -22,6 +22,9 @@ import ( "golang.org/x/sys/unix" ) +// MaxIovs is the maximum number of iovecs host platform can accept. +var MaxIovs = 1024 + // Builder is a builder for slice of unix.Iovec. type Builder struct { iovec []unix.Iovec |