You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
604 B

  1. // Created by cgo -godefs - DO NOT EDIT
  2. // cgo -godefs defs_netbsd.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 = 0x17
  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. }