...
1
2
3
4
5
6
7
8
9
10 package lif
11
12
19 import "C"
20
21 type sockaddrStorage C.struct_sockaddr_storage
22
23 const (
24 sysLIFC_NOXMIT = C.LIFC_NOXMIT
25 sysLIFC_EXTERNAL_SOURCE = C.LIFC_EXTERNAL_SOURCE
26 sysLIFC_TEMPORARY = C.LIFC_TEMPORARY
27 sysLIFC_ALLZONES = C.LIFC_ALLZONES
28 sysLIFC_UNDER_IPMP = C.LIFC_UNDER_IPMP
29 sysLIFC_ENABLED = C.LIFC_ENABLED
30 )
31
32 const (
33 sizeofLifnum = C.sizeof_struct_lifnum
34 sizeofLifreq = C.sizeof_struct_lifreq
35 sizeofLifconf = C.sizeof_struct_lifconf
36 sizeofLifIfinfoReq = C.sizeof_struct_lif_ifinfo_req
37 )
38
39 type lifnum C.struct_lifnum
40
41 type lifreq C.struct_lifreq
42
43 type lifconf C.struct_lifconf
44
45 type lifIfinfoReq C.struct_lif_ifinfo_req
46
View as plain text