Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

43 linhas
647 B

  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_LINK = 0x530c
  13. I_UNLINK = 0x530d
  14. I_PLINK = 0x5316
  15. I_PUNLINK = 0x5317
  16. IF_UNITSEL = -0x7ffb8cca
  17. )
  18. type strbuf struct {
  19. Maxlen int32
  20. Len int32
  21. Buf *int8
  22. }
  23. type Strioctl struct {
  24. Cmd int32
  25. Timout int32
  26. Len int32
  27. Dp *int8
  28. }
  29. type Lifreq struct {
  30. Name [32]int8
  31. Lifru1 [4]byte
  32. Type uint32
  33. Lifru [336]byte
  34. }