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