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

Delta Between Two Patch Sets: src/pkg/syscall/types_openbsd.go

Issue 5348052: code review 5348052: runtime, syscall: convert from godefs to cgo (Closed)
Left Patch Set: diff -r daa8c6dc4c42 https://go.googlecode.com/hg/ Created 13 years, 4 months ago
Right Patch Set: diff -r 700ff7ef684f https://go.googlecode.com/hg Created 13 years, 4 months 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:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « src/pkg/syscall/types_linux.go ('k') | src/pkg/syscall/zerrors_darwin_386.go » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 // Copyright 2009 The Go Authors. All rights reserved. 1 // Copyright 2009 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 /* 5 /*
6 Input to cgo -godefs. See also mkerrors.sh and mkall.sh 6 Input to cgo -godefs. See also mkerrors.sh and mkall.sh
7 */ 7 */
8 8
9 // +build ignore 9 // +build ignore
10 10
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 ) 115 )
116 116
117 type Stat_t C.struct_stat 117 type Stat_t C.struct_stat
118 118
119 type Statfs_t C.struct_statfs 119 type Statfs_t C.struct_statfs
120 120
121 type Flock_t C.struct_flock 121 type Flock_t C.struct_flock
122 122
123 type Dirent C.struct_dirent 123 type Dirent C.struct_dirent
124 124
125 type Fsid C.fsid_t
126
125 // Sockets 127 // Sockets
126 128
127 type RawSockaddrInet4 C.struct_sockaddr_in 129 type RawSockaddrInet4 C.struct_sockaddr_in
128 130
129 type RawSockaddrInet6 C.struct_sockaddr_in6 131 type RawSockaddrInet6 C.struct_sockaddr_in6
130 132
131 type RawSockaddrUnix C.struct_sockaddr_un 133 type RawSockaddrUnix C.struct_sockaddr_un
132 134
133 type RawSockaddrDatalink C.struct_sockaddr_dl 135 type RawSockaddrDatalink C.struct_sockaddr_dl
134 136
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 type IfMsghdr C.struct_if_msghdr 197 type IfMsghdr C.struct_if_msghdr
196 198
197 type IfData C.struct_if_data 199 type IfData C.struct_if_data
198 200
199 type IfaMsghdr C.struct_ifa_msghdr 201 type IfaMsghdr C.struct_ifa_msghdr
200 202
201 type RtMsghdr C.struct_rt_msghdr 203 type RtMsghdr C.struct_rt_msghdr
202 204
203 type RtMetrics C.struct_rt_metrics 205 type RtMetrics C.struct_rt_metrics
204 206
207 type Mclpool C.struct_mclpool
208
205 // Berkeley packet filter 209 // Berkeley packet filter
206 210
207 const ( 211 const (
208 SizeofBpfVersion = C.sizeof_struct_bpf_version 212 SizeofBpfVersion = C.sizeof_struct_bpf_version
209 SizeofBpfStat = C.sizeof_struct_bpf_stat 213 SizeofBpfStat = C.sizeof_struct_bpf_stat
210 SizeofBpfProgram = C.sizeof_struct_bpf_program 214 SizeofBpfProgram = C.sizeof_struct_bpf_program
211 SizeofBpfInsn = C.sizeof_struct_bpf_insn 215 SizeofBpfInsn = C.sizeof_struct_bpf_insn
212 SizeofBpfHdr = C.sizeof_struct_bpf_hdr 216 SizeofBpfHdr = C.sizeof_struct_bpf_hdr
213 ) 217 )
214 218
215 type BpfVersion C.struct_bpf_version 219 type BpfVersion C.struct_bpf_version
216 220
217 type BpfStat C.struct_bpf_stat 221 type BpfStat C.struct_bpf_stat
218 222
219 type BpfProgram C.struct_bpf_program 223 type BpfProgram C.struct_bpf_program
220 224
221 type BpfInsn C.struct_bpf_insn 225 type BpfInsn C.struct_bpf_insn
222 226
223 type BpfHdr C.struct_bpf_hdr 227 type BpfHdr C.struct_bpf_hdr
224 228
225 type BpfTimeval C.struct_bpf_timeval 229 type BpfTimeval C.struct_bpf_timeval
LEFTRIGHT

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