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