|
@@ -372,6 +372,10 @@ func (msghdr *Msghdr) SetControllen(length int) {
|
|
|
msghdr.Controllen = uint32(length)
|
|
msghdr.Controllen = uint32(length)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+func (msghdr *Msghdr) SetIovlen(length int) {
|
|
|
|
|
+ msghdr.Iovlen = uint32(length)
|
|
|
|
|
+}
|
|
|
|
|
+
|
|
|
func (cmsg *Cmsghdr) SetLen(length int) {
|
|
func (cmsg *Cmsghdr) SetLen(length int) {
|
|
|
cmsg.Len = uint32(length)
|
|
cmsg.Len = uint32(length)
|
|
|
}
|
|
}
|