28
28
k.Filter = int16(mode)
29
29
k.Flags = uint16(flags)
32
func (iov *Iovec) SetLen(length int) {
33
iov.Len = uint64(length)
36
func (msghdr *Msghdr) SetControllen(length int) {
37
msghdr.Controllen = uint32(length)
40
func (cmsg *Cmsghdr) SetLen(length int) {
41
cmsg.Len = uint32(length)