zsys_aix_ppc64.go 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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. package ipv6
  6. const (
  7. sizeofSockaddrStorage = 0x508
  8. sizeofSockaddrInet6 = 0x1c
  9. sizeofInet6Pktinfo = 0x14
  10. sizeofIPv6Mtuinfo = 0x20
  11. sizeofIPv6Mreq = 0x14
  12. sizeofGroupReq = 0x510
  13. sizeofGroupSourceReq = 0xa18
  14. sizeofICMPv6Filter = 0x20
  15. )
  16. type sockaddrStorage struct {
  17. X__ss_len uint8
  18. Family uint8
  19. X__ss_pad1 [6]uint8
  20. X__ss_align int64
  21. X__ss_pad2 [1265]uint8
  22. Pad_cgo_0 [7]byte
  23. }
  24. type sockaddrInet6 struct {
  25. Len uint8
  26. Family uint8
  27. Port uint16
  28. Flowinfo uint32
  29. Addr [16]byte /* in6_addr */
  30. Scope_id uint32
  31. }
  32. type inet6Pktinfo struct {
  33. Addr [16]byte /* in6_addr */
  34. Ifindex int32
  35. }
  36. type ipv6Mtuinfo struct {
  37. Addr sockaddrInet6
  38. Mtu uint32
  39. }
  40. type ipv6Mreq struct {
  41. Multiaddr [16]byte /* in6_addr */
  42. Interface uint32
  43. }
  44. type icmpv6Filter struct {
  45. Filt [8]uint32
  46. }
  47. type groupReq struct {
  48. Interface uint32
  49. Group sockaddrStorage
  50. }
  51. type groupSourceReq struct {
  52. Interface uint32
  53. Group sockaddrStorage
  54. Source sockaddrStorage
  55. }