zsys_solaris.go 1023 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. // Code generated by cmd/cgo -godefs; DO NOT EDIT.
  2. // cgo -godefs defs_solaris.go
  3. package ipv4
  4. const (
  5. sizeofSockaddrStorage = 0x100
  6. sizeofSockaddrInet = 0x10
  7. sizeofInetPktinfo = 0xc
  8. sizeofIPMreq = 0x8
  9. sizeofIPMreqSource = 0xc
  10. sizeofGroupReq = 0x104
  11. sizeofGroupSourceReq = 0x204
  12. )
  13. type sockaddrStorage struct {
  14. Family uint16
  15. X_ss_pad1 [6]int8
  16. X_ss_align float64
  17. X_ss_pad2 [240]int8
  18. }
  19. type sockaddrInet struct {
  20. Family uint16
  21. Port uint16
  22. Addr [4]byte /* in_addr */
  23. Zero [8]int8
  24. }
  25. type inetPktinfo struct {
  26. Ifindex uint32
  27. Spec_dst [4]byte /* in_addr */
  28. Addr [4]byte /* in_addr */
  29. }
  30. type ipMreq struct {
  31. Multiaddr [4]byte /* in_addr */
  32. Interface [4]byte /* in_addr */
  33. }
  34. type ipMreqSource struct {
  35. Multiaddr [4]byte /* in_addr */
  36. Sourceaddr [4]byte /* in_addr */
  37. Interface [4]byte /* in_addr */
  38. }
  39. type groupReq struct {
  40. Interface uint32
  41. Pad_cgo_0 [256]byte
  42. }
  43. type groupSourceReq struct {
  44. Interface uint32
  45. Pad_cgo_0 [256]byte
  46. Pad_cgo_1 [256]byte
  47. }