ztypes_illumos_amd64.go 607 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // cgo -godefs types_illumos.go | go run mkpost.go
  2. // Code generated by the command above; see README.md. DO NOT EDIT.
  3. //go:build amd64 && illumos
  4. // +build amd64,illumos
  5. package unix
  6. const (
  7. TUNNEWPPA = 0x540001
  8. TUNSETPPA = 0x540002
  9. I_STR = 0x5308
  10. I_POP = 0x5303
  11. I_PUSH = 0x5302
  12. I_PLINK = 0x5316
  13. I_PUNLINK = 0x5317
  14. IF_UNITSEL = -0x7ffb8cca
  15. )
  16. type strbuf struct {
  17. Maxlen int32
  18. Len int32
  19. Buf *int8
  20. }
  21. type Strioctl struct {
  22. Cmd int32
  23. Timout int32
  24. Len int32
  25. Dp *int8
  26. }
  27. type Lifreq struct {
  28. Name [32]int8
  29. Lifru1 [4]byte
  30. Type uint32
  31. Lifru [336]byte
  32. }