Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(236)

Side by Side Diff: src/pkg/syscall/ztypes_freebsd_386.go

Issue 4119053: code review 4119053: syscall: add SetsockoptIpMreq (Closed)
Patch Set: code review 4119053: syscall: add SetsockoptIpMreq Created 13 years, 1 month ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 // godefs -gsyscall -f-m32 types_freebsd.c 1 // godefs -gsyscall -f-m32 types_freebsd.c
2 2
3 // MACHINE GENERATED - DO NOT EDIT. 3 // MACHINE GENERATED - DO NOT EDIT.
4 4
5 package syscall 5 package syscall
6 6
7 // Constants 7 // Constants
8 const ( 8 const (
9 sizeofPtr = 0x4 9 sizeofPtr = 0x4
10 sizeofShort = 0x2 10 sizeofShort = 0x2
(...skipping 13 matching lines...) Expand all
24 S_ISGID = 0x400 24 S_ISGID = 0x400
25 S_ISVTX = 0x200 25 S_ISVTX = 0x200
26 S_IRUSR = 0x100 26 S_IRUSR = 0x100
27 S_IWUSR = 0x80 27 S_IWUSR = 0x80
28 S_IXUSR = 0x40 28 S_IXUSR = 0x40
29 SizeofSockaddrInet4 = 0x10 29 SizeofSockaddrInet4 = 0x10
30 SizeofSockaddrInet6 = 0x1c 30 SizeofSockaddrInet6 = 0x1c
31 SizeofSockaddrAny = 0x6c 31 SizeofSockaddrAny = 0x6c
32 SizeofSockaddrUnix = 0x6a 32 SizeofSockaddrUnix = 0x6a
33 SizeofLinger = 0x8 33 SizeofLinger = 0x8
34 SizeofIpMreq = 0x8
34 SizeofMsghdr = 0x1c 35 SizeofMsghdr = 0x1c
35 SizeofCmsghdr = 0xc 36 SizeofCmsghdr = 0xc
36 PTRACE_TRACEME = 0 37 PTRACE_TRACEME = 0
37 PTRACE_CONT = 0x7 38 PTRACE_CONT = 0x7
38 PTRACE_KILL = 0x8 39 PTRACE_KILL = 0x8
39 ) 40 )
40 41
41 // Types 42 // Types
42 43
43 type _C_short int16 44 type _C_short int16
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 Atimespec Timespec 96 Atimespec Timespec
96 Mtimespec Timespec 97 Mtimespec Timespec
97 Ctimespec Timespec 98 Ctimespec Timespec
98 Size int64 99 Size int64
99 Blocks int64 100 Blocks int64
100 Blksize uint32 101 Blksize uint32
101 Flags uint32 102 Flags uint32
102 Gen uint32 103 Gen uint32
103 Lspare int32 104 Lspare int32
104 Birthtimespec Timespec 105 Birthtimespec Timespec
105 » Pad0 uint32 106 » Pad_godefs_0 uint32
106 » Pad1 uint32 107 » Pad_godefs_1 uint32
107 } 108 }
108 109
109 type Statfs_t struct { 110 type Statfs_t struct {
110 Version uint32 111 Version uint32
111 Type uint32 112 Type uint32
112 Flags uint64 113 Flags uint64
113 Bsize uint64 114 Bsize uint64
114 Iosize uint64 115 Iosize uint64
115 Blocks uint64 116 Blocks uint64
116 Bfree uint64 117 Bfree uint64
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 type Linger struct { 188 type Linger struct {
188 Onoff int32 189 Onoff int32
189 Linger int32 190 Linger int32
190 } 191 }
191 192
192 type Iovec struct { 193 type Iovec struct {
193 Base *byte 194 Base *byte
194 Len uint32 195 Len uint32
195 } 196 }
196 197
198 type IpMreq struct {
199 Multiaddr [4]byte /* in_addr */
200 Interface [4]byte /* in_addr */
201 }
202
197 type Msghdr struct { 203 type Msghdr struct {
198 Name *byte 204 Name *byte
199 Namelen uint32 205 Namelen uint32
200 Iov *Iovec 206 Iov *Iovec
201 Iovlen int32 207 Iovlen int32
202 Control *byte 208 Control *byte
203 Controllen uint32 209 Controllen uint32
204 Flags int32 210 Flags int32
205 } 211 }
206 212
207 type Cmsghdr struct { 213 type Cmsghdr struct {
208 Len uint32 214 Len uint32
209 Level int32 215 Level int32
210 Type int32 216 Type int32
211 } 217 }
212 218
213 type Kevent_t struct { 219 type Kevent_t struct {
214 Ident uint32 220 Ident uint32
215 Filter int16 221 Filter int16
216 Flags uint16 222 Flags uint16
217 Fflags uint32 223 Fflags uint32
218 Data int32 224 Data int32
219 Udata *byte 225 Udata *byte
220 } 226 }
221 227
222 type FdSet struct { 228 type FdSet struct {
223 X__fds_bits [32]uint32 229 X__fds_bits [32]uint32
224 } 230 }
OLDNEW

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b