golang.org/x/net@v0.25.1-0.20240516223405-c87a5b62e243/internal/socket/zsys_openbsd_386.go (about) 1 // Code generated by cmd/cgo -godefs; DO NOT EDIT. 2 // cgo -godefs defs_openbsd.go 3 4 package socket 5 6 type iovec struct { 7 Base *byte 8 Len uint32 9 } 10 11 type msghdr struct { 12 Name *byte 13 Namelen uint32 14 Iov *iovec 15 Iovlen uint32 16 Control *byte 17 Controllen uint32 18 Flags int32 19 } 20 21 type cmsghdr struct { 22 Len uint32 23 Level int32 24 Type int32 25 } 26 27 const ( 28 sizeofIovec = 0x8 29 sizeofMsghdr = 0x1c 30 )