zsys_aix_ppc64.go 661 B

123456789101112131415161718192021222324252627282930313233
  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 ipv4
  6. const (
  7. sysIP_OPTIONS = 0x1
  8. sysIP_HDRINCL = 0x2
  9. sysIP_TOS = 0x3
  10. sysIP_TTL = 0x4
  11. sysIP_RECVOPTS = 0x5
  12. sysIP_RECVRETOPTS = 0x6
  13. sysIP_RECVDSTADDR = 0x7
  14. sysIP_RETOPTS = 0x8
  15. sysIP_RECVIF = 0x20
  16. sysIP_RECVTTL = 0x22
  17. sysIP_MULTICAST_IF = 0x9
  18. sysIP_MULTICAST_TTL = 0xa
  19. sysIP_MULTICAST_LOOP = 0xb
  20. sysIP_ADD_MEMBERSHIP = 0xc
  21. sysIP_DROP_MEMBERSHIP = 0xd
  22. sizeofIPMreq = 0x8
  23. )
  24. type ipMreq struct {
  25. Multiaddr [4]byte /* in_addr */
  26. Interface [4]byte /* in_addr */
  27. }