Debian Codegraph @

crit/images/tcp-stream/tcp-stream.pb.go

raw symbols SCIP
1 // SPDX-License-Identifier: MIT
2
3 // Code generated by protoc-gen-go. DO NOT EDIT.
4 // versions:
5 // protoc-gen-go v1.30.0
6 // protoc v4.23.4
7 // source: tcp-stream.proto
8
9 package tcp_stream
10
11 import (
12 _ "github.com/checkpoint-restore/go-criu/v7/crit/images/opts"
13 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
14 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
15 reflect "reflect"
16 sync "sync"
17 )
18
19 const (
20 // Verify that this generated code is sufficiently up-to-date.
21 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
22 // Verify that runtime/protoimpl is sufficiently up-to-date.
23 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
24 )
25
26 type TcpStreamEntry struct {
27 state protoimpl.MessageState
28 sizeCache protoimpl.SizeCache
29 unknownFields protoimpl.UnknownFields
30
31 InqLen *uint32 `protobuf:"varint,1,req,name=inq_len,json=inqLen" json:"inq_len,omitempty"`
32 InqSeq *uint32 `protobuf:"varint,2,req,name=inq_seq,json=inqSeq" json:"inq_seq,omitempty"`
33 OutqLen *uint32 `protobuf:"varint,3,req,name=outq_len,json=outqLen" json:"outq_len,omitempty"` // unsent and sent data in the send queue
34 OutqSeq *uint32 `protobuf:"varint,4,req,name=outq_seq,json=outqSeq" json:"outq_seq,omitempty"`
35 OptMask *uint32 `protobuf:"varint,5,req,name=opt_mask,json=optMask" json:"opt_mask,omitempty"` // TCPI_OPT_ bits
36 SndWscale *uint32 `protobuf:"varint,6,req,name=snd_wscale,json=sndWscale" json:"snd_wscale,omitempty"`
37 MssClamp *uint32 `protobuf:"varint,7,req,name=mss_clamp,json=mssClamp" json:"mss_clamp,omitempty"`
38 RcvWscale *uint32 `protobuf:"varint,8,opt,name=rcv_wscale,json=rcvWscale" json:"rcv_wscale,omitempty"`
39 Timestamp *uint32 `protobuf:"varint,9,opt,name=timestamp" json:"timestamp,omitempty"`
40 Cork *bool `protobuf:"varint,10,opt,name=cork" json:"cork,omitempty"`
41 Nodelay *bool `protobuf:"varint,11,opt,name=nodelay" json:"nodelay,omitempty"`
42 UnsqLen *uint32 `protobuf:"varint,12,opt,name=unsq_len,json=unsqLen" json:"unsq_len,omitempty"` // unsent data in the send queue
43 SndWl1 *uint32 `protobuf:"varint,13,opt,name=snd_wl1,json=sndWl1" json:"snd_wl1,omitempty"`
44 SndWnd *uint32 `protobuf:"varint,14,opt,name=snd_wnd,json=sndWnd" json:"snd_wnd,omitempty"`
45 MaxWindow *uint32 `protobuf:"varint,15,opt,name=max_window,json=maxWindow" json:"max_window,omitempty"`
46 RcvWnd *uint32 `protobuf:"varint,16,opt,name=rcv_wnd,json=rcvWnd" json:"rcv_wnd,omitempty"`
47 RcvWup *uint32 `protobuf:"varint,17,opt,name=rcv_wup,json=rcvWup" json:"rcv_wup,omitempty"`
48 }
49
50 func (x *TcpStreamEntry) Reset() {
51 *x = TcpStreamEntry{}
52 if protoimpl.UnsafeEnabled {
53 mi := &file_tcp_stream_proto_msgTypes[0]
54 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
55 ms.StoreMessageInfo(mi)
56 }
57 }
58
59 func (x *TcpStreamEntry) String() string {
60 return protoimpl.X.MessageStringOf(x)
61 }
62
63 func (*TcpStreamEntry) ProtoMessage() {}
64
65 func (x *TcpStreamEntry) ProtoReflect() protoreflect.Message {
66 mi := &file_tcp_stream_proto_msgTypes[0]
67 if protoimpl.UnsafeEnabled && x != nil {
68 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
69 if ms.LoadMessageInfo() == nil {
70 ms.StoreMessageInfo(mi)
71 }
72 return ms
73 }
74 return mi.MessageOf(x)
75 }
76
77 // Deprecated: Use TcpStreamEntry.ProtoReflect.Descriptor instead.
78 func (*TcpStreamEntry) Descriptor() ([]byte, []int) {
79 return file_tcp_stream_proto_rawDescGZIP(), []int{0}
80 }
81
82 func (x *TcpStreamEntry) GetInqLen() uint32 {
83 if x != nil && x.InqLen != nil {
84 return *x.InqLen
85 }
86 return 0
87 }
88
89 func (x *TcpStreamEntry) GetInqSeq() uint32 {
90 if x != nil && x.InqSeq != nil {
91 return *x.InqSeq
92 }
93 return 0
94 }
95
96 func (x *TcpStreamEntry) GetOutqLen() uint32 {
97 if x != nil && x.OutqLen != nil {
98 return *x.OutqLen
99 }
100 return 0
101 }
102
103 func (x *TcpStreamEntry) GetOutqSeq() uint32 {
104 if x != nil && x.OutqSeq != nil {
105 return *x.OutqSeq
106 }
107 return 0
108 }
109
110 func (x *TcpStreamEntry) GetOptMask() uint32 {
111 if x != nil && x.OptMask != nil {
112 return *x.OptMask
113 }
114 return 0
115 }
116
117 func (x *TcpStreamEntry) GetSndWscale() uint32 {
118 if x != nil && x.SndWscale != nil {
119 return *x.SndWscale
120 }
121 return 0
122 }
123
124 func (x *TcpStreamEntry) GetMssClamp() uint32 {
125 if x != nil && x.MssClamp != nil {
126 return *x.MssClamp
127 }
128 return 0
129 }
130
131 func (x *TcpStreamEntry) GetRcvWscale() uint32 {
132 if x != nil && x.RcvWscale != nil {
133 return *x.RcvWscale
134 }
135 return 0
136 }
137
138 func (x *TcpStreamEntry) GetTimestamp() uint32 {
139 if x != nil && x.Timestamp != nil {
140 return *x.Timestamp
141 }
142 return 0
143 }
144
145 func (x *TcpStreamEntry) GetCork() bool {
146 if x != nil && x.Cork != nil {
147 return *x.Cork
148 }
149 return false
150 }
151
152 func (x *TcpStreamEntry) GetNodelay() bool {
153 if x != nil && x.Nodelay != nil {
154 return *x.Nodelay
155 }
156 return false
157 }
158
159 func (x *TcpStreamEntry) GetUnsqLen() uint32 {
160 if x != nil && x.UnsqLen != nil {
161 return *x.UnsqLen
162 }
163 return 0
164 }
165
166 func (x *TcpStreamEntry) GetSndWl1() uint32 {
167 if x != nil && x.SndWl1 != nil {
168 return *x.SndWl1
169 }
170 return 0
171 }
172
173 func (x *TcpStreamEntry) GetSndWnd() uint32 {
174 if x != nil && x.SndWnd != nil {
175 return *x.SndWnd
176 }
177 return 0
178 }
179
180 func (x *TcpStreamEntry) GetMaxWindow() uint32 {
181 if x != nil && x.MaxWindow != nil {
182 return *x.MaxWindow
183 }
184 return 0
185 }
186
187 func (x *TcpStreamEntry) GetRcvWnd() uint32 {
188 if x != nil && x.RcvWnd != nil {
189 return *x.RcvWnd
190 }
191 return 0
192 }
193
194 func (x *TcpStreamEntry) GetRcvWup() uint32 {
195 if x != nil && x.RcvWup != nil {
196 return *x.RcvWup
197 }
198 return 0
199 }
200
201 var File_tcp_stream_proto protoreflect.FileDescriptor
202
203 var file_tcp_stream_proto_rawDesc = []byte{
204 0x0a, 0x10, 0x74, 0x63, 0x70, 0x2d, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x2e, 0x70, 0x72, 0x6f,
205 0x74, 0x6f, 0x1a, 0x0a, 0x6f, 0x70, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe1,
206 0x03, 0x0a, 0x10, 0x74, 0x63, 0x70, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x5f, 0x65, 0x6e,
207 0x74, 0x72, 0x79, 0x12, 0x17, 0x0a, 0x07, 0x69, 0x6e, 0x71, 0x5f, 0x6c, 0x65, 0x6e, 0x18, 0x01,
208 0x20, 0x02, 0x28, 0x0d, 0x52, 0x06, 0x69, 0x6e, 0x71, 0x4c, 0x65, 0x6e, 0x12, 0x17, 0x0a, 0x07,
209 0x69, 0x6e, 0x71, 0x5f, 0x73, 0x65, 0x71, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x06, 0x69,
210 0x6e, 0x71, 0x53, 0x65, 0x71, 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x75, 0x74, 0x71, 0x5f, 0x6c, 0x65,
211 0x6e, 0x18, 0x03, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x07, 0x6f, 0x75, 0x74, 0x71, 0x4c, 0x65, 0x6e,
212 0x12, 0x19, 0x0a, 0x08, 0x6f, 0x75, 0x74, 0x71, 0x5f, 0x73, 0x65, 0x71, 0x18, 0x04, 0x20, 0x02,
213 0x28, 0x0d, 0x52, 0x07, 0x6f, 0x75, 0x74, 0x71, 0x53, 0x65, 0x71, 0x12, 0x20, 0x0a, 0x08, 0x6f,
214 0x70, 0x74, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x05, 0x20, 0x02, 0x28, 0x0d, 0x42, 0x05, 0xd2,
215 0x3f, 0x02, 0x08, 0x01, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x4d, 0x61, 0x73, 0x6b, 0x12, 0x1d, 0x0a,
216 0x0a, 0x73, 0x6e, 0x64, 0x5f, 0x77, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x02, 0x28,
217 0x0d, 0x52, 0x09, 0x73, 0x6e, 0x64, 0x57, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x12, 0x1b, 0x0a, 0x09,
218 0x6d, 0x73, 0x73, 0x5f, 0x63, 0x6c, 0x61, 0x6d, 0x70, 0x18, 0x07, 0x20, 0x02, 0x28, 0x0d, 0x52,
219 0x08, 0x6d, 0x73, 0x73, 0x43, 0x6c, 0x61, 0x6d, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x63, 0x76,
220 0x5f, 0x77, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x72,
221 0x63, 0x76, 0x57, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65,
222 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x74, 0x69, 0x6d,
223 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x72, 0x6b, 0x18, 0x0a,
224 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x63, 0x6f, 0x72, 0x6b, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x6f,
225 0x64, 0x65, 0x6c, 0x61, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x6e, 0x6f, 0x64,
226 0x65, 0x6c, 0x61, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x75, 0x6e, 0x73, 0x71, 0x5f, 0x6c, 0x65, 0x6e,
227 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x75, 0x6e, 0x73, 0x71, 0x4c, 0x65, 0x6e, 0x12,
228 0x17, 0x0a, 0x07, 0x73, 0x6e, 0x64, 0x5f, 0x77, 0x6c, 0x31, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0d,
229 0x52, 0x06, 0x73, 0x6e, 0x64, 0x57, 0x6c, 0x31, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x6e, 0x64, 0x5f,
230 0x77, 0x6e, 0x64, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x73, 0x6e, 0x64, 0x57, 0x6e,
231 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x78, 0x5f, 0x77, 0x69, 0x6e, 0x64, 0x6f, 0x77, 0x18,
232 0x0f, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x09, 0x6d, 0x61, 0x78, 0x57, 0x69, 0x6e, 0x64, 0x6f, 0x77,
233 0x12, 0x17, 0x0a, 0x07, 0x72, 0x63, 0x76, 0x5f, 0x77, 0x6e, 0x64, 0x18, 0x10, 0x20, 0x01, 0x28,
234 0x0d, 0x52, 0x06, 0x72, 0x63, 0x76, 0x57, 0x6e, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x72, 0x63, 0x76,
235 0x5f, 0x77, 0x75, 0x70, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x72, 0x63, 0x76, 0x57,
236 0x75, 0x70,
237 }
238
239 var (
240 file_tcp_stream_proto_rawDescOnce sync.Once
241 file_tcp_stream_proto_rawDescData = file_tcp_stream_proto_rawDesc
242 )
243
244 func file_tcp_stream_proto_rawDescGZIP() []byte {
245 file_tcp_stream_proto_rawDescOnce.Do(func() {
246 file_tcp_stream_proto_rawDescData = protoimpl.X.CompressGZIP(file_tcp_stream_proto_rawDescData)
247 })
248 return file_tcp_stream_proto_rawDescData
249 }
250
251 var file_tcp_stream_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
252 var file_tcp_stream_proto_goTypes = []interface{}{
253 (*TcpStreamEntry)(nil), // 0: tcp_stream_entry
254 }
255 var file_tcp_stream_proto_depIdxs = []int32{
256 0, // [0:0] is the sub-list for method output_type
257 0, // [0:0] is the sub-list for method input_type
258 0, // [0:0] is the sub-list for extension type_name
259 0, // [0:0] is the sub-list for extension extendee
260 0, // [0:0] is the sub-list for field type_name
261 }
262
263 func init() { file_tcp_stream_proto_init() }
264 func file_tcp_stream_proto_init() {
265 if File_tcp_stream_proto != nil {
266 return
267 }
268 if !protoimpl.UnsafeEnabled {
269 file_tcp_stream_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
270 switch v := v.(*TcpStreamEntry); i {
271 case 0:
272 return &v.state
273 case 1:
274 return &v.sizeCache
275 case 2:
276 return &v.unknownFields
277 default:
278 return nil
279 }
280 }
281 }
282 type x struct{}
283 out := protoimpl.TypeBuilder{
284 File: protoimpl.DescBuilder{
285 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
286 RawDescriptor: file_tcp_stream_proto_rawDesc,
287 NumEnums: 0,
288 NumMessages: 1,
289 NumExtensions: 0,
290 NumServices: 0,
291 },
292 GoTypes: file_tcp_stream_proto_goTypes,
293 DependencyIndexes: file_tcp_stream_proto_depIdxs,
294 MessageInfos: file_tcp_stream_proto_msgTypes,
295 }.Build()
296 File_tcp_stream_proto = out.File
297 file_tcp_stream_proto_rawDesc = nil
298 file_tcp_stream_proto_goTypes = nil
299 file_tcp_stream_proto_depIdxs = nil
300 }