mirror of
https://github.com/go-gitea/gitea.git
synced 2024-08-26 22:27:29 +02:00
36 lines
464 B
Go
36 lines
464 B
Go
|
// Code generated by cmd/cgo -godefs; DO NOT EDIT.
|
||
|
// cgo -godefs defs_linux.go
|
||
|
|
||
|
package socket
|
||
|
|
||
|
type iovec struct {
|
||
|
Base *byte
|
||
|
Len uint32
|
||
|
}
|
||
|
|
||
|
type msghdr struct {
|
||
|
Name *byte
|
||
|
Namelen uint32
|
||
|
Iov *iovec
|
||
|
Iovlen uint32
|
||
|
Control *byte
|
||
|
Controllen uint32
|
||
|
Flags int32
|
||
|
}
|
||
|
|
||
|
type mmsghdr struct {
|
||
|
Hdr msghdr
|
||
|
Len uint32
|
||
|
}
|
||
|
|
||
|
type cmsghdr struct {
|
||
|
Len uint32
|
||
|
Level int32
|
||
|
Type int32
|
||
|
}
|
||
|
|
||
|
const (
|
||
|
sizeofIovec = 0x8
|
||
|
sizeofMsghdr = 0x1c
|
||
|
)
|