zsys_aix_ppc64.go 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. // Code generated by cmd/cgo -godefs; DO NOT EDIT.
  2. // cgo -godefs defs_aix.go
  3. // Added for go1.11 compatibility
  4. //go:build aix
  5. // +build aix
  6. package ipv6
  7. const (
  8. sizeofSockaddrStorage = 0x508
  9. sizeofSockaddrInet6 = 0x1c
  10. sizeofInet6Pktinfo = 0x14
  11. sizeofIPv6Mtuinfo = 0x20
  12. sizeofIPv6Mreq = 0x14
  13. sizeofGroupReq = 0x510
  14. sizeofGroupSourceReq = 0xa18
  15. sizeofICMPv6Filter = 0x20
  16. )
  17. type sockaddrStorage struct {
  18. X__ss_len uint8
  19. Family uint8
  20. X__ss_pad1 [6]uint8
  21. X__ss_align int64
  22. X__ss_pad2 [1265]uint8
  23. Pad_cgo_0 [7]byte
  24. }
  25. type sockaddrInet6 struct {
  26. Len uint8
  27. Family uint8
  28. Port uint16
  29. Flowinfo uint32
  30. Addr [16]byte /* in6_addr */
  31. Scope_id uint32
  32. }
  33. type inet6Pktinfo struct {
  34. Addr [16]byte /* in6_addr */
  35. Ifindex int32
  36. }
  37. type ipv6Mtuinfo struct {
  38. Addr sockaddrInet6
  39. Mtu uint32
  40. }
  41. type ipv6Mreq struct {
  42. Multiaddr [16]byte /* in6_addr */
  43. Interface uint32
  44. }
  45. type icmpv6Filter struct {
  46. Filt [8]uint32
  47. }
  48. type groupReq struct {
  49. Interface uint32
  50. Group sockaddrStorage
  51. }
  52. type groupSourceReq struct {
  53. Interface uint32
  54. Group sockaddrStorage
  55. Source sockaddrStorage
  56. }