zsys_freebsd_arm64.go 936 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. // Code generated by cmd/cgo -godefs; DO NOT EDIT.
  2. // cgo -godefs defs_freebsd.go
  3. package ipv4
  4. const (
  5. sizeofSockaddrStorage = 0x80
  6. sizeofSockaddrInet = 0x10
  7. sizeofIPMreq = 0x8
  8. sizeofIPMreqSource = 0xc
  9. sizeofGroupReq = 0x88
  10. sizeofGroupSourceReq = 0x108
  11. )
  12. type sockaddrStorage struct {
  13. Len uint8
  14. Family uint8
  15. X__ss_pad1 [6]uint8
  16. X__ss_align int64
  17. X__ss_pad2 [112]uint8
  18. }
  19. type sockaddrInet struct {
  20. Len uint8
  21. Family uint8
  22. Port uint16
  23. Addr [4]byte /* in_addr */
  24. Zero [8]uint8
  25. }
  26. type ipMreq struct {
  27. Multiaddr [4]byte /* in_addr */
  28. Interface [4]byte /* in_addr */
  29. }
  30. type ipMreqSource struct {
  31. Multiaddr [4]byte /* in_addr */
  32. Sourceaddr [4]byte /* in_addr */
  33. Interface [4]byte /* in_addr */
  34. }
  35. type groupReq struct {
  36. Interface uint32
  37. Group sockaddrStorage
  38. }
  39. type groupSourceReq struct {
  40. Interface uint32
  41. Group sockaddrStorage
  42. Source sockaddrStorage
  43. }