author | Mikael Berthe <mikael@lilotux.net> |
Tue, 23 Aug 2022 22:39:43 +0200 | |
changeset 260 | 445e01aede7e |
parent 256 | 6d9efbef00a9 |
child 265 | 05c40b36d3b2 |
permissions | -rw-r--r-- |
260 | 1 |
// cgo -godefs -objdir=/tmp/sparc64/cgo -- -Wall -Werror -static -I/tmp/sparc64/include linux/types.go | go run mkpost.go |
251 | 2 |
// Code generated by the command above; see README.md. DO NOT EDIT. |
3 |
||
256 | 4 |
//go:build sparc64 && linux |
242
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
5 |
// +build sparc64,linux |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
6 |
|
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
7 |
package unix |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
8 |
|
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
9 |
const ( |
256 | 10 |
SizeofPtr = 0x8 |
11 |
SizeofLong = 0x8 |
|
242
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
12 |
) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
13 |
|
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
14 |
type ( |
256 | 15 |
_C_long int64 |
242
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
16 |
) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
17 |
|
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
18 |
type Timespec struct { |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
19 |
Sec int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
20 |
Nsec int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
21 |
} |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
22 |
|
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
23 |
type Timeval struct { |
251 | 24 |
Sec int64 |
25 |
Usec int32 |
|
26 |
_ [4]byte |
|
242
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
27 |
} |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
28 |
|
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
29 |
type Timex struct { |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
30 |
Modes uint32 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
31 |
Offset int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
32 |
Freq int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
33 |
Maxerror int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
34 |
Esterror int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
35 |
Status int32 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
36 |
Constant int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
37 |
Precision int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
38 |
Tolerance int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
39 |
Time Timeval |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
40 |
Tick int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
41 |
Ppsfreq int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
42 |
Jitter int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
43 |
Shift int32 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
44 |
Stabil int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
45 |
Jitcnt int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
46 |
Calcnt int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
47 |
Errcnt int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
48 |
Stbcnt int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
49 |
Tai int32 |
251 | 50 |
_ [44]byte |
242
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
51 |
} |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
52 |
|
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
53 |
type Time_t int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
54 |
|
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
55 |
type Tms struct { |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
56 |
Utime int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
57 |
Stime int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
58 |
Cutime int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
59 |
Cstime int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
60 |
} |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
61 |
|
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
62 |
type Utimbuf struct { |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
63 |
Actime int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
64 |
Modtime int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
65 |
} |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
66 |
|
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
67 |
type Rusage struct { |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
68 |
Utime Timeval |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
69 |
Stime Timeval |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
70 |
Maxrss int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
71 |
Ixrss int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
72 |
Idrss int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
73 |
Isrss int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
74 |
Minflt int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
75 |
Majflt int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
76 |
Nswap int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
77 |
Inblock int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
78 |
Oublock int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
79 |
Msgsnd int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
80 |
Msgrcv int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
81 |
Nsignals int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
82 |
Nvcsw int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
83 |
Nivcsw int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
84 |
} |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
85 |
|
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
86 |
type Stat_t struct { |
251 | 87 |
Dev uint64 |
88 |
_ uint16 |
|
89 |
Ino uint64 |
|
90 |
Mode uint32 |
|
91 |
Nlink uint32 |
|
92 |
Uid uint32 |
|
93 |
Gid uint32 |
|
94 |
Rdev uint64 |
|
95 |
_ uint16 |
|
96 |
Size int64 |
|
97 |
Blksize int64 |
|
98 |
Blocks int64 |
|
99 |
Atim Timespec |
|
100 |
Mtim Timespec |
|
101 |
Ctim Timespec |
|
102 |
_ uint64 |
|
103 |
_ uint64 |
|
242
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
104 |
} |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
105 |
|
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
106 |
type Dirent struct { |
251 | 107 |
Ino uint64 |
108 |
Off int64 |
|
109 |
Reclen uint16 |
|
110 |
Type uint8 |
|
111 |
Name [256]int8 |
|
112 |
_ [5]byte |
|
242
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
113 |
} |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
114 |
|
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
115 |
type Flock_t struct { |
251 | 116 |
Type int16 |
117 |
Whence int16 |
|
118 |
Start int64 |
|
119 |
Len int64 |
|
120 |
Pid int32 |
|
121 |
_ int16 |
|
122 |
_ [2]byte |
|
123 |
} |
|
124 |
||
256 | 125 |
type DmNameList struct { |
126 |
Dev uint64 |
|
127 |
Next uint32 |
|
128 |
Name [0]byte |
|
129 |
_ [4]byte |
|
242
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
130 |
} |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
131 |
|
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
132 |
const ( |
256 | 133 |
FADV_DONTNEED = 0x4 |
134 |
FADV_NOREUSE = 0x5 |
|
242
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
135 |
) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
136 |
|
256 | 137 |
type RawSockaddrNFCLLCP struct { |
138 |
Sa_family uint16 |
|
139 |
Dev_idx uint32 |
|
140 |
Target_idx uint32 |
|
141 |
Nfc_protocol uint32 |
|
142 |
Dsap uint8 |
|
143 |
Ssap uint8 |
|
144 |
Service_name [63]uint8 |
|
145 |
Service_name_len uint64 |
|
251 | 146 |
} |
147 |
||
242
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
148 |
type RawSockaddr struct { |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
149 |
Family uint16 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
150 |
Data [14]int8 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
151 |
} |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
152 |
|
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
153 |
type RawSockaddrAny struct { |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
154 |
Addr RawSockaddr |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
155 |
Pad [96]int8 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
156 |
} |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
157 |
|
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
158 |
type Iovec struct { |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
159 |
Base *byte |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
160 |
Len uint64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
161 |
} |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
162 |
|
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
163 |
type Msghdr struct { |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
164 |
Name *byte |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
165 |
Namelen uint32 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
166 |
Iov *Iovec |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
167 |
Iovlen uint64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
168 |
Control *byte |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
169 |
Controllen uint64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
170 |
Flags int32 |
251 | 171 |
_ [4]byte |
242
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
172 |
} |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
173 |
|
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
174 |
type Cmsghdr struct { |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
175 |
Len uint64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
176 |
Level int32 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
177 |
Type int32 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
178 |
} |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
179 |
|
260 | 180 |
type ifreq struct { |
181 |
Ifrn [16]byte |
|
182 |
Ifru [24]byte |
|
183 |
} |
|
184 |
||
242
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
185 |
const ( |
256 | 186 |
SizeofSockaddrNFCLLCP = 0x60 |
187 |
SizeofIovec = 0x10 |
|
188 |
SizeofMsghdr = 0x38 |
|
189 |
SizeofCmsghdr = 0x10 |
|
242
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
190 |
) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
191 |
|
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
192 |
const ( |
256 | 193 |
SizeofSockFprog = 0x10 |
242
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
194 |
) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
195 |
|
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
196 |
type PtraceRegs struct { |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
197 |
Regs [16]uint64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
198 |
Tstate uint64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
199 |
Tpc uint64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
200 |
Tnpc uint64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
201 |
Y uint32 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
202 |
Magic uint32 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
203 |
} |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
204 |
|
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
205 |
type FdSet struct { |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
206 |
Bits [16]int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
207 |
} |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
208 |
|
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
209 |
type Sysinfo_t struct { |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
210 |
Uptime int64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
211 |
Loads [3]uint64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
212 |
Totalram uint64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
213 |
Freeram uint64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
214 |
Sharedram uint64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
215 |
Bufferram uint64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
216 |
Totalswap uint64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
217 |
Freeswap uint64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
218 |
Procs uint16 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
219 |
Pad uint16 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
220 |
Totalhigh uint64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
221 |
Freehigh uint64 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
222 |
Unit uint32 |
251 | 223 |
_ [0]int8 |
224 |
_ [4]byte |
|
242
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
225 |
} |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
226 |
|
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
227 |
type Ustat_t struct { |
251 | 228 |
Tfree int32 |
229 |
Tinode uint64 |
|
230 |
Fname [6]int8 |
|
231 |
Fpack [6]int8 |
|
232 |
_ [4]byte |
|
242
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
233 |
} |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
234 |
|
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
235 |
type EpollEvent struct { |
251 | 236 |
Events uint32 |
237 |
_ int32 |
|
238 |
Fd int32 |
|
239 |
Pad int32 |
|
242
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
240 |
} |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
241 |
|
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
242 |
const ( |
260 | 243 |
OPEN_TREE_CLOEXEC = 0x400000 |
244 |
) |
|
245 |
||
246 |
const ( |
|
242
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
247 |
POLLRDHUP = 0x800 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
248 |
) |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
249 |
|
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
250 |
type Sigset_t struct { |
251 | 251 |
Val [16]uint64 |
242
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
252 |
} |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
253 |
|
251 | 254 |
const _C__NSIG = 0x41 |
255 |
||
260 | 256 |
type Siginfo struct { |
257 |
Signo int32 |
|
258 |
Errno int32 |
|
259 |
Code int32 |
|
260 |
_ int32 |
|
261 |
_ [112]byte |
|
262 |
} |
|
263 |
||
242
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
264 |
type Termios struct { |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
265 |
Iflag uint32 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
266 |
Oflag uint32 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
267 |
Cflag uint32 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
268 |
Lflag uint32 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
269 |
Line uint8 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
270 |
Cc [19]uint8 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
271 |
Ispeed uint32 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
272 |
Ospeed uint32 |
2a9ec03fe5a1
Use vendoring for backward compatibility
Mikael Berthe <mikael@lilotux.net>
parents:
diff
changeset
|
273 |
} |
251 | 274 |
|
275 |
type Taskstats struct { |
|
276 |
Version uint16 |
|
277 |
Ac_exitcode uint32 |
|
278 |
Ac_flag uint8 |
|
279 |
Ac_nice uint8 |
|
280 |
Cpu_count uint64 |
|
281 |
Cpu_delay_total uint64 |
|
282 |
Blkio_count uint64 |
|
283 |
Blkio_delay_total uint64 |
|
284 |
Swapin_count uint64 |
|
285 |
Swapin_delay_total uint64 |
|
286 |
Cpu_run_real_total uint64 |
|
287 |
Cpu_run_virtual_total uint64 |
|
288 |
Ac_comm [32]int8 |
|
289 |
Ac_sched uint8 |
|
290 |
Ac_pad [3]uint8 |
|
291 |
_ [4]byte |
|
292 |
Ac_uid uint32 |
|
293 |
Ac_gid uint32 |
|
294 |
Ac_pid uint32 |
|
295 |
Ac_ppid uint32 |
|
296 |
Ac_btime uint32 |
|
297 |
Ac_etime uint64 |
|
298 |
Ac_utime uint64 |
|
299 |
Ac_stime uint64 |
|
300 |
Ac_minflt uint64 |
|
301 |
Ac_majflt uint64 |
|
302 |
Coremem uint64 |
|
303 |
Virtmem uint64 |
|
304 |
Hiwater_rss uint64 |
|
305 |
Hiwater_vm uint64 |
|
306 |
Read_char uint64 |
|
307 |
Write_char uint64 |
|
308 |
Read_syscalls uint64 |
|
309 |
Write_syscalls uint64 |
|
310 |
Read_bytes uint64 |
|
311 |
Write_bytes uint64 |
|
312 |
Cancelled_write_bytes uint64 |
|
313 |
Nvcsw uint64 |
|
314 |
Nivcsw uint64 |
|
315 |
Ac_utimescaled uint64 |
|
316 |
Ac_stimescaled uint64 |
|
317 |
Cpu_scaled_run_real_total uint64 |
|
318 |
Freepages_count uint64 |
|
319 |
Freepages_delay_total uint64 |
|
320 |
Thrashing_count uint64 |
|
321 |
Thrashing_delay_total uint64 |
|
256 | 322 |
Ac_btime64 uint64 |
260 | 323 |
Compact_count uint64 |
324 |
Compact_delay_total uint64 |
|
325 |
Ac_tgid uint32 |
|
326 |
Ac_tgetime uint64 |
|
327 |
Ac_exe_dev uint64 |
|
328 |
Ac_exe_inode uint64 |
|
329 |
Wpcopy_count uint64 |
|
330 |
Wpcopy_delay_total uint64 |
|
251 | 331 |
} |
332 |
||
333 |
type cpuMask uint64 |
|
334 |
||
335 |
const ( |
|
256 | 336 |
_NCPUBITS = 0x40 |
251 | 337 |
) |
338 |
||
339 |
const ( |
|
340 |
CBitFieldMaskBit0 = 0x8000000000000000 |
|
341 |
CBitFieldMaskBit1 = 0x4000000000000000 |
|
342 |
CBitFieldMaskBit2 = 0x2000000000000000 |
|
343 |
CBitFieldMaskBit3 = 0x1000000000000000 |
|
344 |
CBitFieldMaskBit4 = 0x800000000000000 |
|
345 |
CBitFieldMaskBit5 = 0x400000000000000 |
|
346 |
CBitFieldMaskBit6 = 0x200000000000000 |
|
347 |
CBitFieldMaskBit7 = 0x100000000000000 |
|
348 |
CBitFieldMaskBit8 = 0x80000000000000 |
|
349 |
CBitFieldMaskBit9 = 0x40000000000000 |
|
350 |
CBitFieldMaskBit10 = 0x20000000000000 |
|
351 |
CBitFieldMaskBit11 = 0x10000000000000 |
|
352 |
CBitFieldMaskBit12 = 0x8000000000000 |
|
353 |
CBitFieldMaskBit13 = 0x4000000000000 |
|
354 |
CBitFieldMaskBit14 = 0x2000000000000 |
|
355 |
CBitFieldMaskBit15 = 0x1000000000000 |
|
356 |
CBitFieldMaskBit16 = 0x800000000000 |
|
357 |
CBitFieldMaskBit17 = 0x400000000000 |
|
358 |
CBitFieldMaskBit18 = 0x200000000000 |
|
359 |
CBitFieldMaskBit19 = 0x100000000000 |
|
360 |
CBitFieldMaskBit20 = 0x80000000000 |
|
361 |
CBitFieldMaskBit21 = 0x40000000000 |
|
362 |
CBitFieldMaskBit22 = 0x20000000000 |
|
363 |
CBitFieldMaskBit23 = 0x10000000000 |
|
364 |
CBitFieldMaskBit24 = 0x8000000000 |
|
365 |
CBitFieldMaskBit25 = 0x4000000000 |
|
366 |
CBitFieldMaskBit26 = 0x2000000000 |
|
367 |
CBitFieldMaskBit27 = 0x1000000000 |
|
368 |
CBitFieldMaskBit28 = 0x800000000 |
|
369 |
CBitFieldMaskBit29 = 0x400000000 |
|
370 |
CBitFieldMaskBit30 = 0x200000000 |
|
371 |
CBitFieldMaskBit31 = 0x100000000 |
|
372 |
CBitFieldMaskBit32 = 0x80000000 |
|
373 |
CBitFieldMaskBit33 = 0x40000000 |
|
374 |
CBitFieldMaskBit34 = 0x20000000 |
|
375 |
CBitFieldMaskBit35 = 0x10000000 |
|
376 |
CBitFieldMaskBit36 = 0x8000000 |
|
377 |
CBitFieldMaskBit37 = 0x4000000 |
|
378 |
CBitFieldMaskBit38 = 0x2000000 |
|
379 |
CBitFieldMaskBit39 = 0x1000000 |
|
380 |
CBitFieldMaskBit40 = 0x800000 |
|
381 |
CBitFieldMaskBit41 = 0x400000 |
|
382 |
CBitFieldMaskBit42 = 0x200000 |
|
383 |
CBitFieldMaskBit43 = 0x100000 |
|
384 |
CBitFieldMaskBit44 = 0x80000 |
|
385 |
CBitFieldMaskBit45 = 0x40000 |
|
386 |
CBitFieldMaskBit46 = 0x20000 |
|
387 |
CBitFieldMaskBit47 = 0x10000 |
|
388 |
CBitFieldMaskBit48 = 0x8000 |
|
389 |
CBitFieldMaskBit49 = 0x4000 |
|
390 |
CBitFieldMaskBit50 = 0x2000 |
|
391 |
CBitFieldMaskBit51 = 0x1000 |
|
392 |
CBitFieldMaskBit52 = 0x800 |
|
393 |
CBitFieldMaskBit53 = 0x400 |
|
394 |
CBitFieldMaskBit54 = 0x200 |
|
395 |
CBitFieldMaskBit55 = 0x100 |
|
396 |
CBitFieldMaskBit56 = 0x80 |
|
397 |
CBitFieldMaskBit57 = 0x40 |
|
398 |
CBitFieldMaskBit58 = 0x20 |
|
399 |
CBitFieldMaskBit59 = 0x10 |
|
400 |
CBitFieldMaskBit60 = 0x8 |
|
401 |
CBitFieldMaskBit61 = 0x4 |
|
402 |
CBitFieldMaskBit62 = 0x2 |
|
403 |
CBitFieldMaskBit63 = 0x1 |
|
404 |
) |
|
405 |
||
406 |
type SockaddrStorage struct { |
|
407 |
Family uint16 |
|
408 |
_ [118]int8 |
|
409 |
_ uint64 |
|
410 |
} |
|
411 |
||
412 |
type HDGeometry struct { |
|
413 |
Heads uint8 |
|
414 |
Sectors uint8 |
|
415 |
Cylinders uint16 |
|
416 |
Start uint64 |
|
417 |
} |
|
418 |
||
419 |
type Statfs_t struct { |
|
420 |
Type int64 |
|
421 |
Bsize int64 |
|
422 |
Blocks uint64 |
|
423 |
Bfree uint64 |
|
424 |
Bavail uint64 |
|
425 |
Files uint64 |
|
426 |
Ffree uint64 |
|
427 |
Fsid Fsid |
|
428 |
Namelen int64 |
|
429 |
Frsize int64 |
|
430 |
Flags int64 |
|
431 |
Spare [4]int64 |
|
432 |
} |
|
433 |
||
434 |
type TpacketHdr struct { |
|
435 |
Status uint64 |
|
436 |
Len uint32 |
|
437 |
Snaplen uint32 |
|
438 |
Mac uint16 |
|
439 |
Net uint16 |
|
440 |
Sec uint32 |
|
441 |
Usec uint32 |
|
442 |
_ [4]byte |
|
443 |
} |
|
444 |
||
445 |
const ( |
|
256 | 446 |
SizeofTpacketHdr = 0x20 |
251 | 447 |
) |
448 |
||
449 |
type RTCPLLInfo struct { |
|
450 |
Ctrl int32 |
|
451 |
Value int32 |
|
452 |
Max int32 |
|
453 |
Min int32 |
|
454 |
Posmult int32 |
|
455 |
Negmult int32 |
|
456 |
Clock int64 |
|
457 |
} |
|
458 |
||
459 |
type BlkpgPartition struct { |
|
460 |
Start int64 |
|
461 |
Length int64 |
|
462 |
Pno int32 |
|
463 |
Devname [64]uint8 |
|
464 |
Volname [64]uint8 |
|
465 |
_ [4]byte |
|
466 |
} |
|
467 |
||
468 |
const ( |
|
256 | 469 |
BLKPG = 0x20001269 |
251 | 470 |
) |
471 |
||
472 |
type XDPUmemReg struct { |
|
473 |
Addr uint64 |
|
474 |
Len uint64 |
|
475 |
Size uint32 |
|
476 |
Headroom uint32 |
|
477 |
Flags uint32 |
|
478 |
_ [4]byte |
|
479 |
} |
|
480 |
||
481 |
type CryptoUserAlg struct { |
|
482 |
Name [64]int8 |
|
483 |
Driver_name [64]int8 |
|
484 |
Module_name [64]int8 |
|
485 |
Type uint32 |
|
486 |
Mask uint32 |
|
487 |
Refcnt uint32 |
|
488 |
Flags uint32 |
|
489 |
} |
|
490 |
||
491 |
type CryptoStatAEAD struct { |
|
492 |
Type [64]int8 |
|
493 |
Encrypt_cnt uint64 |
|
494 |
Encrypt_tlen uint64 |
|
495 |
Decrypt_cnt uint64 |
|
496 |
Decrypt_tlen uint64 |
|
497 |
Err_cnt uint64 |
|
498 |
} |
|
499 |
||
500 |
type CryptoStatAKCipher struct { |
|
501 |
Type [64]int8 |
|
502 |
Encrypt_cnt uint64 |
|
503 |
Encrypt_tlen uint64 |
|
504 |
Decrypt_cnt uint64 |
|
505 |
Decrypt_tlen uint64 |
|
506 |
Verify_cnt uint64 |
|
507 |
Sign_cnt uint64 |
|
508 |
Err_cnt uint64 |
|
509 |
} |
|
510 |
||
511 |
type CryptoStatCipher struct { |
|
512 |
Type [64]int8 |
|
513 |
Encrypt_cnt uint64 |
|
514 |
Encrypt_tlen uint64 |
|
515 |
Decrypt_cnt uint64 |
|
516 |
Decrypt_tlen uint64 |
|
517 |
Err_cnt uint64 |
|
518 |
} |
|
519 |
||
520 |
type CryptoStatCompress struct { |
|
521 |
Type [64]int8 |
|
522 |
Compress_cnt uint64 |
|
523 |
Compress_tlen uint64 |
|
524 |
Decompress_cnt uint64 |
|
525 |
Decompress_tlen uint64 |
|
526 |
Err_cnt uint64 |
|
527 |
} |
|
528 |
||
529 |
type CryptoStatHash struct { |
|
530 |
Type [64]int8 |
|
531 |
Hash_cnt uint64 |
|
532 |
Hash_tlen uint64 |
|
533 |
Err_cnt uint64 |
|
534 |
} |
|
535 |
||
536 |
type CryptoStatKPP struct { |
|
537 |
Type [64]int8 |
|
538 |
Setsecret_cnt uint64 |
|
539 |
Generate_public_key_cnt uint64 |
|
540 |
Compute_shared_secret_cnt uint64 |
|
541 |
Err_cnt uint64 |
|
542 |
} |
|
543 |
||
544 |
type CryptoStatRNG struct { |
|
545 |
Type [64]int8 |
|
546 |
Generate_cnt uint64 |
|
547 |
Generate_tlen uint64 |
|
548 |
Seed_cnt uint64 |
|
549 |
Err_cnt uint64 |
|
550 |
} |
|
551 |
||
552 |
type CryptoStatLarval struct { |
|
553 |
Type [64]int8 |
|
554 |
} |
|
555 |
||
556 |
type CryptoReportLarval struct { |
|
557 |
Type [64]int8 |
|
558 |
} |
|
559 |
||
560 |
type CryptoReportHash struct { |
|
561 |
Type [64]int8 |
|
562 |
Blocksize uint32 |
|
563 |
Digestsize uint32 |
|
564 |
} |
|
565 |
||
566 |
type CryptoReportCipher struct { |
|
567 |
Type [64]int8 |
|
568 |
Blocksize uint32 |
|
569 |
Min_keysize uint32 |
|
570 |
Max_keysize uint32 |
|
571 |
} |
|
572 |
||
573 |
type CryptoReportBlkCipher struct { |
|
574 |
Type [64]int8 |
|
575 |
Geniv [64]int8 |
|
576 |
Blocksize uint32 |
|
577 |
Min_keysize uint32 |
|
578 |
Max_keysize uint32 |
|
579 |
Ivsize uint32 |
|
580 |
} |
|
581 |
||
582 |
type CryptoReportAEAD struct { |
|
583 |
Type [64]int8 |
|
584 |
Geniv [64]int8 |
|
585 |
Blocksize uint32 |
|
586 |
Maxauthsize uint32 |
|
587 |
Ivsize uint32 |
|
588 |
} |
|
589 |
||
590 |
type CryptoReportComp struct { |
|
591 |
Type [64]int8 |
|
592 |
} |
|
593 |
||
594 |
type CryptoReportRNG struct { |
|
595 |
Type [64]int8 |
|
596 |
Seedsize uint32 |
|
597 |
} |
|
598 |
||
599 |
type CryptoReportAKCipher struct { |
|
600 |
Type [64]int8 |
|
601 |
} |
|
602 |
||
603 |
type CryptoReportKPP struct { |
|
604 |
Type [64]int8 |
|
605 |
} |
|
606 |
||
607 |
type CryptoReportAcomp struct { |
|
608 |
Type [64]int8 |
|
609 |
} |
|
610 |
||
611 |
type LoopInfo struct { |
|
612 |
Number int32 |
|
613 |
Device uint32 |
|
614 |
Inode uint64 |
|
615 |
Rdevice uint32 |
|
616 |
Offset int32 |
|
617 |
Encrypt_type int32 |
|
618 |
Encrypt_key_size int32 |
|
619 |
Flags int32 |
|
620 |
Name [64]int8 |
|
621 |
Encrypt_key [32]uint8 |
|
622 |
Init [2]uint64 |
|
623 |
Reserved [4]int8 |
|
624 |
_ [4]byte |
|
625 |
} |
|
626 |
||
627 |
type TIPCSubscr struct { |
|
628 |
Seq TIPCServiceRange |
|
629 |
Timeout uint32 |
|
630 |
Filter uint32 |
|
631 |
Handle [8]int8 |
|
632 |
} |
|
633 |
||
634 |
type TIPCSIOCLNReq struct { |
|
635 |
Peer uint32 |
|
636 |
Id uint32 |
|
637 |
Linkname [68]int8 |
|
638 |
} |
|
639 |
||
640 |
type TIPCSIOCNodeIDReq struct { |
|
641 |
Peer uint32 |
|
642 |
Id [16]int8 |
|
643 |
} |
|
644 |
||
256 | 645 |
type PPSKInfo struct { |
646 |
Assert_sequence uint32 |
|
647 |
Clear_sequence uint32 |
|
648 |
Assert_tu PPSKTime |
|
649 |
Clear_tu PPSKTime |
|
650 |
Current_mode int32 |
|
651 |
_ [4]byte |
|
652 |
} |
|
251 | 653 |
|
654 |
const ( |
|
256 | 655 |
PPS_GETPARAMS = 0x400870a1 |
656 |
PPS_SETPARAMS = 0x800870a2 |
|
657 |
PPS_GETCAP = 0x400870a3 |
|
658 |
PPS_FETCH = 0xc00870a4 |
|
251 | 659 |
) |
260 | 660 |
|
661 |
const ( |
|
662 |
PIDFD_NONBLOCK = 0x4000 |
|
663 |
) |
|
664 |
||
665 |
type SysvIpcPerm struct { |
|
666 |
Key int32 |
|
667 |
Uid uint32 |
|
668 |
Gid uint32 |
|
669 |
Cuid uint32 |
|
670 |
Cgid uint32 |
|
671 |
Mode uint32 |
|
672 |
_ uint16 |
|
673 |
Seq uint16 |
|
674 |
_ uint64 |
|
675 |
_ uint64 |
|
676 |
} |
|
677 |
type SysvShmDesc struct { |
|
678 |
Perm SysvIpcPerm |
|
679 |
Atime int64 |
|
680 |
Dtime int64 |
|
681 |
Ctime int64 |
|
682 |
Segsz uint64 |
|
683 |
Cpid int32 |
|
684 |
Lpid int32 |
|
685 |
Nattch uint64 |
|
686 |
_ uint64 |
|
687 |
_ uint64 |
|
688 |
} |