~john-koepi/ubuntu/trusty/golang/default

« back to all changes in this revision

Viewing changes to src/pkg/syscall/ztypes_linux_amd64.go

  • Committer: Bazaar Package Importer
  • Author(s): Ondřej Surý
  • Date: 2011-08-03 17:04:59 UTC
  • mfrom: (14.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20110803170459-wzd99m3567y80ila
Tags: 1:59-1
* Imported Upstream version 59
* Refresh patches to a new release
* Fix FTBFS on ARM (Closes: #634270)
* Update version.bash to work with Debian packaging and not hg
  repository

Show diffs side-by-side

added added

removed removed

Lines of Context:
100
100
        SizeofIfAddrmsg         = 0x8
101
101
        SizeofRtmsg             = 0xc
102
102
        SizeofRtNexthop         = 0x8
 
103
        SizeofSockFilter        = 0x8
 
104
        SizeofSockFprog         = 0x10
103
105
        SizeofInotifyEvent      = 0x10
104
106
)
105
107
 
402
404
        Ifindex int32
403
405
}
404
406
 
 
407
type SockFilter struct {
 
408
        Code uint16
 
409
        Jt   uint8
 
410
        Jf   uint8
 
411
        K    uint32
 
412
}
 
413
 
 
414
type SockFprog struct {
 
415
        Len          uint16
 
416
        Pad_godefs_0 [6]byte
 
417
        Filter       *SockFilter
 
418
}
 
419
 
405
420
type InotifyEvent struct {
406
421
        Wd     int32
407
422
        Mask   uint32