mirror of
https://github.com/slackhq/nebula.git
synced 2026-05-16 04:47:38 +02:00
fix
This commit is contained in:
@@ -78,19 +78,3 @@ func setMsgControllen(m *msghdr, n int) {
|
|||||||
func setCmsgLen(h *unix.Cmsghdr, n int) {
|
func setCmsgLen(h *unix.Cmsghdr, n int) {
|
||||||
h.Len = uint32(n)
|
h.Len = uint32(n)
|
||||||
}
|
}
|
||||||
|
|
||||||
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)
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -81,19 +81,3 @@ func setMsgControllen(m *msghdr, n int) {
|
|||||||
func setCmsgLen(h *unix.Cmsghdr, n int) {
|
func setCmsgLen(h *unix.Cmsghdr, n int) {
|
||||||
h.Len = uint64(n)
|
h.Len = uint64(n)
|
||||||
}
|
}
|
||||||
|
|
||||||
func setIovLen(v *iovec, n int) {
|
|
||||||
v.Len = uint64(n)
|
|
||||||
}
|
|
||||||
|
|
||||||
func setMsgIovlen(m *msghdr, n int) {
|
|
||||||
m.Iovlen = uint64(n)
|
|
||||||
}
|
|
||||||
|
|
||||||
func setMsgControllen(m *msghdr, n int) {
|
|
||||||
m.Controllen = uint64(n)
|
|
||||||
}
|
|
||||||
|
|
||||||
func setCmsgLen(h *unix.Cmsghdr, n int) {
|
|
||||||
h.Len = uint64(n)
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user