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