vendor/golang.org/x/sys/unix/ztypes_solaris_amd64.go
changeset 251 1c52a0eeb952
parent 242 2a9ec03fe5a1
child 256 6d9efbef00a9
equal deleted inserted replaced
250:c040f992052f 251:1c52a0eeb952
     4 // +build amd64,solaris
     4 // +build amd64,solaris
     5 
     5 
     6 package unix
     6 package unix
     7 
     7 
     8 const (
     8 const (
     9 	sizeofPtr      = 0x8
     9 	SizeofPtr      = 0x8
    10 	sizeofShort    = 0x2
    10 	SizeofShort    = 0x2
    11 	sizeofInt      = 0x4
    11 	SizeofInt      = 0x4
    12 	sizeofLong     = 0x8
    12 	SizeofLong     = 0x8
    13 	sizeofLongLong = 0x8
    13 	SizeofLongLong = 0x8
    14 	PathMax        = 0x400
    14 	PathMax        = 0x400
    15 	MaxHostNameLen = 0x100
    15 	MaxHostNameLen = 0x100
    16 )
    16 )
    17 
    17 
    18 type (
    18 type (
   209 	Len   uint32
   209 	Len   uint32
   210 	Level int32
   210 	Level int32
   211 	Type  int32
   211 	Type  int32
   212 }
   212 }
   213 
   213 
       
   214 type Inet4Pktinfo struct {
       
   215 	Ifindex  uint32
       
   216 	Spec_dst [4]byte /* in_addr */
       
   217 	Addr     [4]byte /* in_addr */
       
   218 }
       
   219 
   214 type Inet6Pktinfo struct {
   220 type Inet6Pktinfo struct {
   215 	Addr    [16]byte /* in6_addr */
   221 	Addr    [16]byte /* in6_addr */
   216 	Ifindex uint32
   222 	Ifindex uint32
   217 }
   223 }
   218 
   224 
   234 	SizeofLinger           = 0x8
   240 	SizeofLinger           = 0x8
   235 	SizeofIPMreq           = 0x8
   241 	SizeofIPMreq           = 0x8
   236 	SizeofIPv6Mreq         = 0x14
   242 	SizeofIPv6Mreq         = 0x14
   237 	SizeofMsghdr           = 0x30
   243 	SizeofMsghdr           = 0x30
   238 	SizeofCmsghdr          = 0xc
   244 	SizeofCmsghdr          = 0xc
       
   245 	SizeofInet4Pktinfo     = 0xc
   239 	SizeofInet6Pktinfo     = 0x14
   246 	SizeofInet6Pktinfo     = 0x14
   240 	SizeofIPv6MTUInfo      = 0x24
   247 	SizeofIPv6MTUInfo      = 0x24
   241 	SizeofICMPv6Filter     = 0x20
   248 	SizeofICMPv6Filter     = 0x20
   242 )
   249 )
   243 
   250