zsys_aix_ppc64.go 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. // Code generated by cmd/cgo -godefs; DO NOT EDIT.
  2. // cgo -godefs defs_aix.go
  3. // Added for go1.11 compatibility
  4. // +build aix
  5. package ipv6
  6. const (
  7. sysIPV6_UNICAST_HOPS = 0x4
  8. sysIPV6_MULTICAST_IF = 0x9
  9. sysIPV6_MULTICAST_HOPS = 0xa
  10. sysIPV6_MULTICAST_LOOP = 0xb
  11. sysIPV6_JOIN_GROUP = 0xc
  12. sysIPV6_LEAVE_GROUP = 0xd
  13. sysICMP6_FILTER = 0x26
  14. sysIPV6_CHECKSUM = 0x27
  15. sysIPV6_V6ONLY = 0x25
  16. sysIPV6_RTHDRDSTOPTS = 0x37
  17. sysIPV6_RECVPKTINFO = 0x23
  18. sysIPV6_RECVHOPLIMIT = 0x29
  19. sysIPV6_RECVRTHDR = 0x33
  20. sysIPV6_RECVHOPOPTS = 0x35
  21. sysIPV6_RECVDSTOPTS = 0x38
  22. sysIPV6_USE_MIN_MTU = 0x2c
  23. sysIPV6_RECVPATHMTU = 0x2f
  24. sysIPV6_PATHMTU = 0x2e
  25. sysIPV6_PKTINFO = 0x21
  26. sysIPV6_HOPLIMIT = 0x28
  27. sysIPV6_NEXTHOP = 0x30
  28. sysIPV6_HOPOPTS = 0x34
  29. sysIPV6_DSTOPTS = 0x36
  30. sysIPV6_RTHDR = 0x32
  31. sysIPV6_RECVTCLASS = 0x2a
  32. sysIPV6_TCLASS = 0x2b
  33. sysIPV6_DONTFRAG = 0x2d
  34. sizeofSockaddrStorage = 0x508
  35. sizeofSockaddrInet6 = 0x1c
  36. sizeofInet6Pktinfo = 0x14
  37. sizeofIPv6Mtuinfo = 0x20
  38. sizeofIPv6Mreq = 0x14
  39. sizeofGroupReq = 0x510
  40. sizeofGroupSourceReq = 0xa18
  41. sizeofICMPv6Filter = 0x20
  42. )
  43. type sockaddrStorage struct {
  44. X__ss_len uint8
  45. Family uint8
  46. X__ss_pad1 [6]uint8
  47. X__ss_align int64
  48. X__ss_pad2 [1265]uint8
  49. Pad_cgo_0 [7]byte
  50. }
  51. type sockaddrInet6 struct {
  52. Len uint8
  53. Family uint8
  54. Port uint16
  55. Flowinfo uint32
  56. Addr [16]byte /* in6_addr */
  57. Scope_id uint32
  58. }
  59. type inet6Pktinfo struct {
  60. Addr [16]byte /* in6_addr */
  61. Ifindex int32
  62. }
  63. type ipv6Mtuinfo struct {
  64. Addr sockaddrInet6
  65. Mtu uint32
  66. }
  67. type ipv6Mreq struct {
  68. Multiaddr [16]byte /* in6_addr */
  69. Interface uint32
  70. }
  71. type icmpv6Filter struct {
  72. Filt [8]uint32
  73. }
  74. type groupReq struct {
  75. Interface uint32
  76. Group sockaddrStorage
  77. }
  78. type groupSourceReq struct {
  79. Interface uint32
  80. Group sockaddrStorage
  81. Source sockaddrStorage
  82. }