2019-10-02 20:56:28 +00:00
|
|
|
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
2019-04-17 17:15:55 +00:00
|
|
|
// cgo -godefs defs_freebsd.go
|
|
|
|
|
|
|
|
package socket
|
|
|
|
|
|
|
|
type iovec struct {
|
|
|
|
Base *byte
|
|
|
|
Len uint64
|
|
|
|
}
|
|
|
|
|
|
|
|
type msghdr struct {
|
|
|
|
Name *byte
|
|
|
|
Namelen uint32
|
|
|
|
Pad_cgo_0 [4]byte
|
|
|
|
Iov *iovec
|
|
|
|
Iovlen int32
|
|
|
|
Pad_cgo_1 [4]byte
|
|
|
|
Control *byte
|
|
|
|
Controllen uint32
|
|
|
|
Flags int32
|
|
|
|
}
|
|
|
|
|
|
|
|
type cmsghdr struct {
|
|
|
|
Len uint32
|
|
|
|
Level int32
|
|
|
|
Type int32
|
|
|
|
}
|
|
|
|
|
|
|
|
const (
|
2021-08-27 11:26:00 +00:00
|
|
|
sizeofIovec = 0x10
|
|
|
|
sizeofMsghdr = 0x30
|
2019-04-17 17:15:55 +00:00
|
|
|
)
|