zsys_linux_mipsle.go 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. // Code generated by cmd/cgo -godefs; DO NOT EDIT.
  2. // cgo -godefs defs_linux.go
  3. package ipv6
  4. const (
  5. sizeofKernelSockaddrStorage = 0x80
  6. sizeofSockaddrInet6 = 0x1c
  7. sizeofInet6Pktinfo = 0x14
  8. sizeofIPv6Mtuinfo = 0x20
  9. sizeofIPv6FlowlabelReq = 0x20
  10. sizeofIPv6Mreq = 0x14
  11. sizeofGroupReq = 0x84
  12. sizeofGroupSourceReq = 0x104
  13. sizeofICMPv6Filter = 0x20
  14. )
  15. type kernelSockaddrStorage struct {
  16. Family uint16
  17. X__data [126]int8
  18. }
  19. type sockaddrInet6 struct {
  20. Family uint16
  21. Port uint16
  22. Flowinfo uint32
  23. Addr [16]byte /* in6_addr */
  24. Scope_id uint32
  25. }
  26. type inet6Pktinfo struct {
  27. Addr [16]byte /* in6_addr */
  28. Ifindex int32
  29. }
  30. type ipv6Mtuinfo struct {
  31. Addr sockaddrInet6
  32. Mtu uint32
  33. }
  34. type ipv6FlowlabelReq struct {
  35. Dst [16]byte /* in6_addr */
  36. Label uint32
  37. Action uint8
  38. Share uint8
  39. Flags uint16
  40. Expires uint16
  41. Linger uint16
  42. X__flr_pad uint32
  43. }
  44. type ipv6Mreq struct {
  45. Multiaddr [16]byte /* in6_addr */
  46. Ifindex int32
  47. }
  48. type groupReq struct {
  49. Interface uint32
  50. Group kernelSockaddrStorage
  51. }
  52. type groupSourceReq struct {
  53. Interface uint32
  54. Group kernelSockaddrStorage
  55. Source kernelSockaddrStorage
  56. }
  57. type icmpv6Filter struct {
  58. Data [8]uint32
  59. }