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_PLINK = 0x5316 17 I_PUNLINK = 0x5317 18 19 IF_UNITSEL = -0x7ffb8cca 20) 21 22type strbuf struct { 23 Maxlen int32 24 Len int32 25 Buf *int8 26} 27 28type Strioctl struct { 29 Cmd int32 30 Timout int32 31 Len int32 32 Dp *int8 33} 34 35type Lifreq struct { 36 Name [32]int8 37 Lifru1 [4]byte 38 Type uint32 39 Lifru [336]byte 40} 41