golang.org/x/net@v0.25.1-0.20240516223405-c87a5b62e243/internal/socket/zsys_aix_ppc64.go (about) 1 // Code generated by cmd/cgo -godefs; DO NOT EDIT. 2 // cgo -godefs defs_aix.go 3 4 // Added for go1.11 compatibility 5 //go:build aix 6 7 package socket 8 9 type iovec struct { 10 Base *byte 11 Len uint64 12 } 13 14 type msghdr struct { 15 Name *byte 16 Namelen uint32 17 Iov *iovec 18 Iovlen int32 19 Control *byte 20 Controllen uint32 21 Flags int32 22 } 23 24 type mmsghdr struct { 25 Hdr msghdr 26 Len uint32 27 Pad_cgo_0 [4]byte 28 } 29 30 type cmsghdr struct { 31 Len uint32 32 Level int32 33 Type int32 34 } 35 36 const ( 37 sizeofIovec = 0x10 38 sizeofMsghdr = 0x30 39 )