equal
deleted
inserted
replaced
|
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 |
|
7 package unix |
|
8 |
|
9 const ( |
|
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 |
|
22 type strbuf struct { |
|
23 Maxlen int32 |
|
24 Len int32 |
|
25 Buf *int8 |
|
26 } |
|
27 |
|
28 type Strioctl struct { |
|
29 Cmd int32 |
|
30 Timout int32 |
|
31 Len int32 |
|
32 Dp *int8 |
|
33 } |
|
34 |
|
35 type Lifreq struct { |
|
36 Name [32]int8 |
|
37 Lifru1 [4]byte |
|
38 Type uint32 |
|
39 Lifru [336]byte |
|
40 } |