diff options
Diffstat (limited to 'vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go')
-rw-r--r-- | vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go b/vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go index 6878bf7..25a0ac8 100644 --- a/vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go +++ b/vendor/golang.org/x/sys/unix/syscall_netbsd_amd64.go | |||
@@ -28,6 +28,10 @@ func (msghdr *Msghdr) SetControllen(length int) { | |||
28 | msghdr.Controllen = uint32(length) | 28 | msghdr.Controllen = uint32(length) |
29 | } | 29 | } |
30 | 30 | ||
31 | func (msghdr *Msghdr) SetIovlen(length int) { | ||
32 | msghdr.Iovlen = int32(length) | ||
33 | } | ||
34 | |||
31 | func (cmsg *Cmsghdr) SetLen(length int) { | 35 | func (cmsg *Cmsghdr) SetLen(length int) { |
32 | cmsg.Len = uint32(length) | 36 | cmsg.Len = uint32(length) |
33 | } | 37 | } |