equal
deleted
inserted
replaced
71 Size int64 |
71 Size int64 |
72 Blocks int64 |
72 Blocks int64 |
73 Blksize int32 |
73 Blksize int32 |
74 Flags uint32 |
74 Flags uint32 |
75 Gen uint32 |
75 Gen uint32 |
76 _ [4]byte |
|
77 _ Timespec |
76 _ Timespec |
78 } |
77 } |
79 |
78 |
80 type Statfs_t struct { |
79 type Statfs_t struct { |
81 F_flags uint32 |
80 F_flags uint32 |
82 F_bsize uint32 |
81 F_bsize uint32 |
83 F_iosize uint32 |
82 F_iosize uint32 |
84 _ [4]byte |
|
85 F_blocks uint64 |
83 F_blocks uint64 |
86 F_bfree uint64 |
84 F_bfree uint64 |
87 F_bavail int64 |
85 F_bavail int64 |
88 F_files uint64 |
86 F_files uint64 |
89 F_ffree uint64 |
87 F_ffree uint64 |
198 } |
196 } |
199 |
197 |
200 type Msghdr struct { |
198 type Msghdr struct { |
201 Name *byte |
199 Name *byte |
202 Namelen uint32 |
200 Namelen uint32 |
203 _ [4]byte |
|
204 Iov *Iovec |
201 Iov *Iovec |
205 Iovlen uint32 |
202 Iovlen uint32 |
206 _ [4]byte |
|
207 Control *byte |
203 Control *byte |
208 Controllen uint32 |
204 Controllen uint32 |
209 Flags int32 |
205 Flags int32 |
210 } |
206 } |
211 |
207 |
309 Omcasts uint64 |
305 Omcasts uint64 |
310 Iqdrops uint64 |
306 Iqdrops uint64 |
311 Oqdrops uint64 |
307 Oqdrops uint64 |
312 Noproto uint64 |
308 Noproto uint64 |
313 Capabilities uint32 |
309 Capabilities uint32 |
314 _ [4]byte |
|
315 Lastchange Timeval |
310 Lastchange Timeval |
316 } |
311 } |
317 |
312 |
318 type IfaMsghdr struct { |
313 type IfaMsghdr struct { |
319 Msglen uint16 |
314 Msglen uint16 |
371 Rtt uint32 |
366 Rtt uint32 |
372 Rttvar uint32 |
367 Rttvar uint32 |
373 Pad uint32 |
368 Pad uint32 |
374 } |
369 } |
375 |
370 |
376 type Mclpool struct{} |
|
377 |
|
378 const ( |
371 const ( |
379 SizeofBpfVersion = 0x4 |
372 SizeofBpfVersion = 0x4 |
380 SizeofBpfStat = 0x8 |
373 SizeofBpfStat = 0x8 |
381 SizeofBpfProgram = 0x10 |
374 SizeofBpfProgram = 0x10 |
382 SizeofBpfInsn = 0x8 |
375 SizeofBpfInsn = 0x8 |
383 SizeofBpfHdr = 0x14 |
376 SizeofBpfHdr = 0x18 |
384 ) |
377 ) |
385 |
378 |
386 type BpfVersion struct { |
379 type BpfVersion struct { |
387 Major uint16 |
380 Major uint16 |
388 Minor uint16 |
381 Minor uint16 |
393 Drop uint32 |
386 Drop uint32 |
394 } |
387 } |
395 |
388 |
396 type BpfProgram struct { |
389 type BpfProgram struct { |
397 Len uint32 |
390 Len uint32 |
398 _ [4]byte |
|
399 Insns *BpfInsn |
391 Insns *BpfInsn |
400 } |
392 } |
401 |
393 |
402 type BpfInsn struct { |
394 type BpfInsn struct { |
403 Code uint16 |
395 Code uint16 |
409 type BpfHdr struct { |
401 type BpfHdr struct { |
410 Tstamp BpfTimeval |
402 Tstamp BpfTimeval |
411 Caplen uint32 |
403 Caplen uint32 |
412 Datalen uint32 |
404 Datalen uint32 |
413 Hdrlen uint16 |
405 Hdrlen uint16 |
414 _ [2]byte |
406 Ifidx uint16 |
|
407 Flowid uint16 |
|
408 Flags uint8 |
|
409 Drops uint8 |
415 } |
410 } |
416 |
411 |
417 type BpfTimeval struct { |
412 type BpfTimeval struct { |
418 Sec uint32 |
413 Sec uint32 |
419 Usec uint32 |
414 Usec uint32 |
486 Paging int32 |
481 Paging int32 |
487 Wired int32 |
482 Wired int32 |
488 Zeropages int32 |
483 Zeropages int32 |
489 Reserve_pagedaemon int32 |
484 Reserve_pagedaemon int32 |
490 Reserve_kernel int32 |
485 Reserve_kernel int32 |
491 Anonpages int32 |
486 Unused01 int32 |
492 Vnodepages int32 |
487 Vnodepages int32 |
493 Vtextpages int32 |
488 Vtextpages int32 |
494 Freemin int32 |
489 Freemin int32 |
495 Freetarg int32 |
490 Freetarg int32 |
496 Inactarg int32 |
491 Inactarg int32 |
505 Swpages int32 |
500 Swpages int32 |
506 Swpginuse int32 |
501 Swpginuse int32 |
507 Swpgonly int32 |
502 Swpgonly int32 |
508 Nswget int32 |
503 Nswget int32 |
509 Nanon int32 |
504 Nanon int32 |
510 Nanonneeded int32 |
505 Unused05 int32 |
511 Nfreeanon int32 |
506 Unused06 int32 |
512 Faults int32 |
507 Faults int32 |
513 Traps int32 |
508 Traps int32 |
514 Intrs int32 |
509 Intrs int32 |
515 Swtch int32 |
510 Swtch int32 |
516 Softs int32 |
511 Softs int32 |
517 Syscalls int32 |
512 Syscalls int32 |
518 Pageins int32 |
513 Pageins int32 |
519 Obsolete_swapins int32 |
514 Unused07 int32 |
520 Obsolete_swapouts int32 |
515 Unused08 int32 |
521 Pgswapin int32 |
516 Pgswapin int32 |
522 Pgswapout int32 |
517 Pgswapout int32 |
523 Forks int32 |
518 Forks int32 |
524 Forks_ppwait int32 |
519 Forks_ppwait int32 |
525 Forks_sharevm int32 |
520 Forks_sharevm int32 |
526 Pga_zerohit int32 |
521 Pga_zerohit int32 |
527 Pga_zeromiss int32 |
522 Pga_zeromiss int32 |
528 Zeroaborts int32 |
523 Unused09 int32 |
529 Fltnoram int32 |
524 Fltnoram int32 |
530 Fltnoanon int32 |
525 Fltnoanon int32 |
531 Fltnoamap int32 |
526 Fltnoamap int32 |
532 Fltpgwait int32 |
527 Fltpgwait int32 |
533 Fltpgrele int32 |
528 Fltpgrele int32 |
555 Pdreact int32 |
550 Pdreact int32 |
556 Pdbusy int32 |
551 Pdbusy int32 |
557 Pdpageouts int32 |
552 Pdpageouts int32 |
558 Pdpending int32 |
553 Pdpending int32 |
559 Pddeact int32 |
554 Pddeact int32 |
560 Pdreanon int32 |
555 Unused11 int32 |
561 Pdrevnode int32 |
556 Unused12 int32 |
562 Pdrevtext int32 |
557 Unused13 int32 |
563 Fpswtch int32 |
558 Fpswtch int32 |
564 Kmapent int32 |
559 Kmapent int32 |
565 } |
560 } |
566 |
561 |
567 const SizeofClockinfo = 0x10 |
562 const SizeofClockinfo = 0x10 |