~ubuntu-branches/ubuntu/trusty/juju-core/trusty-proposed

« back to all changes in this revision

Viewing changes to src/golang.org/x/net/ipv4/zsys_linux_amd64.go

  • Committer: Package Import Robot
  • Author(s): Robie Basak
  • Date: 2015-07-15 13:09:07 UTC
  • mfrom: (35.1.15 wily-proposed)
  • Revision ID: package-import@ubuntu.com-20150715130907-wqak1zpebzzdvy3q
Tags: 1.22.6-0ubuntu1~14.04.1
* No change backport to 14.04 (LP: #1469744). This results in the
  following packaging delta from the previous 1.20.11-0ubuntu0.14.04.1
  in trusty-updates:
  - distro-info added and libgo5 removed from Build-Depends.
  - Standards-Version bumped.
  - cloud-image-utils | cloud-utils added to juju-local Depends.
  - d/copyright updated.
  - dep8 tests updated.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Created by cgo -godefs - DO NOT EDIT
 
2
// cgo -godefs defs_linux.go
 
3
 
 
4
package ipv4
 
5
 
 
6
const (
 
7
        sysIP_TOS             = 0x1
 
8
        sysIP_TTL             = 0x2
 
9
        sysIP_HDRINCL         = 0x3
 
10
        sysIP_OPTIONS         = 0x4
 
11
        sysIP_ROUTER_ALERT    = 0x5
 
12
        sysIP_RECVOPTS        = 0x6
 
13
        sysIP_RETOPTS         = 0x7
 
14
        sysIP_PKTINFO         = 0x8
 
15
        sysIP_PKTOPTIONS      = 0x9
 
16
        sysIP_MTU_DISCOVER    = 0xa
 
17
        sysIP_RECVERR         = 0xb
 
18
        sysIP_RECVTTL         = 0xc
 
19
        sysIP_RECVTOS         = 0xd
 
20
        sysIP_MTU             = 0xe
 
21
        sysIP_FREEBIND        = 0xf
 
22
        sysIP_TRANSPARENT     = 0x13
 
23
        sysIP_RECVRETOPTS     = 0x7
 
24
        sysIP_ORIGDSTADDR     = 0x14
 
25
        sysIP_RECVORIGDSTADDR = 0x14
 
26
        sysIP_MINTTL          = 0x15
 
27
        sysIP_NODEFRAG        = 0x16
 
28
        sysIP_UNICAST_IF      = 0x32
 
29
 
 
30
        sysIP_MULTICAST_IF           = 0x20
 
31
        sysIP_MULTICAST_TTL          = 0x21
 
32
        sysIP_MULTICAST_LOOP         = 0x22
 
33
        sysIP_ADD_MEMBERSHIP         = 0x23
 
34
        sysIP_DROP_MEMBERSHIP        = 0x24
 
35
        sysIP_UNBLOCK_SOURCE         = 0x25
 
36
        sysIP_BLOCK_SOURCE           = 0x26
 
37
        sysIP_ADD_SOURCE_MEMBERSHIP  = 0x27
 
38
        sysIP_DROP_SOURCE_MEMBERSHIP = 0x28
 
39
        sysIP_MSFILTER               = 0x29
 
40
        sysMCAST_JOIN_GROUP          = 0x2a
 
41
        sysMCAST_LEAVE_GROUP         = 0x2d
 
42
        sysMCAST_JOIN_SOURCE_GROUP   = 0x2e
 
43
        sysMCAST_LEAVE_SOURCE_GROUP  = 0x2f
 
44
        sysMCAST_BLOCK_SOURCE        = 0x2b
 
45
        sysMCAST_UNBLOCK_SOURCE      = 0x2c
 
46
        sysMCAST_MSFILTER            = 0x30
 
47
        sysIP_MULTICAST_ALL          = 0x31
 
48
 
 
49
        sysICMP_FILTER = 0x1
 
50
 
 
51
        sysSO_EE_ORIGIN_NONE         = 0x0
 
52
        sysSO_EE_ORIGIN_LOCAL        = 0x1
 
53
        sysSO_EE_ORIGIN_ICMP         = 0x2
 
54
        sysSO_EE_ORIGIN_ICMP6        = 0x3
 
55
        sysSO_EE_ORIGIN_TXSTATUS     = 0x4
 
56
        sysSO_EE_ORIGIN_TIMESTAMPING = 0x4
 
57
 
 
58
        sysSizeofKernelSockaddrStorage = 0x80
 
59
        sysSizeofSockaddrInet          = 0x10
 
60
        sysSizeofInetPktinfo           = 0xc
 
61
        sysSizeofSockExtendedErr       = 0x10
 
62
 
 
63
        sysSizeofIPMreq         = 0x8
 
64
        sysSizeofIPMreqn        = 0xc
 
65
        sysSizeofIPMreqSource   = 0xc
 
66
        sysSizeofGroupReq       = 0x88
 
67
        sysSizeofGroupSourceReq = 0x108
 
68
 
 
69
        sysSizeofICMPFilter = 0x4
 
70
)
 
71
 
 
72
type sysKernelSockaddrStorage struct {
 
73
        Family  uint16
 
74
        X__data [126]int8
 
75
}
 
76
 
 
77
type sysSockaddrInet struct {
 
78
        Family uint16
 
79
        Port   uint16
 
80
        Addr   [4]byte /* in_addr */
 
81
        X__pad [8]uint8
 
82
}
 
83
 
 
84
type sysInetPktinfo struct {
 
85
        Ifindex  int32
 
86
        Spec_dst [4]byte /* in_addr */
 
87
        Addr     [4]byte /* in_addr */
 
88
}
 
89
 
 
90
type sysSockExtendedErr struct {
 
91
        Errno  uint32
 
92
        Origin uint8
 
93
        Type   uint8
 
94
        Code   uint8
 
95
        Pad    uint8
 
96
        Info   uint32
 
97
        Data   uint32
 
98
}
 
99
 
 
100
type sysIPMreq struct {
 
101
        Multiaddr [4]byte /* in_addr */
 
102
        Interface [4]byte /* in_addr */
 
103
}
 
104
 
 
105
type sysIPMreqn struct {
 
106
        Multiaddr [4]byte /* in_addr */
 
107
        Address   [4]byte /* in_addr */
 
108
        Ifindex   int32
 
109
}
 
110
 
 
111
type sysIPMreqSource struct {
 
112
        Multiaddr  uint32
 
113
        Interface  uint32
 
114
        Sourceaddr uint32
 
115
}
 
116
 
 
117
type sysGroupReq struct {
 
118
        Interface uint32
 
119
        Pad_cgo_0 [4]byte
 
120
        Group     sysKernelSockaddrStorage
 
121
}
 
122
 
 
123
type sysGroupSourceReq struct {
 
124
        Interface uint32
 
125
        Pad_cgo_0 [4]byte
 
126
        Group     sysKernelSockaddrStorage
 
127
        Source    sysKernelSockaddrStorage
 
128
}
 
129
 
 
130
type sysICMPFilter struct {
 
131
        Data uint32
 
132
}