zsys_linux_mips64.go 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. // Code generated by cmd/cgo -godefs; DO NOT EDIT.
  2. // cgo -godefs defs_linux.go
  3. package ipv4
  4. const (
  5. sizeofKernelSockaddrStorage = 0x80
  6. sizeofSockaddrInet = 0x10
  7. sizeofInetPktinfo = 0xc
  8. sizeofSockExtendedErr = 0x10
  9. sizeofIPMreq = 0x8
  10. sizeofIPMreqSource = 0xc
  11. sizeofGroupReq = 0x88
  12. sizeofGroupSourceReq = 0x108
  13. sizeofICMPFilter = 0x4
  14. )
  15. type kernelSockaddrStorage struct {
  16. Family uint16
  17. X__data [126]int8
  18. }
  19. type sockaddrInet struct {
  20. Family uint16
  21. Port uint16
  22. Addr [4]byte /* in_addr */
  23. X__pad [8]uint8
  24. }
  25. type inetPktinfo struct {
  26. Ifindex int32
  27. Spec_dst [4]byte /* in_addr */
  28. Addr [4]byte /* in_addr */
  29. }
  30. type sockExtendedErr struct {
  31. Errno uint32
  32. Origin uint8
  33. Type uint8
  34. Code uint8
  35. Pad uint8
  36. Info uint32
  37. Data uint32
  38. }
  39. type ipMreq struct {
  40. Multiaddr [4]byte /* in_addr */
  41. Interface [4]byte /* in_addr */
  42. }
  43. type ipMreqSource struct {
  44. Multiaddr uint32
  45. Interface uint32
  46. Sourceaddr uint32
  47. }
  48. type groupReq struct {
  49. Interface uint32
  50. Pad_cgo_0 [4]byte
  51. Group kernelSockaddrStorage
  52. }
  53. type groupSourceReq struct {
  54. Interface uint32
  55. Pad_cgo_0 [4]byte
  56. Group kernelSockaddrStorage
  57. Source kernelSockaddrStorage
  58. }
  59. type icmpFilter struct {
  60. Data uint32
  61. }