mirror of
https://github.com/slackhq/nebula.git
synced 2026-05-16 12:57:38 +02:00
pretty spicy
This commit is contained in:
@@ -72,3 +72,15 @@ func (u *StdConn) prepareWriteMessages(n int) {
|
||||
func setIovLen(v *iovec, n int) {
|
||||
v.Len = uint32(n)
|
||||
}
|
||||
|
||||
func setMsgIovlen(m *msghdr, n int) {
|
||||
m.Iovlen = uint32(n)
|
||||
}
|
||||
|
||||
func setMsgControllen(m *msghdr, n int) {
|
||||
m.Controllen = uint32(n)
|
||||
}
|
||||
|
||||
func setCmsgLen(h *unix.Cmsghdr, n int) {
|
||||
h.Len = uint32(n)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user