zsys_solaris.go 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. // Created by cgo -godefs - DO NOT EDIT
  2. // cgo -godefs defs_solaris.go
  3. // +build solaris
  4. package ipv6
  5. const (
  6. sysIPV6_UNICAST_HOPS = 0x5
  7. sysIPV6_MULTICAST_IF = 0x6
  8. sysIPV6_MULTICAST_HOPS = 0x7
  9. sysIPV6_MULTICAST_LOOP = 0x8
  10. sysIPV6_JOIN_GROUP = 0x9
  11. sysIPV6_LEAVE_GROUP = 0xa
  12. sysIPV6_PKTINFO = 0xb
  13. sysIPV6_HOPLIMIT = 0xc
  14. sysIPV6_NEXTHOP = 0xd
  15. sysIPV6_HOPOPTS = 0xe
  16. sysIPV6_DSTOPTS = 0xf
  17. sysIPV6_RTHDR = 0x10
  18. sysIPV6_RTHDRDSTOPTS = 0x11
  19. sysIPV6_RECVPKTINFO = 0x12
  20. sysIPV6_RECVHOPLIMIT = 0x13
  21. sysIPV6_RECVHOPOPTS = 0x14
  22. sysIPV6_RECVRTHDR = 0x16
  23. sysIPV6_RECVRTHDRDSTOPTS = 0x17
  24. sysIPV6_CHECKSUM = 0x18
  25. sysIPV6_RECVTCLASS = 0x19
  26. sysIPV6_USE_MIN_MTU = 0x20
  27. sysIPV6_DONTFRAG = 0x21
  28. sysIPV6_SEC_OPT = 0x22
  29. sysIPV6_SRC_PREFERENCES = 0x23
  30. sysIPV6_RECVPATHMTU = 0x24
  31. sysIPV6_PATHMTU = 0x25
  32. sysIPV6_TCLASS = 0x26
  33. sysIPV6_V6ONLY = 0x27
  34. sysIPV6_RECVDSTOPTS = 0x28
  35. sysIPV6_PREFER_SRC_HOME = 0x1
  36. sysIPV6_PREFER_SRC_COA = 0x2
  37. sysIPV6_PREFER_SRC_PUBLIC = 0x4
  38. sysIPV6_PREFER_SRC_TMP = 0x8
  39. sysIPV6_PREFER_SRC_NONCGA = 0x10
  40. sysIPV6_PREFER_SRC_CGA = 0x20
  41. sysIPV6_PREFER_SRC_MIPMASK = 0x3
  42. sysIPV6_PREFER_SRC_MIPDEFAULT = 0x1
  43. sysIPV6_PREFER_SRC_TMPMASK = 0xc
  44. sysIPV6_PREFER_SRC_TMPDEFAULT = 0x4
  45. sysIPV6_PREFER_SRC_CGAMASK = 0x30
  46. sysIPV6_PREFER_SRC_CGADEFAULT = 0x10
  47. sysIPV6_PREFER_SRC_MASK = 0x3f
  48. sysIPV6_PREFER_SRC_DEFAULT = 0x15
  49. sysIPV6_BOUND_IF = 0x41
  50. sysIPV6_UNSPEC_SRC = 0x42
  51. sysICMP6_FILTER = 0x1
  52. sysSizeofSockaddrInet6 = 0x20
  53. sysSizeofInet6Pktinfo = 0x14
  54. sysSizeofIPv6Mtuinfo = 0x24
  55. sysSizeofIPv6Mreq = 0x14
  56. sysSizeofICMPv6Filter = 0x20
  57. )
  58. type sysSockaddrInet6 struct {
  59. Family uint16
  60. Port uint16
  61. Flowinfo uint32
  62. Addr [16]byte /* in6_addr */
  63. Scope_id uint32
  64. X__sin6_src_id uint32
  65. }
  66. type sysInet6Pktinfo struct {
  67. Addr [16]byte /* in6_addr */
  68. Ifindex uint32
  69. }
  70. type sysIPv6Mtuinfo struct {
  71. Addr sysSockaddrInet6
  72. Mtu uint32
  73. }
  74. type sysIPv6Mreq struct {
  75. Multiaddr [16]byte /* in6_addr */
  76. Interface uint32
  77. }
  78. type sysICMPv6Filter struct {
  79. X__icmp6_filt [8]uint32
  80. }