| 1 |
// cgo -godefs -objdir=/tmp/ppc/cgo -- -Wall -Werror -static -I/tmp/ppc/include linux/types.go | go run mkpost.go |
| 2 |
// Code generated by the command above; see README.md. DO NOT EDIT. |
| 3 |
|
| 4 |
//go:build ppc && linux |
| 5 |
|
| 6 |
package unix |
| 7 |
|
| 8 |
const ( |
| 9 |
SizeofPtr = 0x4 |
| 10 |
SizeofLong = 0x4 |
| 11 |
) |
| 12 |
|
| 13 |
type ( |
| 14 |
_C_long int32 |
| 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 |
|
| 84 |
type Stat_t struct { |
| 85 |
Dev uint64 |
| 86 |
Ino uint64 |
| 87 |
Mode uint32 |
| 88 |
Nlink uint32 |
| 89 |
Uid uint32 |
| 90 |
Gid uint32 |
| 91 |
Rdev uint64 |
| 92 |
_ uint16 |
| 93 |
_ [6]byte |
| 94 |
Size int64 |
| 95 |
Blksize int32 |
| 96 |
_ [4]byte |
| 97 |
Blocks int64 |
| 98 |
Atim Timespec |
| 99 |
Mtim Timespec |
| 100 |
Ctim Timespec |
| 101 |
_ uint32 |
| 102 |
_ uint32 |
| 103 |
} |
| 104 |
|
| 105 |
type Dirent struct { |
| 106 |
Ino uint64 |
| 107 |
Off int64 |
| 108 |
Reclen uint16 |
| 109 |
Type uint8 |
| 110 |
Name [256]uint8 |
| 111 |
_ [5]byte |
| 112 |
} |
| 113 |
|
| 114 |
type Flock_t struct { |
| 115 |
Type int16 |
| 116 |
Whence int16 |
| 117 |
_ [4]byte |
| 118 |
Start int64 |
| 119 |
Len int64 |
| 120 |
Pid int32 |
| 121 |
_ [4]byte |
| 122 |
} |
| 123 |
|
| 124 |
type DmNameList struct { |
| 125 |
Dev uint64 |
| 126 |
Next uint32 |
| 127 |
Name [0]byte |
| 128 |
_ [4]byte |
| 129 |
} |
| 130 |
|
| 131 |
const ( |
| 132 |
FADV_DONTNEED = 0x4 |
| 133 |
FADV_NOREUSE = 0x5 |
| 134 |
) |
| 135 |
|
| 136 |
type RawSockaddrNFCLLCP struct { |
| 137 |
Sa_family uint16 |
| 138 |
Dev_idx uint32 |
| 139 |
Target_idx uint32 |
| 140 |
Nfc_protocol uint32 |
| 141 |
Dsap uint8 |
| 142 |
Ssap uint8 |
| 143 |
Service_name [63]uint8 |
| 144 |
Service_name_len uint32 |
| 145 |
} |
| 146 |
|
| 147 |
type RawSockaddr struct { |
| 148 |
Family uint16 |
| 149 |
Data [14]uint8 |
| 150 |
} |
| 151 |
|
| 152 |
type RawSockaddrAny struct { |
| 153 |
Addr RawSockaddr |
| 154 |
Pad [96]uint8 |
| 155 |
} |
| 156 |
|
| 157 |
type Iovec struct { |
| 158 |
Base *byte |
| 159 |
Len uint32 |
| 160 |
} |
| 161 |
|
| 162 |
type Msghdr struct { |
| 163 |
Name *byte |
| 164 |
Namelen uint32 |
| 165 |
Iov *Iovec |
| 166 |
Iovlen uint32 |
| 167 |
Control *byte |
| 168 |
Controllen uint32 |
| 169 |
Flags int32 |
| 170 |
} |
| 171 |
|
| 172 |
type Cmsghdr struct { |
| 173 |
Len uint32 |
| 174 |
Level int32 |
| 175 |
Type int32 |
| 176 |
} |
| 177 |
|
| 178 |
type ifreq struct { |
| 179 |
Ifrn [16]byte |
| 180 |
Ifru [16]byte |
| 181 |
} |
| 182 |
|
| 183 |
const ( |
| 184 |
SizeofSockaddrNFCLLCP = 0x58 |
| 185 |
SizeofIovec = 0x8 |
| 186 |
SizeofMsghdr = 0x1c |
| 187 |
SizeofCmsghdr = 0xc |
| 188 |
) |
| 189 |
|
| 190 |
const ( |
| 191 |
SizeofSockFprog = 0x8 |
| 192 |
) |
| 193 |
|
| 194 |
type PtraceRegs struct { |
| 195 |
Gpr [32]uint32 |
| 196 |
Nip uint32 |
| 197 |
Msr uint32 |
| 198 |
Orig_gpr3 uint32 |
| 199 |
Ctr uint32 |
| 200 |
Link uint32 |
| 201 |
Xer uint32 |
| 202 |
Ccr uint32 |
| 203 |
Mq uint32 |
| 204 |
Trap uint32 |
| 205 |
Dar uint32 |
| 206 |
Dsisr uint32 |
| 207 |
Result uint32 |
| 208 |
} |
| 209 |
|
| 210 |
type FdSet struct { |
| 211 |
Bits [32]int32 |
| 212 |
} |
| 213 |
|
| 214 |
type Sysinfo_t struct { |
| 215 |
Uptime int32 |
| 216 |
Loads [3]uint32 |
| 217 |
Totalram uint32 |
| 218 |
Freeram uint32 |
| 219 |
Sharedram uint32 |
| 220 |
Bufferram uint32 |
| 221 |
Totalswap uint32 |
| 222 |
Freeswap uint32 |
| 223 |
Procs uint16 |
| 224 |
Pad uint16 |
| 225 |
Totalhigh uint32 |
| 226 |
Freehigh uint32 |
| 227 |
Unit uint32 |
| 228 |
_ [8]uint8 |
| 229 |
} |
| 230 |
|
| 231 |
type Ustat_t struct { |
| 232 |
Tfree int32 |
| 233 |
Tinode uint32 |
| 234 |
Fname [6]uint8 |
| 235 |
Fpack [6]uint8 |
| 236 |
} |
| 237 |
|
| 238 |
type EpollEvent struct { |
| 239 |
Events uint32 |
| 240 |
_ int32 |
| 241 |
Fd int32 |
| 242 |
Pad int32 |
| 243 |
} |
| 244 |
|
| 245 |
const ( |
| 246 |
OPEN_TREE_CLOEXEC = 0x80000 |
| 247 |
) |
| 248 |
|
| 249 |
const ( |
| 250 |
POLLRDHUP = 0x2000 |
| 251 |
) |
| 252 |
|
| 253 |
type Sigset_t struct { |
| 254 |
Val [32]uint32 |
| 255 |
} |
| 256 |
|
| 257 |
const _C__NSIG = 0x41 |
| 258 |
|
| 259 |
const ( |
| 260 |
SIG_BLOCK = 0x0 |
| 261 |
SIG_UNBLOCK = 0x1 |
| 262 |
SIG_SETMASK = 0x2 |
| 263 |
) |
| 264 |
|
| 265 |
type Siginfo struct { |
| 266 |
Signo int32 |
| 267 |
Errno int32 |
| 268 |
Code int32 |
| 269 |
_ [116]byte |
| 270 |
} |
| 271 |
|
| 272 |
type Termios struct { |
| 273 |
Iflag uint32 |
| 274 |
Oflag uint32 |
| 275 |
Cflag uint32 |
| 276 |
Lflag uint32 |
| 277 |
Cc [19]uint8 |
| 278 |
Line uint8 |
| 279 |
Ispeed uint32 |
| 280 |
Ospeed uint32 |
| 281 |
} |
| 282 |
|
| 283 |
type Taskstats struct { |
| 284 |
Version uint16 |
| 285 |
Ac_exitcode uint32 |
| 286 |
Ac_flag uint8 |
| 287 |
Ac_nice uint8 |
| 288 |
_ [6]byte |
| 289 |
Cpu_count uint64 |
| 290 |
Cpu_delay_total uint64 |
| 291 |
Blkio_count uint64 |
| 292 |
Blkio_delay_total uint64 |
| 293 |
Swapin_count uint64 |
| 294 |
Swapin_delay_total uint64 |
| 295 |
Cpu_run_real_total uint64 |
| 296 |
Cpu_run_virtual_total uint64 |
| 297 |
Ac_comm [32]uint8 |
| 298 |
Ac_sched uint8 |
| 299 |
Ac_pad [3]uint8 |
| 300 |
_ [4]byte |
| 301 |
Ac_uid uint32 |
| 302 |
Ac_gid uint32 |
| 303 |
Ac_pid uint32 |
| 304 |
Ac_ppid uint32 |
| 305 |
Ac_btime uint32 |
| 306 |
_ [4]byte |
| 307 |
Ac_etime uint64 |
| 308 |
Ac_utime uint64 |
| 309 |
Ac_stime uint64 |
| 310 |
Ac_minflt uint64 |
| 311 |
Ac_majflt uint64 |
| 312 |
Coremem uint64 |
| 313 |
Virtmem uint64 |
| 314 |
Hiwater_rss uint64 |
| 315 |
Hiwater_vm uint64 |
| 316 |
Read_char uint64 |
| 317 |
Write_char uint64 |
| 318 |
Read_syscalls uint64 |
| 319 |
Write_syscalls uint64 |
| 320 |
Read_bytes uint64 |
| 321 |
Write_bytes uint64 |
| 322 |
Cancelled_write_bytes uint64 |
| 323 |
Nvcsw uint64 |
| 324 |
Nivcsw uint64 |
| 325 |
Ac_utimescaled uint64 |
| 326 |
Ac_stimescaled uint64 |
| 327 |
Cpu_scaled_run_real_total uint64 |
| 328 |
Freepages_count uint64 |
| 329 |
Freepages_delay_total uint64 |
| 330 |
Thrashing_count uint64 |
| 331 |
Thrashing_delay_total uint64 |
| 332 |
Ac_btime64 uint64 |
| 333 |
Compact_count uint64 |
| 334 |
Compact_delay_total uint64 |
| 335 |
Ac_tgid uint32 |
| 336 |
_ [4]byte |
| 337 |
Ac_tgetime uint64 |
| 338 |
Ac_exe_dev uint64 |
| 339 |
Ac_exe_inode uint64 |
| 340 |
Wpcopy_count uint64 |
| 341 |
Wpcopy_delay_total uint64 |
| 342 |
Irq_count uint64 |
| 343 |
Irq_delay_total uint64 |
| 344 |
Cpu_delay_max uint64 |
| 345 |
Cpu_delay_min uint64 |
| 346 |
Blkio_delay_max uint64 |
| 347 |
Blkio_delay_min uint64 |
| 348 |
Swapin_delay_max uint64 |
| 349 |
Swapin_delay_min uint64 |
| 350 |
Freepages_delay_max uint64 |
| 351 |
Freepages_delay_min uint64 |
| 352 |
Thrashing_delay_max uint64 |
| 353 |
Thrashing_delay_min uint64 |
| 354 |
Compact_delay_max uint64 |
| 355 |
Compact_delay_min uint64 |
| 356 |
Wpcopy_delay_max uint64 |
| 357 |
Wpcopy_delay_min uint64 |
| 358 |
Irq_delay_max uint64 |
| 359 |
Irq_delay_min uint64 |
| 360 |
Cpu_delay_max_ts KernelTimespec |
| 361 |
Blkio_delay_max_ts KernelTimespec |
| 362 |
Swapin_delay_max_ts KernelTimespec |
| 363 |
Freepages_delay_max_ts KernelTimespec |
| 364 |
Thrashing_delay_max_ts KernelTimespec |
| 365 |
Compact_delay_max_ts KernelTimespec |
| 366 |
Wpcopy_delay_max_ts KernelTimespec |
| 367 |
Irq_delay_max_ts KernelTimespec |
| 368 |
} |
| 369 |
|
| 370 |
type cpuMask uint32 |
| 371 |
|
| 372 |
const ( |
| 373 |
_NCPUBITS = 0x20 |
| 374 |
) |
| 375 |
|
| 376 |
const ( |
| 377 |
CBitFieldMaskBit0 = 0x8000000000000000 |
| 378 |
CBitFieldMaskBit1 = 0x4000000000000000 |
| 379 |
CBitFieldMaskBit2 = 0x2000000000000000 |
| 380 |
CBitFieldMaskBit3 = 0x1000000000000000 |
| 381 |
CBitFieldMaskBit4 = 0x800000000000000 |
| 382 |
CBitFieldMaskBit5 = 0x400000000000000 |
| 383 |
CBitFieldMaskBit6 = 0x200000000000000 |
| 384 |
CBitFieldMaskBit7 = 0x100000000000000 |
| 385 |
CBitFieldMaskBit8 = 0x80000000000000 |
| 386 |
CBitFieldMaskBit9 = 0x40000000000000 |
| 387 |
CBitFieldMaskBit10 = 0x20000000000000 |
| 388 |
CBitFieldMaskBit11 = 0x10000000000000 |
| 389 |
CBitFieldMaskBit12 = 0x8000000000000 |
| 390 |
CBitFieldMaskBit13 = 0x4000000000000 |
| 391 |
CBitFieldMaskBit14 = 0x2000000000000 |
| 392 |
CBitFieldMaskBit15 = 0x1000000000000 |
| 393 |
CBitFieldMaskBit16 = 0x800000000000 |
| 394 |
CBitFieldMaskBit17 = 0x400000000000 |
| 395 |
CBitFieldMaskBit18 = 0x200000000000 |
| 396 |
CBitFieldMaskBit19 = 0x100000000000 |
| 397 |
CBitFieldMaskBit20 = 0x80000000000 |
| 398 |
CBitFieldMaskBit21 = 0x40000000000 |
| 399 |
CBitFieldMaskBit22 = 0x20000000000 |
| 400 |
CBitFieldMaskBit23 = 0x10000000000 |
| 401 |
CBitFieldMaskBit24 = 0x8000000000 |
| 402 |
CBitFieldMaskBit25 = 0x4000000000 |
| 403 |
CBitFieldMaskBit26 = 0x2000000000 |
| 404 |
CBitFieldMaskBit27 = 0x1000000000 |
| 405 |
CBitFieldMaskBit28 = 0x800000000 |
| 406 |
CBitFieldMaskBit29 = 0x400000000 |
| 407 |
CBitFieldMaskBit30 = 0x200000000 |
| 408 |
CBitFieldMaskBit31 = 0x100000000 |
| 409 |
CBitFieldMaskBit32 = 0x80000000 |
| 410 |
CBitFieldMaskBit33 = 0x40000000 |
| 411 |
CBitFieldMaskBit34 = 0x20000000 |
| 412 |
CBitFieldMaskBit35 = 0x10000000 |
| 413 |
CBitFieldMaskBit36 = 0x8000000 |
| 414 |
CBitFieldMaskBit37 = 0x4000000 |
| 415 |
CBitFieldMaskBit38 = 0x2000000 |
| 416 |
CBitFieldMaskBit39 = 0x1000000 |
| 417 |
CBitFieldMaskBit40 = 0x800000 |
| 418 |
CBitFieldMaskBit41 = 0x400000 |
| 419 |
CBitFieldMaskBit42 = 0x200000 |
| 420 |
CBitFieldMaskBit43 = 0x100000 |
| 421 |
CBitFieldMaskBit44 = 0x80000 |
| 422 |
CBitFieldMaskBit45 = 0x40000 |
| 423 |
CBitFieldMaskBit46 = 0x20000 |
| 424 |
CBitFieldMaskBit47 = 0x10000 |
| 425 |
CBitFieldMaskBit48 = 0x8000 |
| 426 |
CBitFieldMaskBit49 = 0x4000 |
| 427 |
CBitFieldMaskBit50 = 0x2000 |
| 428 |
CBitFieldMaskBit51 = 0x1000 |
| 429 |
CBitFieldMaskBit52 = 0x800 |
| 430 |
CBitFieldMaskBit53 = 0x400 |
| 431 |
CBitFieldMaskBit54 = 0x200 |
| 432 |
CBitFieldMaskBit55 = 0x100 |
| 433 |
CBitFieldMaskBit56 = 0x80 |
| 434 |
CBitFieldMaskBit57 = 0x40 |
| 435 |
CBitFieldMaskBit58 = 0x20 |
| 436 |
CBitFieldMaskBit59 = 0x10 |
| 437 |
CBitFieldMaskBit60 = 0x8 |
| 438 |
CBitFieldMaskBit61 = 0x4 |
| 439 |
CBitFieldMaskBit62 = 0x2 |
| 440 |
CBitFieldMaskBit63 = 0x1 |
| 441 |
) |
| 442 |
|
| 443 |
type SockaddrStorage struct { |
| 444 |
Family uint16 |
| 445 |
Data [122]byte |
| 446 |
_ uint32 |
| 447 |
} |
| 448 |
|
| 449 |
type HDGeometry struct { |
| 450 |
Heads uint8 |
| 451 |
Sectors uint8 |
| 452 |
Cylinders uint16 |
| 453 |
Start uint32 |
| 454 |
} |
| 455 |
|
| 456 |
type Statfs_t struct { |
| 457 |
Type int32 |
| 458 |
Bsize int32 |
| 459 |
Blocks uint64 |
| 460 |
Bfree uint64 |
| 461 |
Bavail uint64 |
| 462 |
Files uint64 |
| 463 |
Ffree uint64 |
| 464 |
Fsid Fsid |
| 465 |
Namelen int32 |
| 466 |
Frsize int32 |
| 467 |
Flags int32 |
| 468 |
Spare [4]int32 |
| 469 |
_ [4]byte |
| 470 |
} |
| 471 |
|
| 472 |
type TpacketHdr struct { |
| 473 |
Status uint32 |
| 474 |
Len uint32 |
| 475 |
Snaplen uint32 |
| 476 |
Mac uint16 |
| 477 |
Net uint16 |
| 478 |
Sec uint32 |
| 479 |
Usec uint32 |
| 480 |
} |
| 481 |
|
| 482 |
const ( |
| 483 |
SizeofTpacketHdr = 0x18 |
| 484 |
) |
| 485 |
|
| 486 |
type RTCPLLInfo struct { |
| 487 |
Ctrl int32 |
| 488 |
Value int32 |
| 489 |
Max int32 |
| 490 |
Min int32 |
| 491 |
Posmult int32 |
| 492 |
Negmult int32 |
| 493 |
Clock int32 |
| 494 |
} |
| 495 |
|
| 496 |
type BlkpgPartition struct { |
| 497 |
Start int64 |
| 498 |
Length int64 |
| 499 |
Pno int32 |
| 500 |
Devname [64]uint8 |
| 501 |
Volname [64]uint8 |
| 502 |
_ [4]byte |
| 503 |
} |
| 504 |
|
| 505 |
const ( |
| 506 |
BLKPG = 0x20001269 |
| 507 |
) |
| 508 |
|
| 509 |
type CryptoUserAlg struct { |
| 510 |
Name [64]uint8 |
| 511 |
Driver_name [64]uint8 |
| 512 |
Module_name [64]uint8 |
| 513 |
Type uint32 |
| 514 |
Mask uint32 |
| 515 |
Refcnt uint32 |
| 516 |
Flags uint32 |
| 517 |
} |
| 518 |
|
| 519 |
type CryptoStatAEAD struct { |
| 520 |
Type [64]uint8 |
| 521 |
Encrypt_cnt uint64 |
| 522 |
Encrypt_tlen uint64 |
| 523 |
Decrypt_cnt uint64 |
| 524 |
Decrypt_tlen uint64 |
| 525 |
Err_cnt uint64 |
| 526 |
} |
| 527 |
|
| 528 |
type CryptoStatAKCipher struct { |
| 529 |
Type [64]uint8 |
| 530 |
Encrypt_cnt uint64 |
| 531 |
Encrypt_tlen uint64 |
| 532 |
Decrypt_cnt uint64 |
| 533 |
Decrypt_tlen uint64 |
| 534 |
Verify_cnt uint64 |
| 535 |
Sign_cnt uint64 |
| 536 |
Err_cnt uint64 |
| 537 |
} |
| 538 |
|
| 539 |
type CryptoStatCipher struct { |
| 540 |
Type [64]uint8 |
| 541 |
Encrypt_cnt uint64 |
| 542 |
Encrypt_tlen uint64 |
| 543 |
Decrypt_cnt uint64 |
| 544 |
Decrypt_tlen uint64 |
| 545 |
Err_cnt uint64 |
| 546 |
} |
| 547 |
|
| 548 |
type CryptoStatCompress struct { |
| 549 |
Type [64]uint8 |
| 550 |
Compress_cnt uint64 |
| 551 |
Compress_tlen uint64 |
| 552 |
Decompress_cnt uint64 |
| 553 |
Decompress_tlen uint64 |
| 554 |
Err_cnt uint64 |
| 555 |
} |
| 556 |
|
| 557 |
type CryptoStatHash struct { |
| 558 |
Type [64]uint8 |
| 559 |
Hash_cnt uint64 |
| 560 |
Hash_tlen uint64 |
| 561 |
Err_cnt uint64 |
| 562 |
} |
| 563 |
|
| 564 |
type CryptoStatKPP struct { |
| 565 |
Type [64]uint8 |
| 566 |
Setsecret_cnt uint64 |
| 567 |
Generate_public_key_cnt uint64 |
| 568 |
Compute_shared_secret_cnt uint64 |
| 569 |
Err_cnt uint64 |
| 570 |
} |
| 571 |
|
| 572 |
type CryptoStatRNG struct { |
| 573 |
Type [64]uint8 |
| 574 |
Generate_cnt uint64 |
| 575 |
Generate_tlen uint64 |
| 576 |
Seed_cnt uint64 |
| 577 |
Err_cnt uint64 |
| 578 |
} |
| 579 |
|
| 580 |
type CryptoStatLarval struct { |
| 581 |
Type [64]uint8 |
| 582 |
} |
| 583 |
|
| 584 |
type CryptoReportLarval struct { |
| 585 |
Type [64]uint8 |
| 586 |
} |
| 587 |
|
| 588 |
type CryptoReportHash struct { |
| 589 |
Type [64]uint8 |
| 590 |
Blocksize uint32 |
| 591 |
Digestsize uint32 |
| 592 |
} |
| 593 |
|
| 594 |
type CryptoReportCipher struct { |
| 595 |
Type [64]uint8 |
| 596 |
Blocksize uint32 |
| 597 |
Min_keysize uint32 |
| 598 |
Max_keysize uint32 |
| 599 |
} |
| 600 |
|
| 601 |
type CryptoReportBlkCipher struct { |
| 602 |
Type [64]uint8 |
| 603 |
Geniv [64]uint8 |
| 604 |
Blocksize uint32 |
| 605 |
Min_keysize uint32 |
| 606 |
Max_keysize uint32 |
| 607 |
Ivsize uint32 |
| 608 |
} |
| 609 |
|
| 610 |
type CryptoReportAEAD struct { |
| 611 |
Type [64]uint8 |
| 612 |
Geniv [64]uint8 |
| 613 |
Blocksize uint32 |
| 614 |
Maxauthsize uint32 |
| 615 |
Ivsize uint32 |
| 616 |
} |
| 617 |
|
| 618 |
type CryptoReportComp struct { |
| 619 |
Type [64]uint8 |
| 620 |
} |
| 621 |
|
| 622 |
type CryptoReportRNG struct { |
| 623 |
Type [64]uint8 |
| 624 |
Seedsize uint32 |
| 625 |
} |
| 626 |
|
| 627 |
type CryptoReportAKCipher struct { |
| 628 |
Type [64]uint8 |
| 629 |
} |
| 630 |
|
| 631 |
type CryptoReportKPP struct { |
| 632 |
Type [64]uint8 |
| 633 |
} |
| 634 |
|
| 635 |
type CryptoReportAcomp struct { |
| 636 |
Type [64]uint8 |
| 637 |
} |
| 638 |
|
| 639 |
type LoopInfo struct { |
| 640 |
Number int32 |
| 641 |
Device uint32 |
| 642 |
Inode uint32 |
| 643 |
Rdevice uint32 |
| 644 |
Offset int32 |
| 645 |
Encrypt_type int32 |
| 646 |
Encrypt_key_size int32 |
| 647 |
Flags int32 |
| 648 |
Name [64]uint8 |
| 649 |
Encrypt_key [32]uint8 |
| 650 |
Init [2]uint32 |
| 651 |
Reserved [4]uint8 |
| 652 |
} |
| 653 |
|
| 654 |
type TIPCSubscr struct { |
| 655 |
Seq TIPCServiceRange |
| 656 |
Timeout uint32 |
| 657 |
Filter uint32 |
| 658 |
Handle [8]uint8 |
| 659 |
} |
| 660 |
|
| 661 |
type TIPCSIOCLNReq struct { |
| 662 |
Peer uint32 |
| 663 |
Id uint32 |
| 664 |
Linkname [68]uint8 |
| 665 |
} |
| 666 |
|
| 667 |
type TIPCSIOCNodeIDReq struct { |
| 668 |
Peer uint32 |
| 669 |
Id [16]uint8 |
| 670 |
} |
| 671 |
|
| 672 |
type PPSKInfo struct { |
| 673 |
Assert_sequence uint32 |
| 674 |
Clear_sequence uint32 |
| 675 |
Assert_tu PPSKTime |
| 676 |
Clear_tu PPSKTime |
| 677 |
Current_mode int32 |
| 678 |
_ [4]byte |
| 679 |
} |
| 680 |
|
| 681 |
const ( |
| 682 |
PPS_GETPARAMS = 0x400470a1 |
| 683 |
PPS_SETPARAMS = 0x800470a2 |
| 684 |
PPS_GETCAP = 0x400470a3 |
| 685 |
PPS_FETCH = 0xc00470a4 |
| 686 |
) |
| 687 |
|
| 688 |
const ( |
| 689 |
PIDFD_NONBLOCK = 0x800 |
| 690 |
) |
| 691 |
|
| 692 |
type SysvIpcPerm struct { |
| 693 |
Key int32 |
| 694 |
Uid uint32 |
| 695 |
Gid uint32 |
| 696 |
Cuid uint32 |
| 697 |
Cgid uint32 |
| 698 |
Mode uint32 |
| 699 |
Seq uint32 |
| 700 |
_ uint32 |
| 701 |
_ uint64 |
| 702 |
_ uint64 |
| 703 |
} |
| 704 |
type SysvShmDesc struct { |
| 705 |
Perm SysvIpcPerm |
| 706 |
Atime_high uint32 |
| 707 |
Atime uint32 |
| 708 |
Dtime_high uint32 |
| 709 |
Dtime uint32 |
| 710 |
Ctime_high uint32 |
| 711 |
Ctime uint32 |
| 712 |
_ uint32 |
| 713 |
Segsz uint32 |
| 714 |
Cpid int32 |
| 715 |
Lpid int32 |
| 716 |
Nattch uint32 |
| 717 |
_ uint32 |
| 718 |
_ uint32 |
| 719 |
_ [4]byte |
| 720 |
} |