zsys_openbsd.go 616 B

123456789101112131415161718192021222324252627282930
  1. // Code generated by cmd/cgo -godefs; DO NOT EDIT.
  2. // cgo -godefs defs_openbsd.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 = 0x1e
  14. sysIP_RECVTTL = 0x1f
  15. sysIP_MULTICAST_IF = 0x9
  16. sysIP_MULTICAST_TTL = 0xa
  17. sysIP_MULTICAST_LOOP = 0xb
  18. sysIP_ADD_MEMBERSHIP = 0xc
  19. sysIP_DROP_MEMBERSHIP = 0xd
  20. sizeofIPMreq = 0x8
  21. )
  22. type ipMreq struct {
  23. Multiaddr [4]byte /* in_addr */
  24. Interface [4]byte /* in_addr */
  25. }