zsys_linux_ppc64le.go 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. // Created by cgo -godefs - DO NOT EDIT
  2. // cgo -godefs defs_linux.go
  3. // +build linux,ppc64le
  4. package ipv6
  5. const (
  6. sysIPV6_ADDRFORM = 0x1
  7. sysIPV6_2292PKTINFO = 0x2
  8. sysIPV6_2292HOPOPTS = 0x3
  9. sysIPV6_2292DSTOPTS = 0x4
  10. sysIPV6_2292RTHDR = 0x5
  11. sysIPV6_2292PKTOPTIONS = 0x6
  12. sysIPV6_CHECKSUM = 0x7
  13. sysIPV6_2292HOPLIMIT = 0x8
  14. sysIPV6_NEXTHOP = 0x9
  15. sysIPV6_FLOWINFO = 0xb
  16. sysIPV6_UNICAST_HOPS = 0x10
  17. sysIPV6_MULTICAST_IF = 0x11
  18. sysIPV6_MULTICAST_HOPS = 0x12
  19. sysIPV6_MULTICAST_LOOP = 0x13
  20. sysIPV6_ADD_MEMBERSHIP = 0x14
  21. sysIPV6_DROP_MEMBERSHIP = 0x15
  22. sysMCAST_JOIN_GROUP = 0x2a
  23. sysMCAST_LEAVE_GROUP = 0x2d
  24. sysMCAST_JOIN_SOURCE_GROUP = 0x2e
  25. sysMCAST_LEAVE_SOURCE_GROUP = 0x2f
  26. sysMCAST_BLOCK_SOURCE = 0x2b
  27. sysMCAST_UNBLOCK_SOURCE = 0x2c
  28. sysMCAST_MSFILTER = 0x30
  29. sysIPV6_ROUTER_ALERT = 0x16
  30. sysIPV6_MTU_DISCOVER = 0x17
  31. sysIPV6_MTU = 0x18
  32. sysIPV6_RECVERR = 0x19
  33. sysIPV6_V6ONLY = 0x1a
  34. sysIPV6_JOIN_ANYCAST = 0x1b
  35. sysIPV6_LEAVE_ANYCAST = 0x1c
  36. sysIPV6_FLOWLABEL_MGR = 0x20
  37. sysIPV6_FLOWINFO_SEND = 0x21
  38. sysIPV6_IPSEC_POLICY = 0x22
  39. sysIPV6_XFRM_POLICY = 0x23
  40. sysIPV6_RECVPKTINFO = 0x31
  41. sysIPV6_PKTINFO = 0x32
  42. sysIPV6_RECVHOPLIMIT = 0x33
  43. sysIPV6_HOPLIMIT = 0x34
  44. sysIPV6_RECVHOPOPTS = 0x35
  45. sysIPV6_HOPOPTS = 0x36
  46. sysIPV6_RTHDRDSTOPTS = 0x37
  47. sysIPV6_RECVRTHDR = 0x38
  48. sysIPV6_RTHDR = 0x39
  49. sysIPV6_RECVDSTOPTS = 0x3a
  50. sysIPV6_DSTOPTS = 0x3b
  51. sysIPV6_RECVPATHMTU = 0x3c
  52. sysIPV6_PATHMTU = 0x3d
  53. sysIPV6_DONTFRAG = 0x3e
  54. sysIPV6_RECVTCLASS = 0x42
  55. sysIPV6_TCLASS = 0x43
  56. sysIPV6_ADDR_PREFERENCES = 0x48
  57. sysIPV6_PREFER_SRC_TMP = 0x1
  58. sysIPV6_PREFER_SRC_PUBLIC = 0x2
  59. sysIPV6_PREFER_SRC_PUBTMP_DEFAULT = 0x100
  60. sysIPV6_PREFER_SRC_COA = 0x4
  61. sysIPV6_PREFER_SRC_HOME = 0x400
  62. sysIPV6_PREFER_SRC_CGA = 0x8
  63. sysIPV6_PREFER_SRC_NONCGA = 0x800
  64. sysIPV6_MINHOPCOUNT = 0x49
  65. sysIPV6_ORIGDSTADDR = 0x4a
  66. sysIPV6_RECVORIGDSTADDR = 0x4a
  67. sysIPV6_TRANSPARENT = 0x4b
  68. sysIPV6_UNICAST_IF = 0x4c
  69. sysICMPV6_FILTER = 0x1
  70. sysICMPV6_FILTER_BLOCK = 0x1
  71. sysICMPV6_FILTER_PASS = 0x2
  72. sysICMPV6_FILTER_BLOCKOTHERS = 0x3
  73. sysICMPV6_FILTER_PASSONLY = 0x4
  74. sysSOL_SOCKET = 0x1
  75. sysSO_ATTACH_FILTER = 0x1a
  76. sysSizeofKernelSockaddrStorage = 0x80
  77. sysSizeofSockaddrInet6 = 0x1c
  78. sysSizeofInet6Pktinfo = 0x14
  79. sysSizeofIPv6Mtuinfo = 0x20
  80. sysSizeofIPv6FlowlabelReq = 0x20
  81. sysSizeofIPv6Mreq = 0x14
  82. sysSizeofGroupReq = 0x88
  83. sysSizeofGroupSourceReq = 0x108
  84. sysSizeofICMPv6Filter = 0x20
  85. )
  86. type sysKernelSockaddrStorage struct {
  87. Family uint16
  88. X__data [126]int8
  89. }
  90. type sysSockaddrInet6 struct {
  91. Family uint16
  92. Port uint16
  93. Flowinfo uint32
  94. Addr [16]byte /* in6_addr */
  95. Scope_id uint32
  96. }
  97. type sysInet6Pktinfo struct {
  98. Addr [16]byte /* in6_addr */
  99. Ifindex int32
  100. }
  101. type sysIPv6Mtuinfo struct {
  102. Addr sysSockaddrInet6
  103. Mtu uint32
  104. }
  105. type sysIPv6FlowlabelReq struct {
  106. Dst [16]byte /* in6_addr */
  107. Label uint32
  108. Action uint8
  109. Share uint8
  110. Flags uint16
  111. Expires uint16
  112. Linger uint16
  113. X__flr_pad uint32
  114. }
  115. type sysIPv6Mreq struct {
  116. Multiaddr [16]byte /* in6_addr */
  117. Ifindex int32
  118. }
  119. type sysGroupReq struct {
  120. Interface uint32
  121. Pad_cgo_0 [4]byte
  122. Group sysKernelSockaddrStorage
  123. }
  124. type sysGroupSourceReq struct {
  125. Interface uint32
  126. Pad_cgo_0 [4]byte
  127. Group sysKernelSockaddrStorage
  128. Source sysKernelSockaddrStorage
  129. }
  130. type sysICMPv6Filter struct {
  131. Data [8]uint32
  132. }
  133. type sysSockFProg struct {
  134. Len uint16
  135. Pad_cgo_0 [6]byte
  136. Filter *sysSockFilter
  137. }
  138. type sysSockFilter struct {
  139. Code uint16
  140. Jt uint8
  141. Jf uint8
  142. K uint32
  143. }