1// Copyright 2018 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5package syscall
6
7func (iov *Iovec) SetLen(length int) {
8	iov.Len = uint64(length)
9}
10
11func (msghdr *Msghdr) SetControllen(length int) {
12	msghdr.Controllen = uint32(length)
13}
14
15func (cmsg *Cmsghdr) SetLen(length int) {
16	cmsg.Len = uint32(length)
17}
18