zsys_aix_ppc64.go 890 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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 socket
  6. type iovec struct {
  7. Base *byte
  8. Len uint64
  9. }
  10. type msghdr struct {
  11. Name *byte
  12. Namelen uint32
  13. Iov *iovec
  14. Iovlen int32
  15. Control *byte
  16. Controllen uint32
  17. Flags int32
  18. }
  19. type mmsghdr struct {
  20. Hdr msghdr
  21. Len uint32
  22. Pad_cgo_0 [4]byte
  23. }
  24. type cmsghdr struct {
  25. Len uint32
  26. Level int32
  27. Type int32
  28. }
  29. type sockaddrInet struct {
  30. Len uint8
  31. Family uint8
  32. Port uint16
  33. Addr [4]byte /* in_addr */
  34. Zero [8]uint8
  35. }
  36. type sockaddrInet6 struct {
  37. Len uint8
  38. Family uint8
  39. Port uint16
  40. Flowinfo uint32
  41. Addr [16]byte /* in6_addr */
  42. Scope_id uint32
  43. }
  44. const (
  45. sizeofIovec = 0x10
  46. sizeofMsghdr = 0x30
  47. sizeofCmsghdr = 0xc
  48. sizeofSockaddrInet = 0x10
  49. sizeofSockaddrInet6 = 0x1c
  50. )