You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ztypes_linux_mips64le.go 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596
  1. // cgo -godefs -- -Wall -Werror -static -I/tmp/include linux/types.go | go run mkpost.go
  2. // Code generated by the command above; see README.md. DO NOT EDIT.
  3. // +build mips64le,linux
  4. package unix
  5. const (
  6. SizeofPtr = 0x8
  7. SizeofLong = 0x8
  8. )
  9. type (
  10. _C_long int64
  11. )
  12. type Timespec struct {
  13. Sec int64
  14. Nsec int64
  15. }
  16. type Timeval struct {
  17. Sec int64
  18. Usec int64
  19. }
  20. type Timex struct {
  21. Modes uint32
  22. Offset int64
  23. Freq int64
  24. Maxerror int64
  25. Esterror int64
  26. Status int32
  27. Constant int64
  28. Precision int64
  29. Tolerance int64
  30. Time Timeval
  31. Tick int64
  32. Ppsfreq int64
  33. Jitter int64
  34. Shift int32
  35. Stabil int64
  36. Jitcnt int64
  37. Calcnt int64
  38. Errcnt int64
  39. Stbcnt int64
  40. Tai int32
  41. _ [44]byte
  42. }
  43. type Time_t int64
  44. type Tms struct {
  45. Utime int64
  46. Stime int64
  47. Cutime int64
  48. Cstime int64
  49. }
  50. type Utimbuf struct {
  51. Actime int64
  52. Modtime int64
  53. }
  54. type Rusage struct {
  55. Utime Timeval
  56. Stime Timeval
  57. Maxrss int64
  58. Ixrss int64
  59. Idrss int64
  60. Isrss int64
  61. Minflt int64
  62. Majflt int64
  63. Nswap int64
  64. Inblock int64
  65. Oublock int64
  66. Msgsnd int64
  67. Msgrcv int64
  68. Nsignals int64
  69. Nvcsw int64
  70. Nivcsw int64
  71. }
  72. type Stat_t struct {
  73. Dev uint32
  74. Pad1 [3]uint32
  75. Ino uint64
  76. Mode uint32
  77. Nlink uint32
  78. Uid uint32
  79. Gid uint32
  80. Rdev uint32
  81. Pad2 [3]uint32
  82. Size int64
  83. Atim Timespec
  84. Mtim Timespec
  85. Ctim Timespec
  86. Blksize uint32
  87. Pad4 uint32
  88. Blocks int64
  89. }
  90. type Dirent struct {
  91. Ino uint64
  92. Off int64
  93. Reclen uint16
  94. Type uint8
  95. Name [256]int8
  96. _ [5]byte
  97. }
  98. type Flock_t struct {
  99. Type int16
  100. Whence int16
  101. Start int64
  102. Len int64
  103. Pid int32
  104. _ [4]byte
  105. }
  106. const (
  107. FADV_DONTNEED = 0x4
  108. FADV_NOREUSE = 0x5
  109. )
  110. type RawSockaddr struct {
  111. Family uint16
  112. Data [14]int8
  113. }
  114. type RawSockaddrAny struct {
  115. Addr RawSockaddr
  116. Pad [96]int8
  117. }
  118. type Iovec struct {
  119. Base *byte
  120. Len uint64
  121. }
  122. type Msghdr struct {
  123. Name *byte
  124. Namelen uint32
  125. Iov *Iovec
  126. Iovlen uint64
  127. Control *byte
  128. Controllen uint64
  129. Flags int32
  130. _ [4]byte
  131. }
  132. type Cmsghdr struct {
  133. Len uint64
  134. Level int32
  135. Type int32
  136. }
  137. const (
  138. SizeofIovec = 0x10
  139. SizeofMsghdr = 0x38
  140. SizeofCmsghdr = 0x10
  141. )
  142. const (
  143. SizeofSockFprog = 0x10
  144. )
  145. type PtraceRegs struct {
  146. Regs [32]uint64
  147. Lo uint64
  148. Hi uint64
  149. Epc uint64
  150. Badvaddr uint64
  151. Status uint64
  152. Cause uint64
  153. }
  154. type FdSet struct {
  155. Bits [16]int64
  156. }
  157. type Sysinfo_t struct {
  158. Uptime int64
  159. Loads [3]uint64
  160. Totalram uint64
  161. Freeram uint64
  162. Sharedram uint64
  163. Bufferram uint64
  164. Totalswap uint64
  165. Freeswap uint64
  166. Procs uint16
  167. Pad uint16
  168. Totalhigh uint64
  169. Freehigh uint64
  170. Unit uint32
  171. _ [0]int8
  172. _ [4]byte
  173. }
  174. type Ustat_t struct {
  175. Tfree int32
  176. Tinode uint64
  177. Fname [6]int8
  178. Fpack [6]int8
  179. _ [4]byte
  180. }
  181. type EpollEvent struct {
  182. Events uint32
  183. _ int32
  184. Fd int32
  185. Pad int32
  186. }
  187. const (
  188. POLLRDHUP = 0x2000
  189. )
  190. type Sigset_t struct {
  191. Val [16]uint64
  192. }
  193. const _C__NSIG = 0x80
  194. type Termios struct {
  195. Iflag uint32
  196. Oflag uint32
  197. Cflag uint32
  198. Lflag uint32
  199. Line uint8
  200. Cc [23]uint8
  201. Ispeed uint32
  202. Ospeed uint32
  203. }
  204. type Taskstats struct {
  205. Version uint16
  206. Ac_exitcode uint32
  207. Ac_flag uint8
  208. Ac_nice uint8
  209. Cpu_count uint64
  210. Cpu_delay_total uint64
  211. Blkio_count uint64
  212. Blkio_delay_total uint64
  213. Swapin_count uint64
  214. Swapin_delay_total uint64
  215. Cpu_run_real_total uint64
  216. Cpu_run_virtual_total uint64
  217. Ac_comm [32]int8
  218. Ac_sched uint8
  219. Ac_pad [3]uint8
  220. _ [4]byte
  221. Ac_uid uint32
  222. Ac_gid uint32
  223. Ac_pid uint32
  224. Ac_ppid uint32
  225. Ac_btime uint32
  226. Ac_etime uint64
  227. Ac_utime uint64
  228. Ac_stime uint64
  229. Ac_minflt uint64
  230. Ac_majflt uint64
  231. Coremem uint64
  232. Virtmem uint64
  233. Hiwater_rss uint64
  234. Hiwater_vm uint64
  235. Read_char uint64
  236. Write_char uint64
  237. Read_syscalls uint64
  238. Write_syscalls uint64
  239. Read_bytes uint64
  240. Write_bytes uint64
  241. Cancelled_write_bytes uint64
  242. Nvcsw uint64
  243. Nivcsw uint64
  244. Ac_utimescaled uint64
  245. Ac_stimescaled uint64
  246. Cpu_scaled_run_real_total uint64
  247. Freepages_count uint64
  248. Freepages_delay_total uint64
  249. Thrashing_count uint64
  250. Thrashing_delay_total uint64
  251. Ac_btime64 uint64
  252. }
  253. type cpuMask uint64
  254. const (
  255. _NCPUBITS = 0x40
  256. )
  257. const (
  258. CBitFieldMaskBit0 = 0x1
  259. CBitFieldMaskBit1 = 0x2
  260. CBitFieldMaskBit2 = 0x4
  261. CBitFieldMaskBit3 = 0x8
  262. CBitFieldMaskBit4 = 0x10
  263. CBitFieldMaskBit5 = 0x20
  264. CBitFieldMaskBit6 = 0x40
  265. CBitFieldMaskBit7 = 0x80
  266. CBitFieldMaskBit8 = 0x100
  267. CBitFieldMaskBit9 = 0x200
  268. CBitFieldMaskBit10 = 0x400
  269. CBitFieldMaskBit11 = 0x800
  270. CBitFieldMaskBit12 = 0x1000
  271. CBitFieldMaskBit13 = 0x2000
  272. CBitFieldMaskBit14 = 0x4000
  273. CBitFieldMaskBit15 = 0x8000
  274. CBitFieldMaskBit16 = 0x10000
  275. CBitFieldMaskBit17 = 0x20000
  276. CBitFieldMaskBit18 = 0x40000
  277. CBitFieldMaskBit19 = 0x80000
  278. CBitFieldMaskBit20 = 0x100000
  279. CBitFieldMaskBit21 = 0x200000
  280. CBitFieldMaskBit22 = 0x400000
  281. CBitFieldMaskBit23 = 0x800000
  282. CBitFieldMaskBit24 = 0x1000000
  283. CBitFieldMaskBit25 = 0x2000000
  284. CBitFieldMaskBit26 = 0x4000000
  285. CBitFieldMaskBit27 = 0x8000000
  286. CBitFieldMaskBit28 = 0x10000000
  287. CBitFieldMaskBit29 = 0x20000000
  288. CBitFieldMaskBit30 = 0x40000000
  289. CBitFieldMaskBit31 = 0x80000000
  290. CBitFieldMaskBit32 = 0x100000000
  291. CBitFieldMaskBit33 = 0x200000000
  292. CBitFieldMaskBit34 = 0x400000000
  293. CBitFieldMaskBit35 = 0x800000000
  294. CBitFieldMaskBit36 = 0x1000000000
  295. CBitFieldMaskBit37 = 0x2000000000
  296. CBitFieldMaskBit38 = 0x4000000000
  297. CBitFieldMaskBit39 = 0x8000000000
  298. CBitFieldMaskBit40 = 0x10000000000
  299. CBitFieldMaskBit41 = 0x20000000000
  300. CBitFieldMaskBit42 = 0x40000000000
  301. CBitFieldMaskBit43 = 0x80000000000
  302. CBitFieldMaskBit44 = 0x100000000000
  303. CBitFieldMaskBit45 = 0x200000000000
  304. CBitFieldMaskBit46 = 0x400000000000
  305. CBitFieldMaskBit47 = 0x800000000000
  306. CBitFieldMaskBit48 = 0x1000000000000
  307. CBitFieldMaskBit49 = 0x2000000000000
  308. CBitFieldMaskBit50 = 0x4000000000000
  309. CBitFieldMaskBit51 = 0x8000000000000
  310. CBitFieldMaskBit52 = 0x10000000000000
  311. CBitFieldMaskBit53 = 0x20000000000000
  312. CBitFieldMaskBit54 = 0x40000000000000
  313. CBitFieldMaskBit55 = 0x80000000000000
  314. CBitFieldMaskBit56 = 0x100000000000000
  315. CBitFieldMaskBit57 = 0x200000000000000
  316. CBitFieldMaskBit58 = 0x400000000000000
  317. CBitFieldMaskBit59 = 0x800000000000000
  318. CBitFieldMaskBit60 = 0x1000000000000000
  319. CBitFieldMaskBit61 = 0x2000000000000000
  320. CBitFieldMaskBit62 = 0x4000000000000000
  321. CBitFieldMaskBit63 = 0x8000000000000000
  322. )
  323. type SockaddrStorage struct {
  324. Family uint16
  325. _ [118]int8
  326. _ uint64
  327. }
  328. type HDGeometry struct {
  329. Heads uint8
  330. Sectors uint8
  331. Cylinders uint16
  332. Start uint64
  333. }
  334. type Statfs_t struct {
  335. Type int64
  336. Bsize int64
  337. Frsize int64
  338. Blocks uint64
  339. Bfree uint64
  340. Files uint64
  341. Ffree uint64
  342. Bavail uint64
  343. Fsid Fsid
  344. Namelen int64
  345. Flags int64
  346. Spare [5]int64
  347. }
  348. type TpacketHdr struct {
  349. Status uint64
  350. Len uint32
  351. Snaplen uint32
  352. Mac uint16
  353. Net uint16
  354. Sec uint32
  355. Usec uint32
  356. _ [4]byte
  357. }
  358. const (
  359. SizeofTpacketHdr = 0x20
  360. )
  361. type RTCPLLInfo struct {
  362. Ctrl int32
  363. Value int32
  364. Max int32
  365. Min int32
  366. Posmult int32
  367. Negmult int32
  368. Clock int64
  369. }
  370. type BlkpgPartition struct {
  371. Start int64
  372. Length int64
  373. Pno int32
  374. Devname [64]uint8
  375. Volname [64]uint8
  376. _ [4]byte
  377. }
  378. const (
  379. BLKPG = 0x20001269
  380. )
  381. type XDPUmemReg struct {
  382. Addr uint64
  383. Len uint64
  384. Size uint32
  385. Headroom uint32
  386. Flags uint32
  387. _ [4]byte
  388. }
  389. type CryptoUserAlg struct {
  390. Name [64]int8
  391. Driver_name [64]int8
  392. Module_name [64]int8
  393. Type uint32
  394. Mask uint32
  395. Refcnt uint32
  396. Flags uint32
  397. }
  398. type CryptoStatAEAD struct {
  399. Type [64]int8
  400. Encrypt_cnt uint64
  401. Encrypt_tlen uint64
  402. Decrypt_cnt uint64
  403. Decrypt_tlen uint64
  404. Err_cnt uint64
  405. }
  406. type CryptoStatAKCipher struct {
  407. Type [64]int8
  408. Encrypt_cnt uint64
  409. Encrypt_tlen uint64
  410. Decrypt_cnt uint64
  411. Decrypt_tlen uint64
  412. Verify_cnt uint64
  413. Sign_cnt uint64
  414. Err_cnt uint64
  415. }
  416. type CryptoStatCipher struct {
  417. Type [64]int8
  418. Encrypt_cnt uint64
  419. Encrypt_tlen uint64
  420. Decrypt_cnt uint64
  421. Decrypt_tlen uint64
  422. Err_cnt uint64
  423. }
  424. type CryptoStatCompress struct {
  425. Type [64]int8
  426. Compress_cnt uint64
  427. Compress_tlen uint64
  428. Decompress_cnt uint64
  429. Decompress_tlen uint64
  430. Err_cnt uint64
  431. }
  432. type CryptoStatHash struct {
  433. Type [64]int8
  434. Hash_cnt uint64
  435. Hash_tlen uint64
  436. Err_cnt uint64
  437. }
  438. type CryptoStatKPP struct {
  439. Type [64]int8
  440. Setsecret_cnt uint64
  441. Generate_public_key_cnt uint64
  442. Compute_shared_secret_cnt uint64
  443. Err_cnt uint64
  444. }
  445. type CryptoStatRNG struct {
  446. Type [64]int8
  447. Generate_cnt uint64
  448. Generate_tlen uint64
  449. Seed_cnt uint64
  450. Err_cnt uint64
  451. }
  452. type CryptoStatLarval struct {
  453. Type [64]int8
  454. }
  455. type CryptoReportLarval struct {
  456. Type [64]int8
  457. }
  458. type CryptoReportHash struct {
  459. Type [64]int8
  460. Blocksize uint32
  461. Digestsize uint32
  462. }
  463. type CryptoReportCipher struct {
  464. Type [64]int8
  465. Blocksize uint32
  466. Min_keysize uint32
  467. Max_keysize uint32
  468. }
  469. type CryptoReportBlkCipher struct {
  470. Type [64]int8
  471. Geniv [64]int8
  472. Blocksize uint32
  473. Min_keysize uint32
  474. Max_keysize uint32
  475. Ivsize uint32
  476. }
  477. type CryptoReportAEAD struct {
  478. Type [64]int8
  479. Geniv [64]int8
  480. Blocksize uint32
  481. Maxauthsize uint32
  482. Ivsize uint32
  483. }
  484. type CryptoReportComp struct {
  485. Type [64]int8
  486. }
  487. type CryptoReportRNG struct {
  488. Type [64]int8
  489. Seedsize uint32
  490. }
  491. type CryptoReportAKCipher struct {
  492. Type [64]int8
  493. }
  494. type CryptoReportKPP struct {
  495. Type [64]int8
  496. }
  497. type CryptoReportAcomp struct {
  498. Type [64]int8
  499. }
  500. type LoopInfo struct {
  501. Number int32
  502. Device uint32
  503. Inode uint64
  504. Rdevice uint32
  505. Offset int32
  506. Encrypt_type int32
  507. Encrypt_key_size int32
  508. Flags int32
  509. Name [64]int8
  510. Encrypt_key [32]uint8
  511. Init [2]uint64
  512. Reserved [4]int8
  513. _ [4]byte
  514. }
  515. type TIPCSubscr struct {
  516. Seq TIPCServiceRange
  517. Timeout uint32
  518. Filter uint32
  519. Handle [8]int8
  520. }
  521. type TIPCSIOCLNReq struct {
  522. Peer uint32
  523. Id uint32
  524. Linkname [68]int8
  525. }
  526. type TIPCSIOCNodeIDReq struct {
  527. Peer uint32
  528. Id [16]int8
  529. }