zsys_freebsd_arm.go 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. // Code generated by cmd/cgo -godefs; DO NOT EDIT.
  2. // cgo -godefs defs_freebsd.go
  3. package ipv6
  4. const (
  5. sizeofSockaddrStorage = 0x80
  6. sizeofSockaddrInet6 = 0x1c
  7. sizeofInet6Pktinfo = 0x14
  8. sizeofIPv6Mtuinfo = 0x20
  9. sizeofIPv6Mreq = 0x14
  10. sizeofGroupReq = 0x88
  11. sizeofGroupSourceReq = 0x108
  12. sizeofICMPv6Filter = 0x20
  13. )
  14. type sockaddrStorage struct {
  15. Len uint8
  16. Family uint8
  17. X__ss_pad1 [6]int8
  18. X__ss_align int64
  19. X__ss_pad2 [112]int8
  20. }
  21. type sockaddrInet6 struct {
  22. Len uint8
  23. Family uint8
  24. Port uint16
  25. Flowinfo uint32
  26. Addr [16]byte /* in6_addr */
  27. Scope_id uint32
  28. }
  29. type inet6Pktinfo struct {
  30. Addr [16]byte /* in6_addr */
  31. Ifindex uint32
  32. }
  33. type ipv6Mtuinfo struct {
  34. Addr sockaddrInet6
  35. Mtu uint32
  36. }
  37. type ipv6Mreq struct {
  38. Multiaddr [16]byte /* in6_addr */
  39. Interface uint32
  40. }
  41. type groupReq struct {
  42. Interface uint32
  43. Pad_cgo_0 [4]byte
  44. Group sockaddrStorage
  45. }
  46. type groupSourceReq struct {
  47. Interface uint32
  48. Pad_cgo_0 [4]byte
  49. Group sockaddrStorage
  50. Source sockaddrStorage
  51. }
  52. type icmpv6Filter struct {
  53. Filt [8]uint32
  54. }