1// Code generated by cmd/cgo -godefs; DO NOT EDIT. 2// cgo -godefs defs_linux.go 3 4package socket 5 6type iovec struct { 7 Base *byte 8 Len uint32 9} 10 11type 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 21type mmsghdr struct { 22 Hdr msghdr 23 Len uint32 24} 25 26type cmsghdr struct { 27 Len uint32 28 Level int32 29 Type int32 30} 31 32const ( 33 sizeofIovec = 0x8 34 sizeofMsghdr = 0x1c 35) 36