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