Debian Codegraph @

crit/images/bpfmap-file/bpfmap-file.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: bpfmap-file.proto
8
9 package bpfmap_file
10
11 import (
12 fown "github.com/checkpoint-restore/go-criu/v7/crit/images/fown"
13 _ "github.com/checkpoint-restore/go-criu/v7/crit/images/opts"
14 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
15 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
16 reflect "reflect"
17 sync "sync"
18 )
19
20 const (
21 // Verify that this generated code is sufficiently up-to-date.
22 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
23 // Verify that runtime/protoimpl is sufficiently up-to-date.
24 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
25 )
26
27 type BpfmapFileEntry struct {
28 state protoimpl.MessageState
29 sizeCache protoimpl.SizeCache
30 unknownFields protoimpl.UnknownFields
31
32 Id *uint32 `protobuf:"varint,1,req,name=id" json:"id,omitempty"`
33 Flags *uint32 `protobuf:"varint,2,req,name=flags" json:"flags,omitempty"`
34 Pos *uint64 `protobuf:"varint,3,req,name=pos" json:"pos,omitempty"`
35 Fown *fown.FownEntry `protobuf:"bytes,4,req,name=fown" json:"fown,omitempty"`
36 MapType *uint32 `protobuf:"varint,5,req,name=map_type,json=mapType" json:"map_type,omitempty"`
37 KeySize *uint32 `protobuf:"varint,6,req,name=key_size,json=keySize" json:"key_size,omitempty"`
38 ValueSize *uint32 `protobuf:"varint,7,req,name=value_size,json=valueSize" json:"value_size,omitempty"`
39 MapId *uint32 `protobuf:"varint,8,req,name=map_id,json=mapId" json:"map_id,omitempty"`
40 MaxEntries *uint32 `protobuf:"varint,9,req,name=max_entries,json=maxEntries" json:"max_entries,omitempty"`
41 MapFlags *uint32 `protobuf:"varint,10,req,name=map_flags,json=mapFlags" json:"map_flags,omitempty"`
42 Memlock *uint64 `protobuf:"varint,11,req,name=memlock" json:"memlock,omitempty"`
43 Frozen *bool `protobuf:"varint,12,req,name=frozen,def=0" json:"frozen,omitempty"`
44 MapName *string `protobuf:"bytes,13,req,name=map_name,json=mapName" json:"map_name,omitempty"`
45 Ifindex *uint32 `protobuf:"varint,14,req,name=ifindex,def=0" json:"ifindex,omitempty"`
46 MntId *int32 `protobuf:"zigzag32,15,opt,name=mnt_id,json=mntId,def=-1" json:"mnt_id,omitempty"`
47 MapExtra *uint64 `protobuf:"varint,16,opt,name=map_extra,json=mapExtra" json:"map_extra,omitempty"`
48 }
49
50 // Default values for BpfmapFileEntry fields.
51 const (
52 Default_BpfmapFileEntry_Frozen = bool(false)
53 Default_BpfmapFileEntry_Ifindex = uint32(0)
54 Default_BpfmapFileEntry_MntId = int32(-1)
55 )
56
57 func (x *BpfmapFileEntry) Reset() {
58 *x = BpfmapFileEntry{}
59 if protoimpl.UnsafeEnabled {
60 mi := &file_bpfmap_file_proto_msgTypes[0]
61 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
62 ms.StoreMessageInfo(mi)
63 }
64 }
65
66 func (x *BpfmapFileEntry) String() string {
67 return protoimpl.X.MessageStringOf(x)
68 }
69
70 func (*BpfmapFileEntry) ProtoMessage() {}
71
72 func (x *BpfmapFileEntry) ProtoReflect() protoreflect.Message {
73 mi := &file_bpfmap_file_proto_msgTypes[0]
74 if protoimpl.UnsafeEnabled && x != nil {
75 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
76 if ms.LoadMessageInfo() == nil {
77 ms.StoreMessageInfo(mi)
78 }
79 return ms
80 }
81 return mi.MessageOf(x)
82 }
83
84 // Deprecated: Use BpfmapFileEntry.ProtoReflect.Descriptor instead.
85 func (*BpfmapFileEntry) Descriptor() ([]byte, []int) {
86 return file_bpfmap_file_proto_rawDescGZIP(), []int{0}
87 }
88
89 func (x *BpfmapFileEntry) GetId() uint32 {
90 if x != nil && x.Id != nil {
91 return *x.Id
92 }
93 return 0
94 }
95
96 func (x *BpfmapFileEntry) GetFlags() uint32 {
97 if x != nil && x.Flags != nil {
98 return *x.Flags
99 }
100 return 0
101 }
102
103 func (x *BpfmapFileEntry) GetPos() uint64 {
104 if x != nil && x.Pos != nil {
105 return *x.Pos
106 }
107 return 0
108 }
109
110 func (x *BpfmapFileEntry) GetFown() *fown.FownEntry {
111 if x != nil {
112 return x.Fown
113 }
114 return nil
115 }
116
117 func (x *BpfmapFileEntry) GetMapType() uint32 {
118 if x != nil && x.MapType != nil {
119 return *x.MapType
120 }
121 return 0
122 }
123
124 func (x *BpfmapFileEntry) GetKeySize() uint32 {
125 if x != nil && x.KeySize != nil {
126 return *x.KeySize
127 }
128 return 0
129 }
130
131 func (x *BpfmapFileEntry) GetValueSize() uint32 {
132 if x != nil && x.ValueSize != nil {
133 return *x.ValueSize
134 }
135 return 0
136 }
137
138 func (x *BpfmapFileEntry) GetMapId() uint32 {
139 if x != nil && x.MapId != nil {
140 return *x.MapId
141 }
142 return 0
143 }
144
145 func (x *BpfmapFileEntry) GetMaxEntries() uint32 {
146 if x != nil && x.MaxEntries != nil {
147 return *x.MaxEntries
148 }
149 return 0
150 }
151
152 func (x *BpfmapFileEntry) GetMapFlags() uint32 {
153 if x != nil && x.MapFlags != nil {
154 return *x.MapFlags
155 }
156 return 0
157 }
158
159 func (x *BpfmapFileEntry) GetMemlock() uint64 {
160 if x != nil && x.Memlock != nil {
161 return *x.Memlock
162 }
163 return 0
164 }
165
166 func (x *BpfmapFileEntry) GetFrozen() bool {
167 if x != nil && x.Frozen != nil {
168 return *x.Frozen
169 }
170 return Default_BpfmapFileEntry_Frozen
171 }
172
173 func (x *BpfmapFileEntry) GetMapName() string {
174 if x != nil && x.MapName != nil {
175 return *x.MapName
176 }
177 return ""
178 }
179
180 func (x *BpfmapFileEntry) GetIfindex() uint32 {
181 if x != nil && x.Ifindex != nil {
182 return *x.Ifindex
183 }
184 return Default_BpfmapFileEntry_Ifindex
185 }
186
187 func (x *BpfmapFileEntry) GetMntId() int32 {
188 if x != nil && x.MntId != nil {
189 return *x.MntId
190 }
191 return Default_BpfmapFileEntry_MntId
192 }
193
194 func (x *BpfmapFileEntry) GetMapExtra() uint64 {
195 if x != nil && x.MapExtra != nil {
196 return *x.MapExtra
197 }
198 return 0
199 }
200
201 var File_bpfmap_file_proto protoreflect.FileDescriptor
202
203 var file_bpfmap_file_proto_rawDesc = []byte{
204 0x0a, 0x11, 0x62, 0x70, 0x66, 0x6d, 0x61, 0x70, 0x2d, 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x70, 0x72,
205 0x6f, 0x74, 0x6f, 0x1a, 0x0a, 0x6f, 0x70, 0x74, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
206 0x0a, 0x66, 0x6f, 0x77, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd1, 0x03, 0x0a, 0x11,
207 0x62, 0x70, 0x66, 0x6d, 0x61, 0x70, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x65, 0x6e, 0x74, 0x72,
208 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x02, 0x69,
209 0x64, 0x12, 0x26, 0x0a, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x02, 0x20, 0x02, 0x28, 0x0d,
210 0x42, 0x10, 0xd2, 0x3f, 0x0d, 0x1a, 0x0b, 0x72, 0x66, 0x69, 0x6c, 0x65, 0x2e, 0x66, 0x6c, 0x61,
211 0x67, 0x73, 0x52, 0x05, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x6f, 0x73,
212 0x18, 0x03, 0x20, 0x02, 0x28, 0x04, 0x52, 0x03, 0x70, 0x6f, 0x73, 0x12, 0x1f, 0x0a, 0x04, 0x66,
213 0x6f, 0x77, 0x6e, 0x18, 0x04, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x66, 0x6f, 0x77, 0x6e,
214 0x5f, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04, 0x66, 0x6f, 0x77, 0x6e, 0x12, 0x19, 0x0a, 0x08,
215 0x6d, 0x61, 0x70, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x07,
216 0x6d, 0x61, 0x70, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x5f, 0x73,
217 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x53, 0x69,
218 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x73, 0x69, 0x7a, 0x65,
219 0x18, 0x07, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x09, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x53, 0x69, 0x7a,
220 0x65, 0x12, 0x15, 0x0a, 0x06, 0x6d, 0x61, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x08, 0x20, 0x02, 0x28,
221 0x0d, 0x52, 0x05, 0x6d, 0x61, 0x70, 0x49, 0x64, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x61, 0x78, 0x5f,
222 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x18, 0x09, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x0a, 0x6d,
223 0x61, 0x78, 0x45, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x70,
224 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x0a, 0x20, 0x02, 0x28, 0x0d, 0x52, 0x08, 0x6d, 0x61,
225 0x70, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x6c, 0x6f, 0x63,
226 0x6b, 0x18, 0x0b, 0x20, 0x02, 0x28, 0x04, 0x52, 0x07, 0x6d, 0x65, 0x6d, 0x6c, 0x6f, 0x63, 0x6b,
227 0x12, 0x1d, 0x0a, 0x06, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x18, 0x0c, 0x20, 0x02, 0x28, 0x08,
228 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x06, 0x66, 0x72, 0x6f, 0x7a, 0x65, 0x6e, 0x12,
229 0x19, 0x0a, 0x08, 0x6d, 0x61, 0x70, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0d, 0x20, 0x02, 0x28,
230 0x09, 0x52, 0x07, 0x6d, 0x61, 0x70, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x07, 0x69, 0x66,
231 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x0e, 0x20, 0x02, 0x28, 0x0d, 0x3a, 0x01, 0x30, 0x52, 0x07,
232 0x69, 0x66, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x19, 0x0a, 0x06, 0x6d, 0x6e, 0x74, 0x5f, 0x69,
233 0x64, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x11, 0x3a, 0x02, 0x2d, 0x31, 0x52, 0x05, 0x6d, 0x6e, 0x74,
234 0x49, 0x64, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x61, 0x70, 0x5f, 0x65, 0x78, 0x74, 0x72, 0x61, 0x18,
235 0x10, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x6d, 0x61, 0x70, 0x45, 0x78, 0x74, 0x72, 0x61,
236 }
237
238 var (
239 file_bpfmap_file_proto_rawDescOnce sync.Once
240 file_bpfmap_file_proto_rawDescData = file_bpfmap_file_proto_rawDesc
241 )
242
243 func file_bpfmap_file_proto_rawDescGZIP() []byte {
244 file_bpfmap_file_proto_rawDescOnce.Do(func() {
245 file_bpfmap_file_proto_rawDescData = protoimpl.X.CompressGZIP(file_bpfmap_file_proto_rawDescData)
246 })
247 return file_bpfmap_file_proto_rawDescData
248 }
249
250 var file_bpfmap_file_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
251 var file_bpfmap_file_proto_goTypes = []interface{}{
252 (*BpfmapFileEntry)(nil), // 0: bpfmap_file_entry
253 (*fown.FownEntry)(nil), // 1: fown_entry
254 }
255 var file_bpfmap_file_proto_depIdxs = []int32{
256 1, // 0: bpfmap_file_entry.fown:type_name -> fown_entry
257 1, // [1:1] is the sub-list for method output_type
258 1, // [1:1] is the sub-list for method input_type
259 1, // [1:1] is the sub-list for extension type_name
260 1, // [1:1] is the sub-list for extension extendee
261 0, // [0:1] is the sub-list for field type_name
262 }
263
264 func init() { file_bpfmap_file_proto_init() }
265 func file_bpfmap_file_proto_init() {
266 if File_bpfmap_file_proto != nil {
267 return
268 }
269 if !protoimpl.UnsafeEnabled {
270 file_bpfmap_file_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
271 switch v := v.(*BpfmapFileEntry); i {
272 case 0:
273 return &v.state
274 case 1:
275 return &v.sizeCache
276 case 2:
277 return &v.unknownFields
278 default:
279 return nil
280 }
281 }
282 }
283 type x struct{}
284 out := protoimpl.TypeBuilder{
285 File: protoimpl.DescBuilder{
286 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
287 RawDescriptor: file_bpfmap_file_proto_rawDesc,
288 NumEnums: 0,
289 NumMessages: 1,
290 NumExtensions: 0,
291 NumServices: 0,
292 },
293 GoTypes: file_bpfmap_file_proto_goTypes,
294 DependencyIndexes: file_bpfmap_file_proto_depIdxs,
295 MessageInfos: file_bpfmap_file_proto_msgTypes,
296 }.Build()
297 File_bpfmap_file_proto = out.File
298 file_bpfmap_file_proto_rawDesc = nil
299 file_bpfmap_file_proto_goTypes = nil
300 file_bpfmap_file_proto_depIdxs = nil
301 }