zsys_linux_ppc64.go 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. // Code generated by cmd/cgo -godefs; DO NOT EDIT.
  2. // cgo -godefs defs_linux.go
  3. package ipv6
  4. const (
  5. sizeofKernelSockaddrStorage = 0x80
  6. sizeofSockaddrInet6 = 0x1c
  7. sizeofInet6Pktinfo = 0x14
  8. sizeofIPv6Mtuinfo = 0x20
  9. sizeofIPv6FlowlabelReq = 0x20
  10. sizeofIPv6Mreq = 0x14
  11. sizeofGroupReq = 0x88
  12. sizeofGroupSourceReq = 0x108
  13. sizeofICMPv6Filter = 0x20
  14. )
  15. type kernelSockaddrStorage struct {
  16. Family uint16
  17. X__data [126]int8
  18. }
  19. type sockaddrInet6 struct {
  20. Family uint16
  21. Port uint16
  22. Flowinfo uint32
  23. Addr [16]byte /* in6_addr */
  24. Scope_id uint32
  25. }
  26. type inet6Pktinfo struct {
  27. Addr [16]byte /* in6_addr */
  28. Ifindex int32
  29. }
  30. type ipv6Mtuinfo struct {
  31. Addr sockaddrInet6
  32. Mtu uint32
  33. }
  34. type ipv6FlowlabelReq struct {
  35. Dst [16]byte /* in6_addr */
  36. Label uint32
  37. Action uint8
  38. Share uint8
  39. Flags uint16
  40. Expires uint16
  41. Linger uint16
  42. X__flr_pad uint32
  43. }
  44. type ipv6Mreq struct {
  45. Multiaddr [16]byte /* in6_addr */
  46. Ifindex int32
  47. }
  48. type groupReq struct {
  49. Interface uint32
  50. Pad_cgo_0 [4]byte
  51. Group kernelSockaddrStorage
  52. }
  53. type groupSourceReq struct {
  54. Interface uint32
  55. Pad_cgo_0 [4]byte
  56. Group kernelSockaddrStorage
  57. Source kernelSockaddrStorage
  58. }
  59. type icmpv6Filter struct {
  60. Data [8]uint32
  61. }