Debian Codegraph @

crit/images/fdinfo/fdinfo.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: fdinfo.proto
8
9 package fdinfo
10
11 import (
12 bpfmap_file "github.com/checkpoint-restore/go-criu/v7/crit/images/bpfmap-file"
13 eventfd "github.com/checkpoint-restore/go-criu/v7/crit/images/eventfd"
14 eventpoll "github.com/checkpoint-restore/go-criu/v7/crit/images/eventpoll"
15 ext_file "github.com/checkpoint-restore/go-criu/v7/crit/images/ext-file"
16 fifo "github.com/checkpoint-restore/go-criu/v7/crit/images/fifo"
17 fsnotify "github.com/checkpoint-restore/go-criu/v7/crit/images/fsnotify"
18 memfd "github.com/checkpoint-restore/go-criu/v7/crit/images/memfd"
19 ns "github.com/checkpoint-restore/go-criu/v7/crit/images/ns"
20 packet_sock "github.com/checkpoint-restore/go-criu/v7/crit/images/packet-sock"
21 pipe "github.com/checkpoint-restore/go-criu/v7/crit/images/pipe"
22 regfile "github.com/checkpoint-restore/go-criu/v7/crit/images/regfile"
23 signalfd "github.com/checkpoint-restore/go-criu/v7/crit/images/signalfd"
24 sk_inet "github.com/checkpoint-restore/go-criu/v7/crit/images/sk-inet"
25 sk_netlink "github.com/checkpoint-restore/go-criu/v7/crit/images/sk-netlink"
26 sk_unix "github.com/checkpoint-restore/go-criu/v7/crit/images/sk-unix"
27 timerfd "github.com/checkpoint-restore/go-criu/v7/crit/images/timerfd"
28 tty "github.com/checkpoint-restore/go-criu/v7/crit/images/tty"
29 tun "github.com/checkpoint-restore/go-criu/v7/crit/images/tun"
30 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
31 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
32 reflect "reflect"
33 sync "sync"
34 )
35
36 const (
37 // Verify that this generated code is sufficiently up-to-date.
38 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
39 // Verify that runtime/protoimpl is sufficiently up-to-date.
40 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
41 )
42
43 type FdTypes int32
44
45 const (
46 FdTypes_UND FdTypes = 0
47 FdTypes_REG FdTypes = 1
48 FdTypes_PIPE FdTypes = 2
49 FdTypes_FIFO FdTypes = 3
50 FdTypes_INETSK FdTypes = 4
51 FdTypes_UNIXSK FdTypes = 5
52 FdTypes_EVENTFD FdTypes = 6
53 FdTypes_EVENTPOLL FdTypes = 7
54 FdTypes_INOTIFY FdTypes = 8
55 FdTypes_SIGNALFD FdTypes = 9
56 FdTypes_PACKETSK FdTypes = 10
57 FdTypes_TTY FdTypes = 11
58 FdTypes_FANOTIFY FdTypes = 12
59 FdTypes_NETLINKSK FdTypes = 13
60 FdTypes_NS FdTypes = 14
61 FdTypes_TUNF FdTypes = 15
62 FdTypes_EXT FdTypes = 16
63 FdTypes_TIMERFD FdTypes = 17
64 FdTypes_MEMFD FdTypes = 18
65 FdTypes_BPFMAP FdTypes = 19
66 // Any number above the real used. Not stored to image
67 FdTypes_CTL_TTY FdTypes = 65534
68 FdTypes_AUTOFS_PIPE FdTypes = 65535
69 )
70
71 // Enum value maps for FdTypes.
72 var (
73 FdTypes_name = map[int32]string{
74 0: "UND",
75 1: "REG",
76 2: "PIPE",
77 3: "FIFO",
78 4: "INETSK",
79 5: "UNIXSK",
80 6: "EVENTFD",
81 7: "EVENTPOLL",
82 8: "INOTIFY",
83 9: "SIGNALFD",
84 10: "PACKETSK",
85 11: "TTY",
86 12: "FANOTIFY",
87 13: "NETLINKSK",
88 14: "NS",
89 15: "TUNF",
90 16: "EXT",
91 17: "TIMERFD",
92 18: "MEMFD",
93 19: "BPFMAP",
94 65534: "CTL_TTY",
95 65535: "AUTOFS_PIPE",
96 }
97 FdTypes_value = map[string]int32{
98 "UND": 0,
99 "REG": 1,
100 "PIPE": 2,
101 "FIFO": 3,
102 "INETSK": 4,
103 "UNIXSK": 5,
104 "EVENTFD": 6,
105 "EVENTPOLL": 7,
106 "INOTIFY": 8,
107 "SIGNALFD": 9,
108 "PACKETSK": 10,
109 "TTY": 11,
110 "FANOTIFY": 12,
111 "NETLINKSK": 13,
112 "NS": 14,
113 "TUNF": 15,
114 "EXT": 16,
115 "TIMERFD": 17,
116 "MEMFD": 18,
117 "BPFMAP": 19,
118 "CTL_TTY": 65534,
119 "AUTOFS_PIPE": 65535,
120 }
121 )
122
123 func (x FdTypes) Enum() *FdTypes {
124 p := new(FdTypes)
125 *p = x
126 return p
127 }
128
129 func (x FdTypes) String() string {
130 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
131 }
132
133 func (FdTypes) Descriptor() protoreflect.EnumDescriptor {
134 return file_fdinfo_proto_enumTypes[0].Descriptor()
135 }
136
137 func (FdTypes) Type() protoreflect.EnumType {
138 return &file_fdinfo_proto_enumTypes[0]
139 }
140
141 func (x FdTypes) Number() protoreflect.EnumNumber {
142 return protoreflect.EnumNumber(x)
143 }
144
145 // Deprecated: Do not use.
146 func (x *FdTypes) UnmarshalJSON(b []byte) error {
147 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
148 if err != nil {
149 return err
150 }
151 *x = FdTypes(num)
152 return nil
153 }
154
155 // Deprecated: Use FdTypes.Descriptor instead.
156 func (FdTypes) EnumDescriptor() ([]byte, []int) {
157 return file_fdinfo_proto_rawDescGZIP(), []int{0}
158 }
159
160 type FdinfoEntry struct {
161 state protoimpl.MessageState
162 sizeCache protoimpl.SizeCache
163 unknownFields protoimpl.UnknownFields
164
165 Id *uint32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
166 Flags *uint32 `protobuf:"varint,2,req,name=flags" json:"flags,omitempty"`
167 Type *FdTypes `protobuf:"varint,3,req,name=type,enum=FdTypes" json:"type,omitempty"`
168 Fd *uint32 `protobuf:"varint,4,req,name=fd" json:"fd,omitempty"`
169 XattrSecuritySelinux *string `protobuf:"bytes,5,opt,name=xattr_security_selinux,json=xattrSecuritySelinux" json:"xattr_security_selinux,omitempty"`
170 }
171
172 func (x *FdinfoEntry) Reset() {
173 *x = FdinfoEntry{}
174 if protoimpl.UnsafeEnabled {
175 mi := &file_fdinfo_proto_msgTypes[0]
176 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
177 ms.StoreMessageInfo(mi)
178 }
179 }
180
181 func (x *FdinfoEntry) String() string {
182 return protoimpl.X.MessageStringOf(x)
183 }
184
185 func (*FdinfoEntry) ProtoMessage() {}
186
187 func (x *FdinfoEntry) ProtoReflect() protoreflect.Message {
188 mi := &file_fdinfo_proto_msgTypes[0]
189 if protoimpl.UnsafeEnabled && x != nil {
190 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
191 if ms.LoadMessageInfo() == nil {
192 ms.StoreMessageInfo(mi)
193 }
194 return ms
195 }
196 return mi.MessageOf(x)
197 }
198
199 // Deprecated: Use FdinfoEntry.ProtoReflect.Descriptor instead.
200 func (*FdinfoEntry) Descriptor() ([]byte, []int) {
201 return file_fdinfo_proto_rawDescGZIP(), []int{0}
202 }
203
204 func (x *FdinfoEntry) GetId() uint32 {
205 if x != nil && x.Id != nil {
206 return *x.Id
207 }
208 return 0
209 }
210
211 func (x *FdinfoEntry) GetFlags() uint32 {
212 if x != nil && x.Flags != nil {
213 return *x.Flags
214 }
215 return 0
216 }
217
218 func (x *FdinfoEntry) GetType() FdTypes {
219 if x != nil && x.Type != nil {
220 return *x.Type
221 }
222 return FdTypes_UND
223 }
224
225 func (x *FdinfoEntry) GetFd() uint32 {
226 if x != nil && x.Fd != nil {
227 return *x.Fd
228 }
229 return 0
230 }
231
232 func (x *FdinfoEntry) GetXattrSecuritySelinux() string {
233 if x != nil && x.XattrSecuritySelinux != nil {
234 return *x.XattrSecuritySelinux
235 }
236 return ""
237 }
238
239 type FileEntry struct {
240 state protoimpl.MessageState
241 sizeCache protoimpl.SizeCache
242 unknownFields protoimpl.UnknownFields
243
244 Type *FdTypes `protobuf:"varint,1,req,name=type,enum=FdTypes" json:"type,omitempty"`
245 Id *uint32 `protobuf:"varint,2,req,name=id" json:"id,omitempty"`
246 Reg *regfile.RegFileEntry `protobuf:"bytes,3,opt,name=reg" json:"reg,omitempty"`
247 Isk *sk_inet.InetSkEntry `protobuf:"bytes,4,opt,name=isk" json:"isk,omitempty"`
248 Nsf *ns.NsFileEntry `protobuf:"bytes,5,opt,name=nsf" json:"nsf,omitempty"`
249 Psk *packet_sock.PacketSockEntry `protobuf:"bytes,6,opt,name=psk" json:"psk,omitempty"`
250 Nlsk *sk_netlink.NetlinkSkEntry `protobuf:"bytes,7,opt,name=nlsk" json:"nlsk,omitempty"`
251 Efd *eventfd.EventfdFileEntry `protobuf:"bytes,8,opt,name=efd" json:"efd,omitempty"`
252 Epfd *eventpoll.EventpollFileEntry `protobuf:"bytes,9,opt,name=epfd" json:"epfd,omitempty"`
253 Sgfd *signalfd.SignalfdEntry `protobuf:"bytes,10,opt,name=sgfd" json:"sgfd,omitempty"`
254 Tunf *tun.TunfileEntry `protobuf:"bytes,11,opt,name=tunf" json:"tunf,omitempty"`
255 Tfd *timerfd.TimerfdEntry `protobuf:"bytes,12,opt,name=tfd" json:"tfd,omitempty"`
256 Ify *fsnotify.InotifyFileEntry `protobuf:"bytes,13,opt,name=ify" json:"ify,omitempty"`
257 Ffy *fsnotify.FanotifyFileEntry `protobuf:"bytes,14,opt,name=ffy" json:"ffy,omitempty"`
258 Ext *ext_file.ExtFileEntry `protobuf:"bytes,15,opt,name=ext" json:"ext,omitempty"`
259 Usk *sk_unix.UnixSkEntry `protobuf:"bytes,16,opt,name=usk" json:"usk,omitempty"`
260 Fifo *fifo.FifoEntry `protobuf:"bytes,17,opt,name=fifo" json:"fifo,omitempty"`
261 Pipe *pipe.PipeEntry `protobuf:"bytes,18,opt,name=pipe" json:"pipe,omitempty"`
262 Tty *tty.TtyFileEntry `protobuf:"bytes,19,opt,name=tty" json:"tty,omitempty"`
263 Memfd *memfd.MemfdFileEntry `protobuf:"bytes,20,opt,name=memfd" json:"memfd,omitempty"`
264 Bpf *bpfmap_file.BpfmapFileEntry `protobuf:"bytes,21,opt,name=bpf" json:"bpf,omitempty"`
265 }
266
267 func (x *FileEntry) Reset() {
268 *x = FileEntry{}
269 if protoimpl.UnsafeEnabled {
270 mi := &file_fdinfo_proto_msgTypes[1]
271 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
272 ms.StoreMessageInfo(mi)
273 }
274 }
275
276 func (x *FileEntry) String() string {
277 return protoimpl.X.MessageStringOf(x)
278 }
279
280 func (*FileEntry) ProtoMessage() {}
281
282 func (x *FileEntry) ProtoReflect() protoreflect.Message {
283 mi := &file_fdinfo_proto_msgTypes[1]
284 if protoimpl.UnsafeEnabled && x != nil {
285 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
286 if ms.LoadMessageInfo() == nil {
287 ms.StoreMessageInfo(mi)
288 }
289 return ms
290 }
291 return mi.MessageOf(x)
292 }
293
294 // Deprecated: Use FileEntry.ProtoReflect.Descriptor instead.
295 func (*FileEntry) Descriptor() ([]byte, []int) {
296 return file_fdinfo_proto_rawDescGZIP(), []int{1}
297 }
298
299 func (x *FileEntry) GetType() FdTypes {
300 if x != nil && x.Type != nil {
301 return *x.Type
302 }
303 return FdTypes_UND
304 }
305
306 func (x *FileEntry) GetId() uint32 {
307 if x != nil && x.Id != nil {
308 return *x.Id
309 }
310 return 0
311 }
312
313 func (x *FileEntry) GetReg() *regfile.RegFileEntry {
314 if x != nil {
315 return x.Reg
316 }
317 return nil
318 }
319
320 func (x *FileEntry) GetIsk() *sk_inet.InetSkEntry {
321 if x != nil {
322 return x.Isk
323 }
324 return nil
325 }
326
327 func (x *FileEntry) GetNsf() *ns.NsFileEntry {
328 if x != nil {
329 return x.Nsf
330 }
331 return nil
332 }
333
334 func (x *FileEntry) GetPsk() *packet_sock.PacketSockEntry {
335 if x != nil {
336 return x.Psk
337 }
338 return nil
339 }
340
341 func (x *FileEntry) GetNlsk() *sk_netlink.NetlinkSkEntry {
342 if x != nil {
343 return x.Nlsk
344 }
345 return nil
346 }
347
348 func (x *FileEntry) GetEfd() *eventfd.EventfdFileEntry {
349 if x != nil {
350 return x.Efd
351 }
352 return nil
353 }
354
355 func (x *FileEntry) GetEpfd() *eventpoll.EventpollFileEntry {
356 if x != nil {
357 return x.Epfd
358 }
359 return nil
360 }
361
362 func (x *FileEntry) GetSgfd() *signalfd.SignalfdEntry {
363 if x != nil {
364 return x.Sgfd
365 }
366 return nil
367 }
368
369 func (x *FileEntry) GetTunf() *tun.TunfileEntry {
370 if x != nil {
371 return x.Tunf
372 }
373 return nil
374 }
375
376 func (x *FileEntry) GetTfd() *timerfd.TimerfdEntry {
377 if x != nil {
378 return x.Tfd
379 }
380 return nil
381 }
382
383 func (x *FileEntry) GetIfy() *fsnotify.InotifyFileEntry {
384 if x != nil {
385 return x.Ify
386 }
387 return nil
388 }
389
390 func (x *FileEntry) GetFfy() *fsnotify.FanotifyFileEntry {
391 if x != nil {
392 return x.Ffy
393 }
394 return nil
395 }
396
397 func (x *FileEntry) GetExt() *ext_file.ExtFileEntry {
398 if x != nil {
399 return x.Ext
400 }
401 return nil
402 }
403
404 func (x *FileEntry) GetUsk() *sk_unix.UnixSkEntry {
405 if x != nil {
406 return x.Usk
407 }
408 return nil
409 }
410
411 func (x *FileEntry) GetFifo() *fifo.FifoEntry {
412 if x != nil {
413 return x.Fifo
414 }
415 return nil
416 }
417
418 func (x *FileEntry) GetPipe() *pipe.PipeEntry {
419 if x != nil {
420 return x.Pipe
421 }
422 return nil
423 }
424
425 func (x *FileEntry) GetTty() *tty.TtyFileEntry {
426 if x != nil {
427 return x.Tty
428 }
429 return nil
430 }
431
432 func (x *FileEntry) GetMemfd() *memfd.MemfdFileEntry {
433 if x != nil {
434 return x.Memfd
435 }
436 return nil
437 }
438
439 func (x *FileEntry) GetBpf() *bpfmap_file.BpfmapFileEntry {
440 if x != nil {
441 return x.Bpf
442 }
443 return nil
444 }
445
446 var File_fdinfo_proto protoreflect.FileDescriptor
447
448 var file_fdinfo_proto_rawDesc = []byte{
449 0x0a, 0x0c, 0x66, 0x64, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0d,
450 0x72, 0x65, 0x67, 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0d, 0x73,
451 0x6b, 0x2d, 0x69, 0x6e, 0x65, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x08, 0x6e, 0x73,
452 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x2d, 0x73,
453 0x6f, 0x63, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x10, 0x73, 0x6b, 0x2d, 0x6e, 0x65,
454 0x74, 0x6c, 0x69, 0x6e, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0d, 0x65, 0x76, 0x65,
455 0x6e, 0x74, 0x66, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0f, 0x65, 0x76, 0x65, 0x6e,
456 0x74, 0x70, 0x6f, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0e, 0x73, 0x69, 0x67,
457 0x6e, 0x61, 0x6c, 0x66, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x09, 0x74, 0x75, 0x6e,
458 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0d, 0x74, 0x69, 0x6d, 0x65, 0x72, 0x66, 0x64, 0x2e,
459 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0e, 0x66, 0x73, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x2e,
460 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0e, 0x65, 0x78, 0x74, 0x2d, 0x66, 0x69, 0x6c, 0x65, 0x2e,
461 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0d, 0x73, 0x6b, 0x2d, 0x75, 0x6e, 0x69, 0x78, 0x2e, 0x70,
462 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x66, 0x69, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
463 0x1a, 0x0a, 0x70, 0x69, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x09, 0x74, 0x74,
464 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x0b, 0x6d, 0x65, 0x6d, 0x66, 0x64, 0x2e, 0x70,
465 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x11, 0x62, 0x70, 0x66, 0x6d, 0x61, 0x70, 0x2d, 0x66, 0x69, 0x6c,
466 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x99, 0x01, 0x0a, 0x0c, 0x66, 0x64, 0x69, 0x6e,
467 0x66, 0x6f, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
468 0x20, 0x02, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67,
469 0x73, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x1d,
470 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x02, 0x28, 0x0e, 0x32, 0x09, 0x2e, 0x66,
471 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x0e, 0x0a,
472 0x02, 0x66, 0x64, 0x18, 0x04, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x02, 0x66, 0x64, 0x12, 0x34, 0x0a,
473 0x16, 0x78, 0x61, 0x74, 0x74, 0x72, 0x5f, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f,
474 0x73, 0x65, 0x6c, 0x69, 0x6e, 0x75, 0x78, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x14, 0x78,
475 0x61, 0x74, 0x74, 0x72, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x65, 0x6c, 0x69,
476 0x6e, 0x75, 0x78, 0x22, 0xf4, 0x05, 0x0a, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x65, 0x6e, 0x74,
477 0x72, 0x79, 0x12, 0x1d, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0e,
478 0x32, 0x09, 0x2e, 0x66, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x52, 0x04, 0x74, 0x79, 0x70,
479 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x02, 0x69,
480 0x64, 0x12, 0x21, 0x0a, 0x03, 0x72, 0x65, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f,
481 0x2e, 0x72, 0x65, 0x67, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x52,
482 0x03, 0x72, 0x65, 0x67, 0x12, 0x20, 0x0a, 0x03, 0x69, 0x73, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28,
483 0x0b, 0x32, 0x0e, 0x2e, 0x69, 0x6e, 0x65, 0x74, 0x5f, 0x73, 0x6b, 0x5f, 0x65, 0x6e, 0x74, 0x72,
484 0x79, 0x52, 0x03, 0x69, 0x73, 0x6b, 0x12, 0x20, 0x0a, 0x03, 0x6e, 0x73, 0x66, 0x18, 0x05, 0x20,
485 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x6e, 0x73, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x65, 0x6e,
486 0x74, 0x72, 0x79, 0x52, 0x03, 0x6e, 0x73, 0x66, 0x12, 0x24, 0x0a, 0x03, 0x70, 0x73, 0x6b, 0x18,
487 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x74, 0x5f, 0x73,
488 0x6f, 0x63, 0x6b, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x03, 0x70, 0x73, 0x6b, 0x12, 0x25,
489 0x0a, 0x04, 0x6e, 0x6c, 0x73, 0x6b, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6e,
490 0x65, 0x74, 0x6c, 0x69, 0x6e, 0x6b, 0x5f, 0x73, 0x6b, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x52,
491 0x04, 0x6e, 0x6c, 0x73, 0x6b, 0x12, 0x25, 0x0a, 0x03, 0x65, 0x66, 0x64, 0x18, 0x08, 0x20, 0x01,
492 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x66, 0x64, 0x5f, 0x66, 0x69, 0x6c,
493 0x65, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x03, 0x65, 0x66, 0x64, 0x12, 0x29, 0x0a, 0x04,
494 0x65, 0x70, 0x66, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x65, 0x76, 0x65,
495 0x6e, 0x74, 0x70, 0x6f, 0x6c, 0x6c, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x65, 0x6e, 0x74, 0x72,
496 0x79, 0x52, 0x04, 0x65, 0x70, 0x66, 0x64, 0x12, 0x23, 0x0a, 0x04, 0x73, 0x67, 0x66, 0x64, 0x18,
497 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x73, 0x69, 0x67, 0x6e, 0x61, 0x6c, 0x66, 0x64,
498 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x73, 0x67, 0x66, 0x64, 0x12, 0x22, 0x0a, 0x04,
499 0x74, 0x75, 0x6e, 0x66, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x74, 0x75, 0x6e,
500 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x74, 0x75, 0x6e, 0x66,
501 0x12, 0x20, 0x0a, 0x03, 0x74, 0x66, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e,
502 0x74, 0x69, 0x6d, 0x65, 0x72, 0x66, 0x64, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x03, 0x74,
503 0x66, 0x64, 0x12, 0x25, 0x0a, 0x03, 0x69, 0x66, 0x79, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32,
504 0x13, 0x2e, 0x69, 0x6e, 0x6f, 0x74, 0x69, 0x66, 0x79, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x65,
505 0x6e, 0x74, 0x72, 0x79, 0x52, 0x03, 0x69, 0x66, 0x79, 0x12, 0x26, 0x0a, 0x03, 0x66, 0x66, 0x79,
506 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x66, 0x61, 0x6e, 0x6f, 0x74, 0x69, 0x66,
507 0x79, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x03, 0x66, 0x66,
508 0x79, 0x12, 0x21, 0x0a, 0x03, 0x65, 0x78, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f,
509 0x2e, 0x65, 0x78, 0x74, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x52,
510 0x03, 0x65, 0x78, 0x74, 0x12, 0x20, 0x0a, 0x03, 0x75, 0x73, 0x6b, 0x18, 0x10, 0x20, 0x01, 0x28,
511 0x0b, 0x32, 0x0e, 0x2e, 0x75, 0x6e, 0x69, 0x78, 0x5f, 0x73, 0x6b, 0x5f, 0x65, 0x6e, 0x74, 0x72,
512 0x79, 0x52, 0x03, 0x75, 0x73, 0x6b, 0x12, 0x1f, 0x0a, 0x04, 0x66, 0x69, 0x66, 0x6f, 0x18, 0x11,
513 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x66, 0x69, 0x66, 0x6f, 0x5f, 0x65, 0x6e, 0x74, 0x72,
514 0x79, 0x52, 0x04, 0x66, 0x69, 0x66, 0x6f, 0x12, 0x1f, 0x0a, 0x04, 0x70, 0x69, 0x70, 0x65, 0x18,
515 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x70, 0x69, 0x70, 0x65, 0x5f, 0x65, 0x6e, 0x74,
516 0x72, 0x79, 0x52, 0x04, 0x70, 0x69, 0x70, 0x65, 0x12, 0x21, 0x0a, 0x03, 0x74, 0x74, 0x79, 0x18,
517 0x13, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x74, 0x74, 0x79, 0x5f, 0x66, 0x69, 0x6c, 0x65,
518 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x03, 0x74, 0x74, 0x79, 0x12, 0x27, 0x0a, 0x05, 0x6d,
519 0x65, 0x6d, 0x66, 0x64, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x6d, 0x65, 0x6d,
520 0x66, 0x64, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x6d,
521 0x65, 0x6d, 0x66, 0x64, 0x12, 0x24, 0x0a, 0x03, 0x62, 0x70, 0x66, 0x18, 0x15, 0x20, 0x01, 0x28,
522 0x0b, 0x32, 0x12, 0x2e, 0x62, 0x70, 0x66, 0x6d, 0x61, 0x70, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f,
523 0x65, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x03, 0x62, 0x70, 0x66, 0x2a, 0x94, 0x02, 0x0a, 0x08, 0x66,
524 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x12, 0x07, 0x0a, 0x03, 0x55, 0x4e, 0x44, 0x10, 0x00,
525 0x12, 0x07, 0x0a, 0x03, 0x52, 0x45, 0x47, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x50, 0x49, 0x50,
526 0x45, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x46, 0x49, 0x46, 0x4f, 0x10, 0x03, 0x12, 0x0a, 0x0a,
527 0x06, 0x49, 0x4e, 0x45, 0x54, 0x53, 0x4b, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x55, 0x4e, 0x49,
528 0x58, 0x53, 0x4b, 0x10, 0x05, 0x12, 0x0b, 0x0a, 0x07, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x46, 0x44,
529 0x10, 0x06, 0x12, 0x0d, 0x0a, 0x09, 0x45, 0x56, 0x45, 0x4e, 0x54, 0x50, 0x4f, 0x4c, 0x4c, 0x10,
530 0x07, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x59, 0x10, 0x08, 0x12, 0x0c,
531 0x0a, 0x08, 0x53, 0x49, 0x47, 0x4e, 0x41, 0x4c, 0x46, 0x44, 0x10, 0x09, 0x12, 0x0c, 0x0a, 0x08,
532 0x50, 0x41, 0x43, 0x4b, 0x45, 0x54, 0x53, 0x4b, 0x10, 0x0a, 0x12, 0x07, 0x0a, 0x03, 0x54, 0x54,
533 0x59, 0x10, 0x0b, 0x12, 0x0c, 0x0a, 0x08, 0x46, 0x41, 0x4e, 0x4f, 0x54, 0x49, 0x46, 0x59, 0x10,
534 0x0c, 0x12, 0x0d, 0x0a, 0x09, 0x4e, 0x45, 0x54, 0x4c, 0x49, 0x4e, 0x4b, 0x53, 0x4b, 0x10, 0x0d,
535 0x12, 0x06, 0x0a, 0x02, 0x4e, 0x53, 0x10, 0x0e, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x55, 0x4e, 0x46,
536 0x10, 0x0f, 0x12, 0x07, 0x0a, 0x03, 0x45, 0x58, 0x54, 0x10, 0x10, 0x12, 0x0b, 0x0a, 0x07, 0x54,
537 0x49, 0x4d, 0x45, 0x52, 0x46, 0x44, 0x10, 0x11, 0x12, 0x09, 0x0a, 0x05, 0x4d, 0x45, 0x4d, 0x46,
538 0x44, 0x10, 0x12, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x50, 0x46, 0x4d, 0x41, 0x50, 0x10, 0x13, 0x12,
539 0x0d, 0x0a, 0x07, 0x43, 0x54, 0x4c, 0x5f, 0x54, 0x54, 0x59, 0x10, 0xfe, 0xff, 0x03, 0x12, 0x11,
540 0x0a, 0x0b, 0x41, 0x55, 0x54, 0x4f, 0x46, 0x53, 0x5f, 0x50, 0x49, 0x50, 0x45, 0x10, 0xff, 0xff,
541 0x03,
542 }
543
544 var (
545 file_fdinfo_proto_rawDescOnce sync.Once
546 file_fdinfo_proto_rawDescData = file_fdinfo_proto_rawDesc
547 )
548
549 func file_fdinfo_proto_rawDescGZIP() []byte {
550 file_fdinfo_proto_rawDescOnce.Do(func() {
551 file_fdinfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_fdinfo_proto_rawDescData)
552 })
553 return file_fdinfo_proto_rawDescData
554 }
555
556 var file_fdinfo_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
557 var file_fdinfo_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
558 var file_fdinfo_proto_goTypes = []interface{}{
559 (FdTypes)(0), // 0: fd_types
560 (*FdinfoEntry)(nil), // 1: fdinfo_entry
561 (*FileEntry)(nil), // 2: file_entry
562 (*regfile.RegFileEntry)(nil), // 3: reg_file_entry
563 (*sk_inet.InetSkEntry)(nil), // 4: inet_sk_entry
564 (*ns.NsFileEntry)(nil), // 5: ns_file_entry
565 (*packet_sock.PacketSockEntry)(nil), // 6: packet_sock_entry
566 (*sk_netlink.NetlinkSkEntry)(nil), // 7: netlink_sk_entry
567 (*eventfd.EventfdFileEntry)(nil), // 8: eventfd_file_entry
568 (*eventpoll.EventpollFileEntry)(nil), // 9: eventpoll_file_entry
569 (*signalfd.SignalfdEntry)(nil), // 10: signalfd_entry
570 (*tun.TunfileEntry)(nil), // 11: tunfile_entry
571 (*timerfd.TimerfdEntry)(nil), // 12: timerfd_entry
572 (*fsnotify.InotifyFileEntry)(nil), // 13: inotify_file_entry
573 (*fsnotify.FanotifyFileEntry)(nil), // 14: fanotify_file_entry
574 (*ext_file.ExtFileEntry)(nil), // 15: ext_file_entry
575 (*sk_unix.UnixSkEntry)(nil), // 16: unix_sk_entry
576 (*fifo.FifoEntry)(nil), // 17: fifo_entry
577 (*pipe.PipeEntry)(nil), // 18: pipe_entry
578 (*tty.TtyFileEntry)(nil), // 19: tty_file_entry
579 (*memfd.MemfdFileEntry)(nil), // 20: memfd_file_entry
580 (*bpfmap_file.BpfmapFileEntry)(nil), // 21: bpfmap_file_entry
581 }
582 var file_fdinfo_proto_depIdxs = []int32{
583 0, // 0: fdinfo_entry.type:type_name -> fd_types
584 0, // 1: file_entry.type:type_name -> fd_types
585 3, // 2: file_entry.reg:type_name -> reg_file_entry
586 4, // 3: file_entry.isk:type_name -> inet_sk_entry
587 5, // 4: file_entry.nsf:type_name -> ns_file_entry
588 6, // 5: file_entry.psk:type_name -> packet_sock_entry
589 7, // 6: file_entry.nlsk:type_name -> netlink_sk_entry
590 8, // 7: file_entry.efd:type_name -> eventfd_file_entry
591 9, // 8: file_entry.epfd:type_name -> eventpoll_file_entry
592 10, // 9: file_entry.sgfd:type_name -> signalfd_entry
593 11, // 10: file_entry.tunf:type_name -> tunfile_entry
594 12, // 11: file_entry.tfd:type_name -> timerfd_entry
595 13, // 12: file_entry.ify:type_name -> inotify_file_entry
596 14, // 13: file_entry.ffy:type_name -> fanotify_file_entry
597 15, // 14: file_entry.ext:type_name -> ext_file_entry
598 16, // 15: file_entry.usk:type_name -> unix_sk_entry
599 17, // 16: file_entry.fifo:type_name -> fifo_entry
600 18, // 17: file_entry.pipe:type_name -> pipe_entry
601 19, // 18: file_entry.tty:type_name -> tty_file_entry
602 20, // 19: file_entry.memfd:type_name -> memfd_file_entry
603 21, // 20: file_entry.bpf:type_name -> bpfmap_file_entry
604 21, // [21:21] is the sub-list for method output_type
605 21, // [21:21] is the sub-list for method input_type
606 21, // [21:21] is the sub-list for extension type_name
607 21, // [21:21] is the sub-list for extension extendee
608 0, // [0:21] is the sub-list for field type_name
609 }
610
611 func init() { file_fdinfo_proto_init() }
612 func file_fdinfo_proto_init() {
613 if File_fdinfo_proto != nil {
614 return
615 }
616 if !protoimpl.UnsafeEnabled {
617 file_fdinfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
618 switch v := v.(*FdinfoEntry); i {
619 case 0:
620 return &v.state
621 case 1:
622 return &v.sizeCache
623 case 2:
624 return &v.unknownFields
625 default:
626 return nil
627 }
628 }
629 file_fdinfo_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
630 switch v := v.(*FileEntry); i {
631 case 0:
632 return &v.state
633 case 1:
634 return &v.sizeCache
635 case 2:
636 return &v.unknownFields
637 default:
638 return nil
639 }
640 }
641 }
642 type x struct{}
643 out := protoimpl.TypeBuilder{
644 File: protoimpl.DescBuilder{
645 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
646 RawDescriptor: file_fdinfo_proto_rawDesc,
647 NumEnums: 1,
648 NumMessages: 2,
649 NumExtensions: 0,
650 NumServices: 0,
651 },
652 GoTypes: file_fdinfo_proto_goTypes,
653 DependencyIndexes: file_fdinfo_proto_depIdxs,
654 EnumInfos: file_fdinfo_proto_enumTypes,
655 MessageInfos: file_fdinfo_proto_msgTypes,
656 }.Build()
657 File_fdinfo_proto = out.File
658 file_fdinfo_proto_rawDesc = nil
659 file_fdinfo_proto_goTypes = nil
660 file_fdinfo_proto_depIdxs = nil
661 }