// Code generated by cmd/cgo -godefs; DO NOT EDIT. | |
// cgo -godefs defs_solaris.go | |
package socket | |
type iovec struct { | |
Base *int8 | |
Len uint64 | |
} | |
type msghdr struct { | |
Name *byte | |
Namelen uint32 | |
Pad_cgo_0 [4]byte | |
Iov *iovec | |
Iovlen int32 | |
Pad_cgo_1 [4]byte | |
Accrights *int8 | |
Accrightslen int32 | |
Pad_cgo_2 [4]byte | |
} | |
type cmsghdr struct { | |
Len uint32 | |
Level int32 | |
Type int32 | |
} | |
const ( | |
sizeofIovec = 0x10 | |
sizeofMsghdr = 0x30 | |
) |