...
1
2
3
4 package socket
5
6 type iovec struct {
7 Base *byte
8 Len uint64
9 }
10
11 type msghdr struct {
12 Name *byte
13 Namelen uint32
14 Pad_cgo_0 [4]byte
15 Iov *iovec
16 Iovlen int32
17 Pad_cgo_1 [4]byte
18 Control *byte
19 Controllen uint32
20 Flags int32
21 }
22
23 type mmsghdr struct {
24 Hdr msghdr
25 Len uint32
26 Pad_cgo_0 [4]byte
27 }
28
29 type cmsghdr struct {
30 Len uint32
31 Level int32
32 Type int32
33 }
34
35 const (
36 sizeofIovec = 0x10
37 sizeofMsghdr = 0x30
38 )
39
View as plain text