equal
deleted
inserted
replaced
1 // cgo -godefs -- -Wall -Werror -static -I/tmp/include -fsigned-char /build/linux/types.go | go run mkpost.go |
1 // cgo -godefs -objdir=/tmp/arm64/cgo -- -Wall -Werror -static -I/tmp/arm64/include -fsigned-char linux/types.go | go run mkpost.go |
2 // Code generated by the command above; see README.md. DO NOT EDIT. |
2 // Code generated by the command above; see README.md. DO NOT EDIT. |
3 |
3 |
4 //go:build arm64 && linux |
4 //go:build arm64 && linux |
5 // +build arm64,linux |
5 // +build arm64,linux |
6 |
6 |
172 Len uint64 |
172 Len uint64 |
173 Level int32 |
173 Level int32 |
174 Type int32 |
174 Type int32 |
175 } |
175 } |
176 |
176 |
|
177 type ifreq struct { |
|
178 Ifrn [16]byte |
|
179 Ifru [24]byte |
|
180 } |
|
181 |
177 const ( |
182 const ( |
178 SizeofSockaddrNFCLLCP = 0x60 |
183 SizeofSockaddrNFCLLCP = 0x60 |
179 SizeofIovec = 0x10 |
184 SizeofIovec = 0x10 |
180 SizeofMsghdr = 0x38 |
185 SizeofMsghdr = 0x38 |
181 SizeofCmsghdr = 0x10 |
186 SizeofCmsghdr = 0x10 |
228 Fd int32 |
233 Fd int32 |
229 Pad int32 |
234 Pad int32 |
230 } |
235 } |
231 |
236 |
232 const ( |
237 const ( |
|
238 OPEN_TREE_CLOEXEC = 0x80000 |
|
239 ) |
|
240 |
|
241 const ( |
233 POLLRDHUP = 0x2000 |
242 POLLRDHUP = 0x2000 |
234 ) |
243 ) |
235 |
244 |
236 type Sigset_t struct { |
245 type Sigset_t struct { |
237 Val [16]uint64 |
246 Val [16]uint64 |
238 } |
247 } |
239 |
248 |
240 const _C__NSIG = 0x41 |
249 const _C__NSIG = 0x41 |
|
250 |
|
251 type Siginfo struct { |
|
252 Signo int32 |
|
253 Errno int32 |
|
254 Code int32 |
|
255 _ int32 |
|
256 _ [112]byte |
|
257 } |
241 |
258 |
242 type Termios struct { |
259 type Termios struct { |
243 Iflag uint32 |
260 Iflag uint32 |
244 Oflag uint32 |
261 Oflag uint32 |
245 Cflag uint32 |
262 Cflag uint32 |
296 Freepages_count uint64 |
313 Freepages_count uint64 |
297 Freepages_delay_total uint64 |
314 Freepages_delay_total uint64 |
298 Thrashing_count uint64 |
315 Thrashing_count uint64 |
299 Thrashing_delay_total uint64 |
316 Thrashing_delay_total uint64 |
300 Ac_btime64 uint64 |
317 Ac_btime64 uint64 |
|
318 Compact_count uint64 |
|
319 Compact_delay_total uint64 |
|
320 Ac_tgid uint32 |
|
321 Ac_tgetime uint64 |
|
322 Ac_exe_dev uint64 |
|
323 Ac_exe_inode uint64 |
|
324 Wpcopy_count uint64 |
|
325 Wpcopy_delay_total uint64 |
301 } |
326 } |
302 |
327 |
303 type cpuMask uint64 |
328 type cpuMask uint64 |
304 |
329 |
305 const ( |
330 const ( |
625 PPS_GETPARAMS = 0x800870a1 |
650 PPS_GETPARAMS = 0x800870a1 |
626 PPS_SETPARAMS = 0x400870a2 |
651 PPS_SETPARAMS = 0x400870a2 |
627 PPS_GETCAP = 0x800870a3 |
652 PPS_GETCAP = 0x800870a3 |
628 PPS_FETCH = 0xc00870a4 |
653 PPS_FETCH = 0xc00870a4 |
629 ) |
654 ) |
|
655 |
|
656 const ( |
|
657 PIDFD_NONBLOCK = 0x800 |
|
658 ) |
|
659 |
|
660 type SysvIpcPerm struct { |
|
661 Key int32 |
|
662 Uid uint32 |
|
663 Gid uint32 |
|
664 Cuid uint32 |
|
665 Cgid uint32 |
|
666 Mode uint32 |
|
667 _ [0]uint8 |
|
668 Seq uint16 |
|
669 _ uint16 |
|
670 _ uint64 |
|
671 _ uint64 |
|
672 } |
|
673 type SysvShmDesc struct { |
|
674 Perm SysvIpcPerm |
|
675 Segsz uint64 |
|
676 Atime int64 |
|
677 Dtime int64 |
|
678 Ctime int64 |
|
679 Cpid int32 |
|
680 Lpid int32 |
|
681 Nattch uint64 |
|
682 _ uint64 |
|
683 _ uint64 |
|
684 } |