vendor/golang.org/x/sys/unix/ztypes_openbsd_arm.go
changeset 265 05c40b36d3b2
parent 260 445e01aede7e
equal deleted inserted replaced
264:8f478162d991 265:05c40b36d3b2
   373 	Rtt      uint32
   373 	Rtt      uint32
   374 	Rttvar   uint32
   374 	Rttvar   uint32
   375 	Pad      uint32
   375 	Pad      uint32
   376 }
   376 }
   377 
   377 
   378 type Mclpool struct{}
       
   379 
       
   380 const (
   378 const (
   381 	SizeofBpfVersion = 0x4
   379 	SizeofBpfVersion = 0x4
   382 	SizeofBpfStat    = 0x8
   380 	SizeofBpfStat    = 0x8
   383 	SizeofBpfProgram = 0x8
   381 	SizeofBpfProgram = 0x8
   384 	SizeofBpfInsn    = 0x8
   382 	SizeofBpfInsn    = 0x8
   385 	SizeofBpfHdr     = 0x14
   383 	SizeofBpfHdr     = 0x18
   386 )
   384 )
   387 
   385 
   388 type BpfVersion struct {
   386 type BpfVersion struct {
   389 	Major uint16
   387 	Major uint16
   390 	Minor uint16
   388 	Minor uint16
   410 type BpfHdr struct {
   408 type BpfHdr struct {
   411 	Tstamp  BpfTimeval
   409 	Tstamp  BpfTimeval
   412 	Caplen  uint32
   410 	Caplen  uint32
   413 	Datalen uint32
   411 	Datalen uint32
   414 	Hdrlen  uint16
   412 	Hdrlen  uint16
   415 	_       [2]byte
   413 	Ifidx   uint16
       
   414 	Flowid  uint16
       
   415 	Flags   uint8
       
   416 	Drops   uint8
   416 }
   417 }
   417 
   418 
   418 type BpfTimeval struct {
   419 type BpfTimeval struct {
   419 	Sec  uint32
   420 	Sec  uint32
   420 	Usec uint32
   421 	Usec uint32