zsys_solaris.go 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. // Code generated by cmd/cgo -godefs; DO NOT EDIT.
  2. // cgo -godefs defs_solaris.go
  3. package ipv6
  4. const (
  5. sizeofSockaddrStorage = 0x100
  6. sizeofSockaddrInet6 = 0x20
  7. sizeofInet6Pktinfo = 0x14
  8. sizeofIPv6Mtuinfo = 0x24
  9. sizeofIPv6Mreq = 0x14
  10. sizeofGroupReq = 0x104
  11. sizeofGroupSourceReq = 0x204
  12. sizeofICMPv6Filter = 0x20
  13. )
  14. type sockaddrStorage struct {
  15. Family uint16
  16. X_ss_pad1 [6]int8
  17. X_ss_align float64
  18. X_ss_pad2 [240]int8
  19. }
  20. type sockaddrInet6 struct {
  21. Family uint16
  22. Port uint16
  23. Flowinfo uint32
  24. Addr [16]byte /* in6_addr */
  25. Scope_id uint32
  26. X__sin6_src_id uint32
  27. }
  28. type inet6Pktinfo struct {
  29. Addr [16]byte /* in6_addr */
  30. Ifindex uint32
  31. }
  32. type ipv6Mtuinfo struct {
  33. Addr sockaddrInet6
  34. Mtu uint32
  35. }
  36. type ipv6Mreq struct {
  37. Multiaddr [16]byte /* in6_addr */
  38. Interface uint32
  39. }
  40. type groupReq struct {
  41. Interface uint32
  42. Pad_cgo_0 [256]byte
  43. }
  44. type groupSourceReq struct {
  45. Interface uint32
  46. Pad_cgo_0 [256]byte
  47. Pad_cgo_1 [256]byte
  48. }
  49. type icmpv6Filter struct {
  50. X__icmp6_filt [8]uint32
  51. }