pretty spicy

This commit is contained in:
JackDoan
2026-04-17 14:00:18 -05:00
parent 1dc30df88b
commit f60cbfdc71
10 changed files with 364 additions and 5 deletions

View File

@@ -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)
}