zsys_dragonfly.go 647 B

12345678910111213141516171819202122232425262728293031
  1. // Code generated by cmd/cgo -godefs; DO NOT EDIT.
  2. // cgo -godefs defs_dragonfly.go
  3. package ipv4
  4. const (
  5. sysIP_OPTIONS = 0x1
  6. sysIP_HDRINCL = 0x2
  7. sysIP_TOS = 0x3
  8. sysIP_TTL = 0x4
  9. sysIP_RECVOPTS = 0x5
  10. sysIP_RECVRETOPTS = 0x6
  11. sysIP_RECVDSTADDR = 0x7
  12. sysIP_RETOPTS = 0x8
  13. sysIP_RECVIF = 0x14
  14. sysIP_RECVTTL = 0x41
  15. sysIP_MULTICAST_IF = 0x9
  16. sysIP_MULTICAST_TTL = 0xa
  17. sysIP_MULTICAST_LOOP = 0xb
  18. sysIP_MULTICAST_VIF = 0xe
  19. sysIP_ADD_MEMBERSHIP = 0xc
  20. sysIP_DROP_MEMBERSHIP = 0xd
  21. sizeofIPMreq = 0x8
  22. )
  23. type ipMreq struct {
  24. Multiaddr [4]byte /* in_addr */
  25. Interface [4]byte /* in_addr */
  26. }