zsys_freebsd_arm.go 971 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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]int8
  16. X__ss_align int64
  17. X__ss_pad2 [112]int8
  18. }
  19. type sockaddrInet struct {
  20. Len uint8
  21. Family uint8
  22. Port uint16
  23. Addr [4]byte /* in_addr */
  24. Zero [8]int8
  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. Pad_cgo_0 [4]byte
  38. Group sockaddrStorage
  39. }
  40. type groupSourceReq struct {
  41. Interface uint32
  42. Pad_cgo_0 [4]byte
  43. Group sockaddrStorage
  44. Source sockaddrStorage
  45. }