Source file src/vendor/golang.org/x/net/lif/zsys_solaris_amd64.go

     1  // Code generated by cmd/cgo -godefs; DO NOT EDIT.
     2  // cgo -godefs defs_solaris.go
     3  
     4  package lif
     5  
     6  type sockaddrStorage struct {
     7  	Family     uint16
     8  	X_ss_pad1  [6]int8
     9  	X_ss_align float64
    10  	X_ss_pad2  [240]int8
    11  }
    12  
    13  const (
    14  	sysLIFC_NOXMIT          = 0x1
    15  	sysLIFC_EXTERNAL_SOURCE = 0x2
    16  	sysLIFC_TEMPORARY       = 0x4
    17  	sysLIFC_ALLZONES        = 0x8
    18  	sysLIFC_UNDER_IPMP      = 0x10
    19  	sysLIFC_ENABLED         = 0x20
    20  )
    21  
    22  const (
    23  	sizeofLifnum       = 0xc
    24  	sizeofLifreq       = 0x178
    25  	sizeofLifconf      = 0x18
    26  	sizeofLifIfinfoReq = 0x10
    27  )
    28  
    29  type lifnum struct {
    30  	Family    uint16
    31  	Pad_cgo_0 [2]byte
    32  	Flags     int32
    33  	Count     int32
    34  }
    35  
    36  type lifreq struct {
    37  	Name   [32]int8
    38  	Lifru1 [4]byte
    39  	Type   uint32
    40  	Lifru  [336]byte
    41  }
    42  
    43  type lifconf struct {
    44  	Family    uint16
    45  	Pad_cgo_0 [2]byte
    46  	Flags     int32
    47  	Len       int32
    48  	Pad_cgo_1 [4]byte
    49  	Lifcu     [8]byte
    50  }
    51  
    52  type lifIfinfoReq struct {
    53  	Maxhops      uint8
    54  	Pad_cgo_0    [3]byte
    55  	Reachtime    uint32
    56  	Reachretrans uint32
    57  	Maxmtu       uint32
    58  }
    59  

View as plain text