~ubuntu-branches/ubuntu/vivid/golang/vivid

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Serge Hallyn
  • Date: 2014-11-18 15:12:26 UTC
  • mfrom: (14.2.12 vivid-proposed)
  • Revision ID: package-import@ubuntu.com-20141118151226-zug7vn93mn3dtiz3
Tags: 2:1.3.2-1ubuntu1
* Merge from Debian unstable.  Remaining changes:
  - 016-armhf-elf-header.patch: Use correct ELF header for armhf binaries.
  - Support co-installability with gccgo-go tool:
    - d/rules,golang-go.install: Rename bin/go -> bin/golang-go
    - d/golang-go.{postinst,prerm}: Install/remove /usr/bin/go using
      alternatives.
  - d/copyright: Amendments for full compiliance with copyright format.
  - d/control: Demote golang-go.tools to Suggests to support Ubuntu MIR.
  - dropped patches (now upstream):
    - d/p/issue27650045_40001_50001.diff
    - d/p/issue28050043_60001_70001.diff
    - d/p/issue54790044_100001_110001.diff

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
type _Gid_t uint32
56
56
 
57
57
const (
58
 
        O_CLOEXEC = 0
59
 
)
60
 
 
61
 
const (
62
58
        S_IFMT   = 0xf000
63
59
        S_IFIFO  = 0x1000
64
60
        S_IFCHR  = 0x2000
284
280
}
285
281
 
286
282
const (
 
283
        sizeofIfMsghdr         = 0xa8
287
284
        SizeofIfMsghdr         = 0xa8
 
285
        sizeofIfData           = 0x98
288
286
        SizeofIfData           = 0x98
289
287
        SizeofIfaMsghdr        = 0x14
290
288
        SizeofIfmaMsghdr       = 0x10
293
291
        SizeofRtMetrics        = 0x70
294
292
)
295
293
 
 
294
type ifMsghdr struct {
 
295
        Msglen    uint16
 
296
        Version   uint8
 
297
        Type      uint8
 
298
        Addrs     int32
 
299
        Flags     int32
 
300
        Index     uint16
 
301
        Pad_cgo_0 [2]byte
 
302
        Data      ifData
 
303
}
 
304
 
296
305
type IfMsghdr struct {
297
306
        Msglen    uint16
298
307
        Version   uint8
304
313
        Data      IfData
305
314
}
306
315
 
 
316
type ifData struct {
 
317
        Type        uint8
 
318
        Physical    uint8
 
319
        Addrlen     uint8
 
320
        Hdrlen      uint8
 
321
        Link_state  uint8
 
322
        Vhid        uint8
 
323
        Baudrate_pf uint8
 
324
        Datalen     uint8
 
325
        Mtu         uint64
 
326
        Metric      uint64
 
327
        Baudrate    uint64
 
328
        Ipackets    uint64
 
329
        Ierrors     uint64
 
330
        Opackets    uint64
 
331
        Oerrors     uint64
 
332
        Collisions  uint64
 
333
        Ibytes      uint64
 
334
        Obytes      uint64
 
335
        Imcasts     uint64
 
336
        Omcasts     uint64
 
337
        Iqdrops     uint64
 
338
        Noproto     uint64
 
339
        Hwassist    uint64
 
340
        Epoch       int64
 
341
        Lastchange  Timeval
 
342
}
 
343
 
307
344
type IfData struct {
308
345
        Type        uint8
309
346
        Physical    uint8
446
483
        User_gen   uint32
447
484
        X_bzh_pad  [5]uint32
448
485
}
 
486
 
 
487
type Termios struct {
 
488
        Iflag  uint32
 
489
        Oflag  uint32
 
490
        Cflag  uint32
 
491
        Lflag  uint32
 
492
        Cc     [20]uint8
 
493
        Ispeed uint32
 
494
        Ospeed uint32
 
495
}