nl-linux 0.3.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +5 -0
  3. data/CHANGELOG.md +6 -0
  4. data/Rakefile +14 -2
  5. data/generated/nl/linux/binder.rb +172 -44
  6. data/generated/nl/linux/conntrack.rb +1293 -370
  7. data/generated/nl/linux/dev_energymodel.rb +278 -93
  8. data/generated/nl/linux/devlink.rb +5654 -1954
  9. data/generated/nl/linux/dpll.rb +1838 -669
  10. data/generated/nl/linux/drm_ras.rb +234 -72
  11. data/generated/nl/linux/ethtool.rb +6683 -2885
  12. data/generated/nl/linux/fou.rb +308 -129
  13. data/generated/nl/linux/handshake.rb +277 -99
  14. data/generated/nl/linux/lockd.rb +88 -33
  15. data/generated/nl/linux/mptcp_pm.rb +639 -186
  16. data/generated/nl/linux/net_shaper.rb +782 -224
  17. data/generated/nl/linux/netdev.rb +2105 -631
  18. data/generated/nl/linux/nfsd.rb +1030 -358
  19. data/generated/nl/linux/nftables.rb +5041 -1612
  20. data/generated/nl/linux/nl80211.rb +4531 -871
  21. data/generated/nl/linux/nlctrl.rb +411 -119
  22. data/generated/nl/linux/ovpn.rb +1211 -293
  23. data/generated/nl/linux/ovs_datapath.rb +271 -106
  24. data/generated/nl/linux/ovs_flow.rb +1819 -354
  25. data/generated/nl/linux/ovs_packet.rb +257 -82
  26. data/generated/nl/linux/ovs_vport.rb +334 -132
  27. data/generated/nl/linux/psp.rb +916 -281
  28. data/generated/nl/linux/rt_addr.rb +369 -166
  29. data/generated/nl/linux/rt_link.rb +6708 -1450
  30. data/generated/nl/linux/rt_neigh.rb +919 -364
  31. data/generated/nl/linux/rt_route.rb +1034 -448
  32. data/generated/nl/linux/rt_rule.rb +775 -395
  33. data/generated/nl/linux/sunrpc_cache.rb +297 -102
  34. data/generated/nl/linux/tc.rb +9989 -1780
  35. data/generated/nl/linux/tcp_metrics.rb +327 -105
  36. data/generated/nl/linux/team.rb +279 -93
  37. data/generated/nl/linux/wireguard.rb +432 -95
  38. data/generated/nl/linux.rb +1 -0
  39. data/lib/nl/linux/nlctrl_resolver.rb +31 -0
  40. data/lib/nl/linux/version.rb +1 -1
  41. data/sig/generated/nl/linux/binder.rbs +366 -0
  42. data/sig/generated/nl/linux/conntrack.rbs +2787 -0
  43. data/sig/generated/nl/linux/dev_energymodel.rbs +636 -0
  44. data/sig/generated/nl/linux/devlink.rbs +12496 -0
  45. data/sig/generated/nl/linux/dpll.rbs +3461 -0
  46. data/sig/generated/nl/linux/drm_ras.rbs +553 -0
  47. data/sig/generated/nl/linux/ethtool.rbs +15291 -0
  48. data/sig/generated/nl/linux/fou.rbs +702 -0
  49. data/sig/generated/nl/linux/handshake.rbs +622 -0
  50. data/sig/generated/nl/linux/lockd.rbs +234 -0
  51. data/sig/generated/nl/linux/mptcp_pm.rbs +1511 -0
  52. data/sig/generated/nl/linux/net_shaper.rbs +1645 -0
  53. data/sig/generated/nl/linux/netdev.rbs +4187 -0
  54. data/sig/generated/nl/linux/nfsd.rbs +2520 -0
  55. data/sig/generated/nl/linux/nftables.rbs +10304 -0
  56. data/sig/generated/nl/linux/nl80211.rbs +9786 -0
  57. data/sig/generated/nl/linux/nlctrl.rbs +944 -0
  58. data/sig/generated/nl/linux/nlctrl_resolver.rbs +20 -0
  59. data/sig/generated/nl/linux/ovpn.rbs +2564 -0
  60. data/sig/generated/nl/linux/ovs_datapath.rbs +640 -0
  61. data/sig/generated/nl/linux/ovs_flow.rbs +3659 -0
  62. data/sig/generated/nl/linux/ovs_packet.rbs +540 -0
  63. data/sig/generated/nl/linux/ovs_vport.rbs +777 -0
  64. data/sig/generated/nl/linux/psp.rbs +1846 -0
  65. data/sig/generated/nl/linux/rt_addr.rbs +866 -0
  66. data/sig/generated/nl/linux/rt_link.rbs +13438 -0
  67. data/sig/generated/nl/linux/rt_neigh.rbs +2124 -0
  68. data/sig/generated/nl/linux/rt_route.rbs +2218 -0
  69. data/sig/generated/nl/linux/rt_rule.rbs +1726 -0
  70. data/sig/generated/nl/linux/sunrpc_cache.rbs +739 -0
  71. data/sig/generated/nl/linux/tc.rbs +19931 -0
  72. data/sig/generated/nl/linux/tcp_metrics.rbs +740 -0
  73. data/sig/generated/nl/linux/team.rbs +733 -0
  74. data/sig/generated/nl/linux/version.rbs +7 -0
  75. data/sig/generated/nl/linux/wireguard.rbs +1006 -0
  76. data/sig/generated/nl/linux.rbs +6 -0
  77. data/sig/generated/nl-linux.rbs +2 -0
  78. metadata +46 -7
@@ -0,0 +1,2520 @@
1
+ # Generated from generated/nl/linux/nfsd.rb with RBS::Inline
2
+
3
+ module Nl
4
+ module Linux
5
+ # NFSD configuration over generic netlink.
6
+ class Nfsd < ::Nl::Genl::Family
7
+ NAME: ::String
8
+
9
+ VERSION: ::Integer
10
+
11
+ # @rbs (?resolver: ^(::Nl::Genl::Client, ::String) -> ::Nl::Genl::FamilyInfo, ?executor: executor?, ?notification_capacity: ::Integer?) -> (::Nl::Family::Session & instance)
12
+ # @rbs | [R] (?resolver: ^(::Nl::Genl::Client, ::String) -> ::Nl::Genl::FamilyInfo, ?executor: executor?, ?notification_capacity: ::Integer?) { (instance) -> R } -> R
13
+ # @overload open(resolver: ::Nl::Linux::DEFAULT_RESOLVER, executor: nil, notification_capacity: DEFAULT_NOTIFICATION_CAPACITY)
14
+ # @param [#call] resolver
15
+ # @param [Symbol, nil] executor
16
+ # @param [Integer, nil] notification_capacity
17
+ # @return [Nfsd]
18
+ # @overload open(resolver: ::Nl::Linux::DEFAULT_RESOLVER, executor: nil, notification_capacity: DEFAULT_NOTIFICATION_CAPACITY, &block)
19
+ # @param [#call] resolver
20
+ # @param [Symbol, nil] executor
21
+ # @param [Integer, nil] notification_capacity
22
+ # @yieldparam [Nfsd] family
23
+ # @return [Object] the result of the block
24
+ def self.open: (?resolver: ^(::Nl::Genl::Client, ::String) -> ::Nl::Genl::FamilyInfo, ?executor: executor?, ?notification_capacity: ::Integer?) -> (::Nl::Family::Session & instance)
25
+
26
+ # @private
27
+ MCAST_GROUPS: Hash[::Symbol, ::Nl::McastGroup]
28
+
29
+ module Flags
30
+ module CacheType
31
+ SvcExport: ::Integer
32
+
33
+ Expkey: ::Integer
34
+ end
35
+
36
+ # These flags are ordered to match the NFSEXP_* flags in include/linux/nfsd/export.h
37
+ module ExportFlags
38
+ Readonly: ::Integer
39
+
40
+ InsecurePort: ::Integer
41
+
42
+ Rootsquash: ::Integer
43
+
44
+ Allsquash: ::Integer
45
+
46
+ Async: ::Integer
47
+
48
+ GatheredWrites: ::Integer
49
+
50
+ Noreaddirplus: ::Integer
51
+
52
+ SecurityLabel: ::Integer
53
+
54
+ SignFh: ::Integer
55
+
56
+ Nohide: ::Integer
57
+
58
+ Nosubtreecheck: ::Integer
59
+
60
+ Noauthnlm: ::Integer
61
+
62
+ Msnfs: ::Integer
63
+
64
+ Fsid: ::Integer
65
+
66
+ Crossmount: ::Integer
67
+
68
+ Noacl: ::Integer
69
+
70
+ V4root: ::Integer
71
+
72
+ Pnfs: ::Integer
73
+ end
74
+
75
+ # These flags are ordered to match the NFSEXP_XPRTSEC_* flags in include/linux/nfsd/export.h
76
+ module XprtsecMode
77
+ None: ::Integer
78
+
79
+ Tls: ::Integer
80
+
81
+ Mtls: ::Integer
82
+ end
83
+ end
84
+
85
+ module Structs
86
+ end
87
+
88
+ module AttributeSets
89
+ class CacheNotify < ::Nl::AttributeSet
90
+ # Abstract class
91
+ class Attribute < ::Nl::AttributeSet::Attribute
92
+ end
93
+
94
+ # Known flags are defined in {Flags::CacheType}.
95
+ class CacheType < Attribute
96
+ TYPE: ::Integer
97
+
98
+ NAME: ::Symbol
99
+
100
+ # @private
101
+ ORDER: ::Integer
102
+
103
+ # @private
104
+ DATATYPE: untyped
105
+ end
106
+
107
+ # @private
108
+ BY_NAME: Hash[::Symbol, Attribute]
109
+
110
+ # @private
111
+ BY_TYPE: Hash[::Integer, Attribute]
112
+
113
+ # Known flags are defined in {Flags::CacheType}.
114
+ # @rbs return: ::Integer
115
+ # @return [Integer]
116
+ # @see CacheType
117
+ def cache_type: () -> ::Integer
118
+
119
+ # Looks up Attribute class by name.
120
+ # @rbs name: Symbol
121
+ # @rbs return: Attribute
122
+ # @param [Symbol] name
123
+ # @return [Attribute]
124
+ def self.by_name: (Symbol name) -> Attribute
125
+
126
+ # Looks up Attribute class by type value.
127
+ # @rbs type: Integer
128
+ # @rbs return: Attribute
129
+ # @param [Integer] type
130
+ # @return [Attribute]
131
+ def self.by_type: (Integer type) -> Attribute
132
+ end
133
+
134
+ class RpcStatus < ::Nl::AttributeSet
135
+ # Abstract class
136
+ class Attribute < ::Nl::AttributeSet::Attribute
137
+ end
138
+
139
+ class Xid < Attribute
140
+ TYPE: ::Integer
141
+
142
+ NAME: ::Symbol
143
+
144
+ # @private
145
+ ORDER: ::Integer
146
+
147
+ # @private
148
+ DATATYPE: untyped
149
+ end
150
+
151
+ class Flags < Attribute
152
+ TYPE: ::Integer
153
+
154
+ NAME: ::Symbol
155
+
156
+ # @private
157
+ ORDER: ::Integer
158
+
159
+ # @private
160
+ DATATYPE: untyped
161
+ end
162
+
163
+ class Prog < Attribute
164
+ TYPE: ::Integer
165
+
166
+ NAME: ::Symbol
167
+
168
+ # @private
169
+ ORDER: ::Integer
170
+
171
+ # @private
172
+ DATATYPE: untyped
173
+ end
174
+
175
+ class Version < Attribute
176
+ TYPE: ::Integer
177
+
178
+ NAME: ::Symbol
179
+
180
+ # @private
181
+ ORDER: ::Integer
182
+
183
+ # @private
184
+ DATATYPE: untyped
185
+ end
186
+
187
+ class Proc < Attribute
188
+ TYPE: ::Integer
189
+
190
+ NAME: ::Symbol
191
+
192
+ # @private
193
+ ORDER: ::Integer
194
+
195
+ # @private
196
+ DATATYPE: untyped
197
+ end
198
+
199
+ class ServiceTime < Attribute
200
+ TYPE: ::Integer
201
+
202
+ NAME: ::Symbol
203
+
204
+ # @private
205
+ ORDER: ::Integer
206
+
207
+ # @private
208
+ DATATYPE: untyped
209
+ end
210
+
211
+ class Pad < Attribute
212
+ TYPE: ::Integer
213
+
214
+ NAME: ::Symbol
215
+
216
+ # @private
217
+ ORDER: ::Integer
218
+
219
+ # @private
220
+ DATATYPE: untyped
221
+ end
222
+
223
+ class Saddr4 < Attribute
224
+ TYPE: ::Integer
225
+
226
+ NAME: ::Symbol
227
+
228
+ # @private
229
+ ORDER: ::Integer
230
+
231
+ # @private
232
+ DATATYPE: untyped
233
+ end
234
+
235
+ class Daddr4 < Attribute
236
+ TYPE: ::Integer
237
+
238
+ NAME: ::Symbol
239
+
240
+ # @private
241
+ ORDER: ::Integer
242
+
243
+ # @private
244
+ DATATYPE: untyped
245
+ end
246
+
247
+ class Saddr6 < Attribute
248
+ TYPE: ::Integer
249
+
250
+ NAME: ::Symbol
251
+
252
+ # @private
253
+ ORDER: ::Integer
254
+
255
+ # @private
256
+ DATATYPE: untyped
257
+ end
258
+
259
+ class Daddr6 < Attribute
260
+ TYPE: ::Integer
261
+
262
+ NAME: ::Symbol
263
+
264
+ # @private
265
+ ORDER: ::Integer
266
+
267
+ # @private
268
+ DATATYPE: untyped
269
+ end
270
+
271
+ class Sport < Attribute
272
+ TYPE: ::Integer
273
+
274
+ NAME: ::Symbol
275
+
276
+ # @private
277
+ ORDER: ::Integer
278
+
279
+ # @private
280
+ DATATYPE: untyped
281
+ end
282
+
283
+ class Dport < Attribute
284
+ TYPE: ::Integer
285
+
286
+ NAME: ::Symbol
287
+
288
+ # @private
289
+ ORDER: ::Integer
290
+
291
+ # @private
292
+ DATATYPE: untyped
293
+ end
294
+
295
+ class CompoundOps < Attribute
296
+ TYPE: ::Integer
297
+
298
+ NAME: ::Symbol
299
+
300
+ # @private
301
+ MULTI: bool
302
+
303
+ # @private
304
+ ORDER: ::Integer
305
+
306
+ # @private
307
+ DATATYPE: untyped
308
+ end
309
+
310
+ # @private
311
+ BY_NAME: Hash[::Symbol, Attribute]
312
+
313
+ # @private
314
+ BY_TYPE: Hash[::Integer, Attribute]
315
+
316
+ # @rbs return: ::Integer
317
+ # @return [Integer]
318
+ # @see Xid
319
+ def xid: () -> ::Integer
320
+
321
+ # @rbs return: ::Integer
322
+ # @return [Integer]
323
+ # @see Flags
324
+ def flags: () -> ::Integer
325
+
326
+ # @rbs return: ::Integer
327
+ # @return [Integer]
328
+ # @see Prog
329
+ def prog: () -> ::Integer
330
+
331
+ # @rbs return: ::Integer
332
+ # @return [Integer]
333
+ # @see Version
334
+ def version: () -> ::Integer
335
+
336
+ # @rbs return: ::Integer
337
+ # @return [Integer]
338
+ # @see Proc
339
+ def proc: () -> ::Integer
340
+
341
+ # @rbs return: ::Integer
342
+ # @return [Integer]
343
+ # @see ServiceTime
344
+ def service_time: () -> ::Integer
345
+
346
+ # @rbs return: ::Integer
347
+ # @return [Integer]
348
+ # @see Saddr4
349
+ def saddr4: () -> ::Integer
350
+
351
+ # @rbs return: ::Integer
352
+ # @return [Integer]
353
+ # @see Daddr4
354
+ def daddr4: () -> ::Integer
355
+
356
+ # @rbs return: ::String
357
+ # @return [String]
358
+ # @see Saddr6
359
+ def saddr6: () -> ::String
360
+
361
+ # @rbs return: ::String
362
+ # @return [String]
363
+ # @see Daddr6
364
+ def daddr6: () -> ::String
365
+
366
+ # @rbs return: ::Integer
367
+ # @return [Integer]
368
+ # @see Sport
369
+ def sport: () -> ::Integer
370
+
371
+ # @rbs return: ::Integer
372
+ # @return [Integer]
373
+ # @see Dport
374
+ def dport: () -> ::Integer
375
+
376
+ # @rbs return: ::Array[::Integer]
377
+ # @return [Array<Integer>]
378
+ # @see CompoundOps
379
+ def compound_ops: () -> ::Array[::Integer]
380
+
381
+ # Looks up Attribute class by name.
382
+ # @rbs name: Symbol
383
+ # @rbs return: Attribute
384
+ # @param [Symbol] name
385
+ # @return [Attribute]
386
+ def self.by_name: (Symbol name) -> Attribute
387
+
388
+ # Looks up Attribute class by type value.
389
+ # @rbs type: Integer
390
+ # @rbs return: Attribute
391
+ # @param [Integer] type
392
+ # @return [Attribute]
393
+ def self.by_type: (Integer type) -> Attribute
394
+ end
395
+
396
+ class Server < ::Nl::AttributeSet
397
+ # Abstract class
398
+ class Attribute < ::Nl::AttributeSet::Attribute
399
+ end
400
+
401
+ class Threads < Attribute
402
+ TYPE: ::Integer
403
+
404
+ NAME: ::Symbol
405
+
406
+ # @private
407
+ MULTI: bool
408
+
409
+ # @private
410
+ ORDER: ::Integer
411
+
412
+ # @private
413
+ DATATYPE: untyped
414
+ end
415
+
416
+ class Gracetime < Attribute
417
+ TYPE: ::Integer
418
+
419
+ NAME: ::Symbol
420
+
421
+ # @private
422
+ ORDER: ::Integer
423
+
424
+ # @private
425
+ DATATYPE: untyped
426
+ end
427
+
428
+ class Leasetime < Attribute
429
+ TYPE: ::Integer
430
+
431
+ NAME: ::Symbol
432
+
433
+ # @private
434
+ ORDER: ::Integer
435
+
436
+ # @private
437
+ DATATYPE: untyped
438
+ end
439
+
440
+ class Scope < Attribute
441
+ TYPE: ::Integer
442
+
443
+ NAME: ::Symbol
444
+
445
+ # @private
446
+ ORDER: ::Integer
447
+
448
+ # @private
449
+ DATATYPE: untyped
450
+ end
451
+
452
+ class MinThreads < Attribute
453
+ TYPE: ::Integer
454
+
455
+ NAME: ::Symbol
456
+
457
+ # @private
458
+ ORDER: ::Integer
459
+
460
+ # @private
461
+ DATATYPE: untyped
462
+ end
463
+
464
+ class FhKey < Attribute
465
+ TYPE: ::Integer
466
+
467
+ NAME: ::Symbol
468
+
469
+ # @private
470
+ ORDER: ::Integer
471
+
472
+ # @private
473
+ DATATYPE: untyped
474
+ end
475
+
476
+ # @private
477
+ BY_NAME: Hash[::Symbol, Attribute]
478
+
479
+ # @private
480
+ BY_TYPE: Hash[::Integer, Attribute]
481
+
482
+ # @rbs return: ::Array[::Integer]
483
+ # @return [Array<Integer>]
484
+ # @see Threads
485
+ def threads: () -> ::Array[::Integer]
486
+
487
+ # @rbs return: ::Integer
488
+ # @return [Integer]
489
+ # @see Gracetime
490
+ def gracetime: () -> ::Integer
491
+
492
+ # @rbs return: ::Integer
493
+ # @return [Integer]
494
+ # @see Leasetime
495
+ def leasetime: () -> ::Integer
496
+
497
+ # @rbs return: ::String
498
+ # @return [String]
499
+ # @see Scope
500
+ def scope: () -> ::String
501
+
502
+ # @rbs return: ::Integer
503
+ # @return [Integer]
504
+ # @see MinThreads
505
+ def min_threads: () -> ::Integer
506
+
507
+ # @rbs return: ::String
508
+ # @return [String]
509
+ # @see FhKey
510
+ def fh_key: () -> ::String
511
+
512
+ # Looks up Attribute class by name.
513
+ # @rbs name: Symbol
514
+ # @rbs return: Attribute
515
+ # @param [Symbol] name
516
+ # @return [Attribute]
517
+ def self.by_name: (Symbol name) -> Attribute
518
+
519
+ # Looks up Attribute class by type value.
520
+ # @rbs type: Integer
521
+ # @rbs return: Attribute
522
+ # @param [Integer] type
523
+ # @return [Attribute]
524
+ def self.by_type: (Integer type) -> Attribute
525
+ end
526
+
527
+ class Version < ::Nl::AttributeSet
528
+ # Abstract class
529
+ class Attribute < ::Nl::AttributeSet::Attribute
530
+ end
531
+
532
+ class Major < Attribute
533
+ TYPE: ::Integer
534
+
535
+ NAME: ::Symbol
536
+
537
+ # @private
538
+ ORDER: ::Integer
539
+
540
+ # @private
541
+ DATATYPE: untyped
542
+ end
543
+
544
+ class Minor < Attribute
545
+ TYPE: ::Integer
546
+
547
+ NAME: ::Symbol
548
+
549
+ # @private
550
+ ORDER: ::Integer
551
+
552
+ # @private
553
+ DATATYPE: untyped
554
+ end
555
+
556
+ class Enabled < Attribute
557
+ TYPE: ::Integer
558
+
559
+ NAME: ::Symbol
560
+
561
+ # @private
562
+ ORDER: ::Integer
563
+
564
+ # @private
565
+ DATATYPE: untyped
566
+ end
567
+
568
+ # @private
569
+ BY_NAME: Hash[::Symbol, Attribute]
570
+
571
+ # @private
572
+ BY_TYPE: Hash[::Integer, Attribute]
573
+
574
+ # @rbs return: ::Integer
575
+ # @return [Integer]
576
+ # @see Major
577
+ def major: () -> ::Integer
578
+
579
+ # @rbs return: ::Integer
580
+ # @return [Integer]
581
+ # @see Minor
582
+ def minor: () -> ::Integer
583
+
584
+ # @rbs return: ::Integer
585
+ # @return [Integer]
586
+ # @see Enabled
587
+ def enabled: () -> ::Integer
588
+
589
+ # Looks up Attribute class by name.
590
+ # @rbs name: Symbol
591
+ # @rbs return: Attribute
592
+ # @param [Symbol] name
593
+ # @return [Attribute]
594
+ def self.by_name: (Symbol name) -> Attribute
595
+
596
+ # Looks up Attribute class by type value.
597
+ # @rbs type: Integer
598
+ # @rbs return: Attribute
599
+ # @param [Integer] type
600
+ # @return [Attribute]
601
+ def self.by_type: (Integer type) -> Attribute
602
+ end
603
+
604
+ class ServerProto < ::Nl::AttributeSet
605
+ # Abstract class
606
+ class Attribute < ::Nl::AttributeSet::Attribute
607
+ end
608
+
609
+ class Version < Attribute
610
+ TYPE: ::Integer
611
+
612
+ NAME: ::Symbol
613
+
614
+ # @private
615
+ MULTI: bool
616
+
617
+ # @private
618
+ ORDER: ::Integer
619
+ end
620
+
621
+ # @private
622
+ BY_NAME: Hash[::Symbol, Attribute]
623
+
624
+ # @private
625
+ BY_TYPE: Hash[::Integer, Attribute]
626
+
627
+ # @rbs return: ::Array[AttributeSets::Version]
628
+ # @return [Array<AttributeSets::Version>]
629
+ # @see Version
630
+ def version: () -> ::Array[AttributeSets::Version]
631
+
632
+ # Looks up Attribute class by name.
633
+ # @rbs name: Symbol
634
+ # @rbs return: Attribute
635
+ # @param [Symbol] name
636
+ # @return [Attribute]
637
+ def self.by_name: (Symbol name) -> Attribute
638
+
639
+ # Looks up Attribute class by type value.
640
+ # @rbs type: Integer
641
+ # @rbs return: Attribute
642
+ # @param [Integer] type
643
+ # @return [Attribute]
644
+ def self.by_type: (Integer type) -> Attribute
645
+ end
646
+
647
+ class Sock < ::Nl::AttributeSet
648
+ # Abstract class
649
+ class Attribute < ::Nl::AttributeSet::Attribute
650
+ end
651
+
652
+ class Addr < Attribute
653
+ TYPE: ::Integer
654
+
655
+ NAME: ::Symbol
656
+
657
+ # @private
658
+ ORDER: ::Integer
659
+
660
+ # @private
661
+ DATATYPE: untyped
662
+ end
663
+
664
+ class TransportName < Attribute
665
+ TYPE: ::Integer
666
+
667
+ NAME: ::Symbol
668
+
669
+ # @private
670
+ ORDER: ::Integer
671
+
672
+ # @private
673
+ DATATYPE: untyped
674
+ end
675
+
676
+ # @private
677
+ BY_NAME: Hash[::Symbol, Attribute]
678
+
679
+ # @private
680
+ BY_TYPE: Hash[::Integer, Attribute]
681
+
682
+ # @rbs return: ::String
683
+ # @return [String]
684
+ # @see Addr
685
+ def addr: () -> ::String
686
+
687
+ # @rbs return: ::String
688
+ # @return [String]
689
+ # @see TransportName
690
+ def transport_name: () -> ::String
691
+
692
+ # Looks up Attribute class by name.
693
+ # @rbs name: Symbol
694
+ # @rbs return: Attribute
695
+ # @param [Symbol] name
696
+ # @return [Attribute]
697
+ def self.by_name: (Symbol name) -> Attribute
698
+
699
+ # Looks up Attribute class by type value.
700
+ # @rbs type: Integer
701
+ # @rbs return: Attribute
702
+ # @param [Integer] type
703
+ # @return [Attribute]
704
+ def self.by_type: (Integer type) -> Attribute
705
+ end
706
+
707
+ class ServerSock < ::Nl::AttributeSet
708
+ # Abstract class
709
+ class Attribute < ::Nl::AttributeSet::Attribute
710
+ end
711
+
712
+ class Addr < Attribute
713
+ TYPE: ::Integer
714
+
715
+ NAME: ::Symbol
716
+
717
+ # @private
718
+ MULTI: bool
719
+
720
+ # @private
721
+ ORDER: ::Integer
722
+ end
723
+
724
+ # @private
725
+ BY_NAME: Hash[::Symbol, Attribute]
726
+
727
+ # @private
728
+ BY_TYPE: Hash[::Integer, Attribute]
729
+
730
+ # @rbs return: ::Array[AttributeSets::Sock]
731
+ # @return [Array<AttributeSets::Sock>]
732
+ # @see Addr
733
+ def addr: () -> ::Array[AttributeSets::Sock]
734
+
735
+ # Looks up Attribute class by name.
736
+ # @rbs name: Symbol
737
+ # @rbs return: Attribute
738
+ # @param [Symbol] name
739
+ # @return [Attribute]
740
+ def self.by_name: (Symbol name) -> Attribute
741
+
742
+ # Looks up Attribute class by type value.
743
+ # @rbs type: Integer
744
+ # @rbs return: Attribute
745
+ # @param [Integer] type
746
+ # @return [Attribute]
747
+ def self.by_type: (Integer type) -> Attribute
748
+ end
749
+
750
+ class PoolMode < ::Nl::AttributeSet
751
+ # Abstract class
752
+ class Attribute < ::Nl::AttributeSet::Attribute
753
+ end
754
+
755
+ class Mode < Attribute
756
+ TYPE: ::Integer
757
+
758
+ NAME: ::Symbol
759
+
760
+ # @private
761
+ ORDER: ::Integer
762
+
763
+ # @private
764
+ DATATYPE: untyped
765
+ end
766
+
767
+ class Npools < Attribute
768
+ TYPE: ::Integer
769
+
770
+ NAME: ::Symbol
771
+
772
+ # @private
773
+ ORDER: ::Integer
774
+
775
+ # @private
776
+ DATATYPE: untyped
777
+ end
778
+
779
+ # @private
780
+ BY_NAME: Hash[::Symbol, Attribute]
781
+
782
+ # @private
783
+ BY_TYPE: Hash[::Integer, Attribute]
784
+
785
+ # @rbs return: ::String
786
+ # @return [String]
787
+ # @see Mode
788
+ def mode: () -> ::String
789
+
790
+ # @rbs return: ::Integer
791
+ # @return [Integer]
792
+ # @see Npools
793
+ def npools: () -> ::Integer
794
+
795
+ # Looks up Attribute class by name.
796
+ # @rbs name: Symbol
797
+ # @rbs return: Attribute
798
+ # @param [Symbol] name
799
+ # @return [Attribute]
800
+ def self.by_name: (Symbol name) -> Attribute
801
+
802
+ # Looks up Attribute class by type value.
803
+ # @rbs type: Integer
804
+ # @rbs return: Attribute
805
+ # @param [Integer] type
806
+ # @return [Attribute]
807
+ def self.by_type: (Integer type) -> Attribute
808
+ end
809
+
810
+ class Fslocation < ::Nl::AttributeSet
811
+ # Abstract class
812
+ class Attribute < ::Nl::AttributeSet::Attribute
813
+ end
814
+
815
+ class Host < Attribute
816
+ TYPE: ::Integer
817
+
818
+ NAME: ::Symbol
819
+
820
+ # @private
821
+ ORDER: ::Integer
822
+
823
+ # @private
824
+ DATATYPE: untyped
825
+ end
826
+
827
+ class Path < Attribute
828
+ TYPE: ::Integer
829
+
830
+ NAME: ::Symbol
831
+
832
+ # @private
833
+ ORDER: ::Integer
834
+
835
+ # @private
836
+ DATATYPE: untyped
837
+ end
838
+
839
+ # @private
840
+ BY_NAME: Hash[::Symbol, Attribute]
841
+
842
+ # @private
843
+ BY_TYPE: Hash[::Integer, Attribute]
844
+
845
+ # @rbs return: ::String
846
+ # @return [String]
847
+ # @see Host
848
+ def host: () -> ::String
849
+
850
+ # @rbs return: ::String
851
+ # @return [String]
852
+ # @see Path
853
+ def path: () -> ::String
854
+
855
+ # Looks up Attribute class by name.
856
+ # @rbs name: Symbol
857
+ # @rbs return: Attribute
858
+ # @param [Symbol] name
859
+ # @return [Attribute]
860
+ def self.by_name: (Symbol name) -> Attribute
861
+
862
+ # Looks up Attribute class by type value.
863
+ # @rbs type: Integer
864
+ # @rbs return: Attribute
865
+ # @param [Integer] type
866
+ # @return [Attribute]
867
+ def self.by_type: (Integer type) -> Attribute
868
+ end
869
+
870
+ class Fslocations < ::Nl::AttributeSet
871
+ # Abstract class
872
+ class Attribute < ::Nl::AttributeSet::Attribute
873
+ end
874
+
875
+ class Location < Attribute
876
+ TYPE: ::Integer
877
+
878
+ NAME: ::Symbol
879
+
880
+ # @private
881
+ MULTI: bool
882
+
883
+ # @private
884
+ ORDER: ::Integer
885
+ end
886
+
887
+ # @private
888
+ BY_NAME: Hash[::Symbol, Attribute]
889
+
890
+ # @private
891
+ BY_TYPE: Hash[::Integer, Attribute]
892
+
893
+ # @rbs return: ::Array[AttributeSets::Fslocation]
894
+ # @return [Array<AttributeSets::Fslocation>]
895
+ # @see Location
896
+ def location: () -> ::Array[AttributeSets::Fslocation]
897
+
898
+ # Looks up Attribute class by name.
899
+ # @rbs name: Symbol
900
+ # @rbs return: Attribute
901
+ # @param [Symbol] name
902
+ # @return [Attribute]
903
+ def self.by_name: (Symbol name) -> Attribute
904
+
905
+ # Looks up Attribute class by type value.
906
+ # @rbs type: Integer
907
+ # @rbs return: Attribute
908
+ # @param [Integer] type
909
+ # @return [Attribute]
910
+ def self.by_type: (Integer type) -> Attribute
911
+ end
912
+
913
+ class AuthFlavor < ::Nl::AttributeSet
914
+ # Abstract class
915
+ class Attribute < ::Nl::AttributeSet::Attribute
916
+ end
917
+
918
+ class Pseudoflavor < Attribute
919
+ TYPE: ::Integer
920
+
921
+ NAME: ::Symbol
922
+
923
+ # @private
924
+ ORDER: ::Integer
925
+
926
+ # @private
927
+ DATATYPE: untyped
928
+ end
929
+
930
+ # Known flags are defined in {Flags::ExportFlags}.
931
+ class Flags < Attribute
932
+ TYPE: ::Integer
933
+
934
+ NAME: ::Symbol
935
+
936
+ # @private
937
+ ORDER: ::Integer
938
+
939
+ # @private
940
+ DATATYPE: untyped
941
+ end
942
+
943
+ # @private
944
+ BY_NAME: Hash[::Symbol, Attribute]
945
+
946
+ # @private
947
+ BY_TYPE: Hash[::Integer, Attribute]
948
+
949
+ # @rbs return: ::Integer
950
+ # @return [Integer]
951
+ # @see Pseudoflavor
952
+ def pseudoflavor: () -> ::Integer
953
+
954
+ # Known flags are defined in {Flags::ExportFlags}.
955
+ # @rbs return: ::Integer
956
+ # @return [Integer]
957
+ # @see Flags
958
+ def flags: () -> ::Integer
959
+
960
+ # Looks up Attribute class by name.
961
+ # @rbs name: Symbol
962
+ # @rbs return: Attribute
963
+ # @param [Symbol] name
964
+ # @return [Attribute]
965
+ def self.by_name: (Symbol name) -> Attribute
966
+
967
+ # Looks up Attribute class by type value.
968
+ # @rbs type: Integer
969
+ # @rbs return: Attribute
970
+ # @param [Integer] type
971
+ # @return [Attribute]
972
+ def self.by_type: (Integer type) -> Attribute
973
+ end
974
+
975
+ class SvcExport < ::Nl::AttributeSet
976
+ # Abstract class
977
+ class Attribute < ::Nl::AttributeSet::Attribute
978
+ end
979
+
980
+ class Seqno < Attribute
981
+ TYPE: ::Integer
982
+
983
+ NAME: ::Symbol
984
+
985
+ # @private
986
+ ORDER: ::Integer
987
+
988
+ # @private
989
+ DATATYPE: untyped
990
+ end
991
+
992
+ class Client < Attribute
993
+ TYPE: ::Integer
994
+
995
+ NAME: ::Symbol
996
+
997
+ # @private
998
+ ORDER: ::Integer
999
+
1000
+ # @private
1001
+ DATATYPE: untyped
1002
+ end
1003
+
1004
+ class Path < Attribute
1005
+ TYPE: ::Integer
1006
+
1007
+ NAME: ::Symbol
1008
+
1009
+ # @private
1010
+ ORDER: ::Integer
1011
+
1012
+ # @private
1013
+ DATATYPE: untyped
1014
+ end
1015
+
1016
+ class Negative < Attribute
1017
+ TYPE: ::Integer
1018
+
1019
+ NAME: ::Symbol
1020
+
1021
+ # @private
1022
+ ORDER: ::Integer
1023
+
1024
+ # @private
1025
+ DATATYPE: untyped
1026
+ end
1027
+
1028
+ class Expiry < Attribute
1029
+ TYPE: ::Integer
1030
+
1031
+ NAME: ::Symbol
1032
+
1033
+ # @private
1034
+ ORDER: ::Integer
1035
+
1036
+ # @private
1037
+ DATATYPE: untyped
1038
+ end
1039
+
1040
+ class AnonUid < Attribute
1041
+ TYPE: ::Integer
1042
+
1043
+ NAME: ::Symbol
1044
+
1045
+ # @private
1046
+ ORDER: ::Integer
1047
+
1048
+ # @private
1049
+ DATATYPE: untyped
1050
+ end
1051
+
1052
+ class AnonGid < Attribute
1053
+ TYPE: ::Integer
1054
+
1055
+ NAME: ::Symbol
1056
+
1057
+ # @private
1058
+ ORDER: ::Integer
1059
+
1060
+ # @private
1061
+ DATATYPE: untyped
1062
+ end
1063
+
1064
+ class Fslocations < Attribute
1065
+ TYPE: ::Integer
1066
+
1067
+ NAME: ::Symbol
1068
+
1069
+ # @private
1070
+ ORDER: ::Integer
1071
+ end
1072
+
1073
+ class Uuid < Attribute
1074
+ TYPE: ::Integer
1075
+
1076
+ NAME: ::Symbol
1077
+
1078
+ # @private
1079
+ ORDER: ::Integer
1080
+
1081
+ # @private
1082
+ DATATYPE: untyped
1083
+ end
1084
+
1085
+ class Secinfo < Attribute
1086
+ TYPE: ::Integer
1087
+
1088
+ NAME: ::Symbol
1089
+
1090
+ # @private
1091
+ MULTI: bool
1092
+
1093
+ # @private
1094
+ ORDER: ::Integer
1095
+ end
1096
+
1097
+ # Known flags are defined in {Flags::XprtsecMode}.
1098
+ class Xprtsec < Attribute
1099
+ TYPE: ::Integer
1100
+
1101
+ NAME: ::Symbol
1102
+
1103
+ # @private
1104
+ MULTI: bool
1105
+
1106
+ # @private
1107
+ ORDER: ::Integer
1108
+
1109
+ # @private
1110
+ DATATYPE: untyped
1111
+ end
1112
+
1113
+ # Known flags are defined in {Flags::ExportFlags}.
1114
+ class Flags < Attribute
1115
+ TYPE: ::Integer
1116
+
1117
+ NAME: ::Symbol
1118
+
1119
+ # @private
1120
+ ORDER: ::Integer
1121
+
1122
+ # @private
1123
+ DATATYPE: untyped
1124
+ end
1125
+
1126
+ class Fsid < Attribute
1127
+ TYPE: ::Integer
1128
+
1129
+ NAME: ::Symbol
1130
+
1131
+ # @private
1132
+ ORDER: ::Integer
1133
+
1134
+ # @private
1135
+ DATATYPE: untyped
1136
+ end
1137
+
1138
+ # @private
1139
+ BY_NAME: Hash[::Symbol, Attribute]
1140
+
1141
+ # @private
1142
+ BY_TYPE: Hash[::Integer, Attribute]
1143
+
1144
+ # @rbs return: ::Integer
1145
+ # @return [Integer]
1146
+ # @see Seqno
1147
+ def seqno: () -> ::Integer
1148
+
1149
+ # @rbs return: ::String
1150
+ # @return [String]
1151
+ # @see Client
1152
+ def client: () -> ::String
1153
+
1154
+ # @rbs return: ::String
1155
+ # @return [String]
1156
+ # @see Path
1157
+ def path: () -> ::String
1158
+
1159
+ # @rbs return: ::Integer
1160
+ # @return [Integer]
1161
+ # @see Negative
1162
+ def negative: () -> ::Integer
1163
+
1164
+ # @rbs return: ::Integer
1165
+ # @return [Integer]
1166
+ # @see Expiry
1167
+ def expiry: () -> ::Integer
1168
+
1169
+ # @rbs return: ::Integer
1170
+ # @return [Integer]
1171
+ # @see AnonUid
1172
+ def anon_uid: () -> ::Integer
1173
+
1174
+ # @rbs return: ::Integer
1175
+ # @return [Integer]
1176
+ # @see AnonGid
1177
+ def anon_gid: () -> ::Integer
1178
+
1179
+ # @rbs return: AttributeSets::Fslocations
1180
+ # @return [AttributeSets::Fslocations]
1181
+ # @see Fslocations
1182
+ def fslocations: () -> AttributeSets::Fslocations
1183
+
1184
+ # @rbs return: ::String
1185
+ # @return [String]
1186
+ # @see Uuid
1187
+ def uuid: () -> ::String
1188
+
1189
+ # @rbs return: ::Array[AttributeSets::AuthFlavor]
1190
+ # @return [Array<AttributeSets::AuthFlavor>]
1191
+ # @see Secinfo
1192
+ def secinfo: () -> ::Array[AttributeSets::AuthFlavor]
1193
+
1194
+ # Known flags are defined in {Flags::XprtsecMode}.
1195
+ # @rbs return: ::Array[::Integer]
1196
+ # @return [Array<Integer>]
1197
+ # @see Xprtsec
1198
+ def xprtsec: () -> ::Array[::Integer]
1199
+
1200
+ # Known flags are defined in {Flags::ExportFlags}.
1201
+ # @rbs return: ::Integer
1202
+ # @return [Integer]
1203
+ # @see Flags
1204
+ def flags: () -> ::Integer
1205
+
1206
+ # @rbs return: ::Integer
1207
+ # @return [Integer]
1208
+ # @see Fsid
1209
+ def fsid: () -> ::Integer
1210
+
1211
+ # Looks up Attribute class by name.
1212
+ # @rbs name: Symbol
1213
+ # @rbs return: Attribute
1214
+ # @param [Symbol] name
1215
+ # @return [Attribute]
1216
+ def self.by_name: (Symbol name) -> Attribute
1217
+
1218
+ # Looks up Attribute class by type value.
1219
+ # @rbs type: Integer
1220
+ # @rbs return: Attribute
1221
+ # @param [Integer] type
1222
+ # @return [Attribute]
1223
+ def self.by_type: (Integer type) -> Attribute
1224
+ end
1225
+
1226
+ class SvcExportReqs < ::Nl::AttributeSet
1227
+ # Abstract class
1228
+ class Attribute < ::Nl::AttributeSet::Attribute
1229
+ end
1230
+
1231
+ class Requests < Attribute
1232
+ TYPE: ::Integer
1233
+
1234
+ NAME: ::Symbol
1235
+
1236
+ # @private
1237
+ MULTI: bool
1238
+
1239
+ # @private
1240
+ ORDER: ::Integer
1241
+ end
1242
+
1243
+ # @private
1244
+ BY_NAME: Hash[::Symbol, Attribute]
1245
+
1246
+ # @private
1247
+ BY_TYPE: Hash[::Integer, Attribute]
1248
+
1249
+ # @rbs return: ::Array[AttributeSets::SvcExport]
1250
+ # @return [Array<AttributeSets::SvcExport>]
1251
+ # @see Requests
1252
+ def requests: () -> ::Array[AttributeSets::SvcExport]
1253
+
1254
+ # Looks up Attribute class by name.
1255
+ # @rbs name: Symbol
1256
+ # @rbs return: Attribute
1257
+ # @param [Symbol] name
1258
+ # @return [Attribute]
1259
+ def self.by_name: (Symbol name) -> Attribute
1260
+
1261
+ # Looks up Attribute class by type value.
1262
+ # @rbs type: Integer
1263
+ # @rbs return: Attribute
1264
+ # @param [Integer] type
1265
+ # @return [Attribute]
1266
+ def self.by_type: (Integer type) -> Attribute
1267
+ end
1268
+
1269
+ class Expkey < ::Nl::AttributeSet
1270
+ # Abstract class
1271
+ class Attribute < ::Nl::AttributeSet::Attribute
1272
+ end
1273
+
1274
+ class Seqno < Attribute
1275
+ TYPE: ::Integer
1276
+
1277
+ NAME: ::Symbol
1278
+
1279
+ # @private
1280
+ ORDER: ::Integer
1281
+
1282
+ # @private
1283
+ DATATYPE: untyped
1284
+ end
1285
+
1286
+ class Client < Attribute
1287
+ TYPE: ::Integer
1288
+
1289
+ NAME: ::Symbol
1290
+
1291
+ # @private
1292
+ ORDER: ::Integer
1293
+
1294
+ # @private
1295
+ DATATYPE: untyped
1296
+ end
1297
+
1298
+ class Fsidtype < Attribute
1299
+ TYPE: ::Integer
1300
+
1301
+ NAME: ::Symbol
1302
+
1303
+ # @private
1304
+ ORDER: ::Integer
1305
+
1306
+ # @private
1307
+ DATATYPE: untyped
1308
+ end
1309
+
1310
+ class Fsid < Attribute
1311
+ TYPE: ::Integer
1312
+
1313
+ NAME: ::Symbol
1314
+
1315
+ # @private
1316
+ ORDER: ::Integer
1317
+
1318
+ # @private
1319
+ DATATYPE: untyped
1320
+ end
1321
+
1322
+ class Negative < Attribute
1323
+ TYPE: ::Integer
1324
+
1325
+ NAME: ::Symbol
1326
+
1327
+ # @private
1328
+ ORDER: ::Integer
1329
+
1330
+ # @private
1331
+ DATATYPE: untyped
1332
+ end
1333
+
1334
+ class Expiry < Attribute
1335
+ TYPE: ::Integer
1336
+
1337
+ NAME: ::Symbol
1338
+
1339
+ # @private
1340
+ ORDER: ::Integer
1341
+
1342
+ # @private
1343
+ DATATYPE: untyped
1344
+ end
1345
+
1346
+ class Path < Attribute
1347
+ TYPE: ::Integer
1348
+
1349
+ NAME: ::Symbol
1350
+
1351
+ # @private
1352
+ ORDER: ::Integer
1353
+
1354
+ # @private
1355
+ DATATYPE: untyped
1356
+ end
1357
+
1358
+ # @private
1359
+ BY_NAME: Hash[::Symbol, Attribute]
1360
+
1361
+ # @private
1362
+ BY_TYPE: Hash[::Integer, Attribute]
1363
+
1364
+ # @rbs return: ::Integer
1365
+ # @return [Integer]
1366
+ # @see Seqno
1367
+ def seqno: () -> ::Integer
1368
+
1369
+ # @rbs return: ::String
1370
+ # @return [String]
1371
+ # @see Client
1372
+ def client: () -> ::String
1373
+
1374
+ # @rbs return: ::Integer
1375
+ # @return [Integer]
1376
+ # @see Fsidtype
1377
+ def fsidtype: () -> ::Integer
1378
+
1379
+ # @rbs return: ::String
1380
+ # @return [String]
1381
+ # @see Fsid
1382
+ def fsid: () -> ::String
1383
+
1384
+ # @rbs return: ::Integer
1385
+ # @return [Integer]
1386
+ # @see Negative
1387
+ def negative: () -> ::Integer
1388
+
1389
+ # @rbs return: ::Integer
1390
+ # @return [Integer]
1391
+ # @see Expiry
1392
+ def expiry: () -> ::Integer
1393
+
1394
+ # @rbs return: ::String
1395
+ # @return [String]
1396
+ # @see Path
1397
+ def path: () -> ::String
1398
+
1399
+ # Looks up Attribute class by name.
1400
+ # @rbs name: Symbol
1401
+ # @rbs return: Attribute
1402
+ # @param [Symbol] name
1403
+ # @return [Attribute]
1404
+ def self.by_name: (Symbol name) -> Attribute
1405
+
1406
+ # Looks up Attribute class by type value.
1407
+ # @rbs type: Integer
1408
+ # @rbs return: Attribute
1409
+ # @param [Integer] type
1410
+ # @return [Attribute]
1411
+ def self.by_type: (Integer type) -> Attribute
1412
+ end
1413
+
1414
+ class ExpkeyReqs < ::Nl::AttributeSet
1415
+ # Abstract class
1416
+ class Attribute < ::Nl::AttributeSet::Attribute
1417
+ end
1418
+
1419
+ class Requests < Attribute
1420
+ TYPE: ::Integer
1421
+
1422
+ NAME: ::Symbol
1423
+
1424
+ # @private
1425
+ MULTI: bool
1426
+
1427
+ # @private
1428
+ ORDER: ::Integer
1429
+ end
1430
+
1431
+ # @private
1432
+ BY_NAME: Hash[::Symbol, Attribute]
1433
+
1434
+ # @private
1435
+ BY_TYPE: Hash[::Integer, Attribute]
1436
+
1437
+ # @rbs return: ::Array[AttributeSets::Expkey]
1438
+ # @return [Array<AttributeSets::Expkey>]
1439
+ # @see Requests
1440
+ def requests: () -> ::Array[AttributeSets::Expkey]
1441
+
1442
+ # Looks up Attribute class by name.
1443
+ # @rbs name: Symbol
1444
+ # @rbs return: Attribute
1445
+ # @param [Symbol] name
1446
+ # @return [Attribute]
1447
+ def self.by_name: (Symbol name) -> Attribute
1448
+
1449
+ # Looks up Attribute class by type value.
1450
+ # @rbs type: Integer
1451
+ # @rbs return: Attribute
1452
+ # @param [Integer] type
1453
+ # @return [Attribute]
1454
+ def self.by_type: (Integer type) -> Attribute
1455
+ end
1456
+
1457
+ class CacheFlush < ::Nl::AttributeSet
1458
+ # Abstract class
1459
+ class Attribute < ::Nl::AttributeSet::Attribute
1460
+ end
1461
+
1462
+ # Known flags are defined in {Flags::CacheType}.
1463
+ class Mask < Attribute
1464
+ TYPE: ::Integer
1465
+
1466
+ NAME: ::Symbol
1467
+
1468
+ # @private
1469
+ ORDER: ::Integer
1470
+
1471
+ # @private
1472
+ DATATYPE: untyped
1473
+ end
1474
+
1475
+ # @private
1476
+ BY_NAME: Hash[::Symbol, Attribute]
1477
+
1478
+ # @private
1479
+ BY_TYPE: Hash[::Integer, Attribute]
1480
+
1481
+ # Known flags are defined in {Flags::CacheType}.
1482
+ # @rbs return: ::Integer
1483
+ # @return [Integer]
1484
+ # @see Mask
1485
+ def mask: () -> ::Integer
1486
+
1487
+ # Looks up Attribute class by name.
1488
+ # @rbs name: Symbol
1489
+ # @rbs return: Attribute
1490
+ # @param [Symbol] name
1491
+ # @return [Attribute]
1492
+ def self.by_name: (Symbol name) -> Attribute
1493
+
1494
+ # Looks up Attribute class by type value.
1495
+ # @rbs type: Integer
1496
+ # @rbs return: Attribute
1497
+ # @param [Integer] type
1498
+ # @return [Attribute]
1499
+ def self.by_type: (Integer type) -> Attribute
1500
+ end
1501
+
1502
+ class UnlockIp < ::Nl::AttributeSet
1503
+ # Abstract class
1504
+ class Attribute < ::Nl::AttributeSet::Attribute
1505
+ end
1506
+
1507
+ # struct sockaddr_in or struct sockaddr_in6.
1508
+ class Address < Attribute
1509
+ TYPE: ::Integer
1510
+
1511
+ NAME: ::Symbol
1512
+
1513
+ # @private
1514
+ ORDER: ::Integer
1515
+
1516
+ # @private
1517
+ DATATYPE: untyped
1518
+ end
1519
+
1520
+ # @private
1521
+ BY_NAME: Hash[::Symbol, Attribute]
1522
+
1523
+ # @private
1524
+ BY_TYPE: Hash[::Integer, Attribute]
1525
+
1526
+ # struct sockaddr_in or struct sockaddr_in6.
1527
+ # @rbs return: ::String
1528
+ # @return [String]
1529
+ # @see Address
1530
+ def address: () -> ::String
1531
+
1532
+ # Looks up Attribute class by name.
1533
+ # @rbs name: Symbol
1534
+ # @rbs return: Attribute
1535
+ # @param [Symbol] name
1536
+ # @return [Attribute]
1537
+ def self.by_name: (Symbol name) -> Attribute
1538
+
1539
+ # Looks up Attribute class by type value.
1540
+ # @rbs type: Integer
1541
+ # @rbs return: Attribute
1542
+ # @param [Integer] type
1543
+ # @return [Attribute]
1544
+ def self.by_type: (Integer type) -> Attribute
1545
+ end
1546
+
1547
+ class UnlockFilesystem < ::Nl::AttributeSet
1548
+ # Abstract class
1549
+ class Attribute < ::Nl::AttributeSet::Attribute
1550
+ end
1551
+
1552
+ # Filesystem path whose state should be released.
1553
+ class Path < Attribute
1554
+ TYPE: ::Integer
1555
+
1556
+ NAME: ::Symbol
1557
+
1558
+ # @private
1559
+ ORDER: ::Integer
1560
+
1561
+ # @private
1562
+ DATATYPE: untyped
1563
+ end
1564
+
1565
+ # @private
1566
+ BY_NAME: Hash[::Symbol, Attribute]
1567
+
1568
+ # @private
1569
+ BY_TYPE: Hash[::Integer, Attribute]
1570
+
1571
+ # Filesystem path whose state should be released.
1572
+ # @rbs return: ::String
1573
+ # @return [String]
1574
+ # @see Path
1575
+ def path: () -> ::String
1576
+
1577
+ # Looks up Attribute class by name.
1578
+ # @rbs name: Symbol
1579
+ # @rbs return: Attribute
1580
+ # @param [Symbol] name
1581
+ # @return [Attribute]
1582
+ def self.by_name: (Symbol name) -> Attribute
1583
+
1584
+ # Looks up Attribute class by type value.
1585
+ # @rbs type: Integer
1586
+ # @rbs return: Attribute
1587
+ # @param [Integer] type
1588
+ # @return [Attribute]
1589
+ def self.by_type: (Integer type) -> Attribute
1590
+ end
1591
+
1592
+ class UnlockExport < ::Nl::AttributeSet
1593
+ # Abstract class
1594
+ class Attribute < ::Nl::AttributeSet::Attribute
1595
+ end
1596
+
1597
+ # Export path whose NFSv4 state should be revoked. All state (opens, locks, delegations, layouts) acquired through any export of this path is revoked, regardless of which client holds the state. Intended for use after all clients have been unexported from a given path, enabling the underlying filesystem to be unmounted.
1598
+ class Path < Attribute
1599
+ TYPE: ::Integer
1600
+
1601
+ NAME: ::Symbol
1602
+
1603
+ # @private
1604
+ ORDER: ::Integer
1605
+
1606
+ # @private
1607
+ DATATYPE: untyped
1608
+ end
1609
+
1610
+ # @private
1611
+ BY_NAME: Hash[::Symbol, Attribute]
1612
+
1613
+ # @private
1614
+ BY_TYPE: Hash[::Integer, Attribute]
1615
+
1616
+ # Export path whose NFSv4 state should be revoked. All state (opens, locks, delegations, layouts) acquired through any export of this path is revoked, regardless of which client holds the state. Intended for use after all clients have been unexported from a given path, enabling the underlying filesystem to be unmounted.
1617
+ # @rbs return: ::String
1618
+ # @return [String]
1619
+ # @see Path
1620
+ def path: () -> ::String
1621
+
1622
+ # Looks up Attribute class by name.
1623
+ # @rbs name: Symbol
1624
+ # @rbs return: Attribute
1625
+ # @param [Symbol] name
1626
+ # @return [Attribute]
1627
+ def self.by_name: (Symbol name) -> Attribute
1628
+
1629
+ # Looks up Attribute class by type value.
1630
+ # @rbs type: Integer
1631
+ # @rbs return: Attribute
1632
+ # @param [Integer] type
1633
+ # @return [Attribute]
1634
+ def self.by_type: (Integer type) -> Attribute
1635
+ end
1636
+ end
1637
+
1638
+ module Messages
1639
+ # dump pending nfsd rpc
1640
+ class DumpRpcStatusGetRequest < ::Nl::Genl::Message
1641
+ TYPE: ::Integer
1642
+
1643
+ FIXED_HEADER: untyped
1644
+
1645
+ ATTRIBUTE_SET: untyped
1646
+
1647
+ ATTRIBUTES: untyped
1648
+ end
1649
+
1650
+ # dump pending nfsd rpc
1651
+ class DumpRpcStatusGetReply < ::Nl::Genl::Message
1652
+ TYPE: ::Integer
1653
+
1654
+ FIXED_HEADER: untyped
1655
+
1656
+ ATTRIBUTE_SET: untyped
1657
+
1658
+ ATTRIBUTES: untyped
1659
+
1660
+ # @rbs return: ::Integer
1661
+ # @return [Integer]
1662
+ # @see AttributeSets::RpcStatus::Xid
1663
+ def xid: () -> ::Integer
1664
+
1665
+ # @rbs return: ::Integer
1666
+ # @return [Integer]
1667
+ # @see AttributeSets::RpcStatus::Flags
1668
+ def flags: () -> ::Integer
1669
+
1670
+ # @rbs return: ::Integer
1671
+ # @return [Integer]
1672
+ # @see AttributeSets::RpcStatus::Prog
1673
+ def prog: () -> ::Integer
1674
+
1675
+ # @rbs return: ::Integer
1676
+ # @return [Integer]
1677
+ # @see AttributeSets::RpcStatus::Version
1678
+ def version: () -> ::Integer
1679
+
1680
+ # @rbs return: ::Integer
1681
+ # @return [Integer]
1682
+ # @see AttributeSets::RpcStatus::Proc
1683
+ def proc: () -> ::Integer
1684
+
1685
+ # @rbs return: ::Integer
1686
+ # @return [Integer]
1687
+ # @see AttributeSets::RpcStatus::ServiceTime
1688
+ def service_time: () -> ::Integer
1689
+
1690
+ # @rbs return: ::Integer
1691
+ # @return [Integer]
1692
+ # @see AttributeSets::RpcStatus::Saddr4
1693
+ def saddr4: () -> ::Integer
1694
+
1695
+ # @rbs return: ::Integer
1696
+ # @return [Integer]
1697
+ # @see AttributeSets::RpcStatus::Daddr4
1698
+ def daddr4: () -> ::Integer
1699
+
1700
+ # @rbs return: ::String
1701
+ # @return [String]
1702
+ # @see AttributeSets::RpcStatus::Saddr6
1703
+ def saddr6: () -> ::String
1704
+
1705
+ # @rbs return: ::String
1706
+ # @return [String]
1707
+ # @see AttributeSets::RpcStatus::Daddr6
1708
+ def daddr6: () -> ::String
1709
+
1710
+ # @rbs return: ::Integer
1711
+ # @return [Integer]
1712
+ # @see AttributeSets::RpcStatus::Sport
1713
+ def sport: () -> ::Integer
1714
+
1715
+ # @rbs return: ::Integer
1716
+ # @return [Integer]
1717
+ # @see AttributeSets::RpcStatus::Dport
1718
+ def dport: () -> ::Integer
1719
+
1720
+ # @rbs return: ::Array[::Integer]
1721
+ # @return [Array<Integer>]
1722
+ # @see AttributeSets::RpcStatus::CompoundOps
1723
+ def compound_ops: () -> ::Array[::Integer]
1724
+ end
1725
+
1726
+ # set the maximum number of running threads
1727
+ #
1728
+ # Requires CAP_NET_ADMIN in the initial user namespace.
1729
+ class DoThreadsSetRequest < ::Nl::Genl::Message
1730
+ TYPE: ::Integer
1731
+
1732
+ FIXED_HEADER: untyped
1733
+
1734
+ ATTRIBUTE_SET: untyped
1735
+
1736
+ ATTRIBUTES: untyped
1737
+
1738
+ # @rbs return: ::Array[::Integer]
1739
+ # @return [Array<Integer>]
1740
+ # @see AttributeSets::Server::Threads
1741
+ def threads: () -> ::Array[::Integer]
1742
+
1743
+ # @rbs return: ::Integer
1744
+ # @return [Integer]
1745
+ # @see AttributeSets::Server::Gracetime
1746
+ def gracetime: () -> ::Integer
1747
+
1748
+ # @rbs return: ::Integer
1749
+ # @return [Integer]
1750
+ # @see AttributeSets::Server::Leasetime
1751
+ def leasetime: () -> ::Integer
1752
+
1753
+ # @rbs return: ::String
1754
+ # @return [String]
1755
+ # @see AttributeSets::Server::Scope
1756
+ def scope: () -> ::String
1757
+
1758
+ # @rbs return: ::Integer
1759
+ # @return [Integer]
1760
+ # @see AttributeSets::Server::MinThreads
1761
+ def min_threads: () -> ::Integer
1762
+
1763
+ # @rbs return: ::String
1764
+ # @return [String]
1765
+ # @see AttributeSets::Server::FhKey
1766
+ def fh_key: () -> ::String
1767
+ end
1768
+
1769
+ # get the maximum number of running threads
1770
+ class DoThreadsGetRequest < ::Nl::Genl::Message
1771
+ TYPE: ::Integer
1772
+
1773
+ FIXED_HEADER: untyped
1774
+
1775
+ ATTRIBUTE_SET: untyped
1776
+
1777
+ ATTRIBUTES: untyped
1778
+ end
1779
+
1780
+ # get the maximum number of running threads
1781
+ class DoThreadsGetReply < ::Nl::Genl::Message
1782
+ TYPE: ::Integer
1783
+
1784
+ FIXED_HEADER: untyped
1785
+
1786
+ ATTRIBUTE_SET: untyped
1787
+
1788
+ ATTRIBUTES: untyped
1789
+
1790
+ # @rbs return: ::Array[::Integer]
1791
+ # @return [Array<Integer>]
1792
+ # @see AttributeSets::Server::Threads
1793
+ def threads: () -> ::Array[::Integer]
1794
+
1795
+ # @rbs return: ::Integer
1796
+ # @return [Integer]
1797
+ # @see AttributeSets::Server::Gracetime
1798
+ def gracetime: () -> ::Integer
1799
+
1800
+ # @rbs return: ::Integer
1801
+ # @return [Integer]
1802
+ # @see AttributeSets::Server::Leasetime
1803
+ def leasetime: () -> ::Integer
1804
+
1805
+ # @rbs return: ::String
1806
+ # @return [String]
1807
+ # @see AttributeSets::Server::Scope
1808
+ def scope: () -> ::String
1809
+
1810
+ # @rbs return: ::Integer
1811
+ # @return [Integer]
1812
+ # @see AttributeSets::Server::MinThreads
1813
+ def min_threads: () -> ::Integer
1814
+ end
1815
+
1816
+ # set nfs enabled versions
1817
+ #
1818
+ # Requires CAP_NET_ADMIN in the initial user namespace.
1819
+ class DoVersionSetRequest < ::Nl::Genl::Message
1820
+ TYPE: ::Integer
1821
+
1822
+ FIXED_HEADER: untyped
1823
+
1824
+ ATTRIBUTE_SET: untyped
1825
+
1826
+ ATTRIBUTES: untyped
1827
+
1828
+ # @rbs return: ::Array[AttributeSets::Version]
1829
+ # @return [Array<AttributeSets::Version>]
1830
+ # @see AttributeSets::ServerProto::Version
1831
+ def version: () -> ::Array[AttributeSets::Version]
1832
+ end
1833
+
1834
+ # get nfs enabled versions
1835
+ class DoVersionGetRequest < ::Nl::Genl::Message
1836
+ TYPE: ::Integer
1837
+
1838
+ FIXED_HEADER: untyped
1839
+
1840
+ ATTRIBUTE_SET: untyped
1841
+
1842
+ ATTRIBUTES: untyped
1843
+ end
1844
+
1845
+ # get nfs enabled versions
1846
+ class DoVersionGetReply < ::Nl::Genl::Message
1847
+ TYPE: ::Integer
1848
+
1849
+ FIXED_HEADER: untyped
1850
+
1851
+ ATTRIBUTE_SET: untyped
1852
+
1853
+ ATTRIBUTES: untyped
1854
+
1855
+ # @rbs return: ::Array[AttributeSets::Version]
1856
+ # @return [Array<AttributeSets::Version>]
1857
+ # @see AttributeSets::ServerProto::Version
1858
+ def version: () -> ::Array[AttributeSets::Version]
1859
+ end
1860
+
1861
+ # set nfs running sockets
1862
+ #
1863
+ # Requires CAP_NET_ADMIN in the initial user namespace.
1864
+ class DoListenerSetRequest < ::Nl::Genl::Message
1865
+ TYPE: ::Integer
1866
+
1867
+ FIXED_HEADER: untyped
1868
+
1869
+ ATTRIBUTE_SET: untyped
1870
+
1871
+ ATTRIBUTES: untyped
1872
+
1873
+ # @rbs return: ::Array[AttributeSets::Sock]
1874
+ # @return [Array<AttributeSets::Sock>]
1875
+ # @see AttributeSets::ServerSock::Addr
1876
+ def addr: () -> ::Array[AttributeSets::Sock]
1877
+ end
1878
+
1879
+ # get nfs running listeners
1880
+ class DoListenerGetRequest < ::Nl::Genl::Message
1881
+ TYPE: ::Integer
1882
+
1883
+ FIXED_HEADER: untyped
1884
+
1885
+ ATTRIBUTE_SET: untyped
1886
+
1887
+ ATTRIBUTES: untyped
1888
+ end
1889
+
1890
+ # get nfs running listeners
1891
+ class DoListenerGetReply < ::Nl::Genl::Message
1892
+ TYPE: ::Integer
1893
+
1894
+ FIXED_HEADER: untyped
1895
+
1896
+ ATTRIBUTE_SET: untyped
1897
+
1898
+ ATTRIBUTES: untyped
1899
+
1900
+ # @rbs return: ::Array[AttributeSets::Sock]
1901
+ # @return [Array<AttributeSets::Sock>]
1902
+ # @see AttributeSets::ServerSock::Addr
1903
+ def addr: () -> ::Array[AttributeSets::Sock]
1904
+ end
1905
+
1906
+ # set the current server pool-mode
1907
+ #
1908
+ # Requires CAP_NET_ADMIN in the initial user namespace.
1909
+ class DoPoolModeSetRequest < ::Nl::Genl::Message
1910
+ TYPE: ::Integer
1911
+
1912
+ FIXED_HEADER: untyped
1913
+
1914
+ ATTRIBUTE_SET: untyped
1915
+
1916
+ ATTRIBUTES: untyped
1917
+
1918
+ # @rbs return: ::String
1919
+ # @return [String]
1920
+ # @see AttributeSets::PoolMode::Mode
1921
+ def mode: () -> ::String
1922
+ end
1923
+
1924
+ # get info about server pool-mode
1925
+ class DoPoolModeGetRequest < ::Nl::Genl::Message
1926
+ TYPE: ::Integer
1927
+
1928
+ FIXED_HEADER: untyped
1929
+
1930
+ ATTRIBUTE_SET: untyped
1931
+
1932
+ ATTRIBUTES: untyped
1933
+ end
1934
+
1935
+ # get info about server pool-mode
1936
+ class DoPoolModeGetReply < ::Nl::Genl::Message
1937
+ TYPE: ::Integer
1938
+
1939
+ FIXED_HEADER: untyped
1940
+
1941
+ ATTRIBUTE_SET: untyped
1942
+
1943
+ ATTRIBUTES: untyped
1944
+
1945
+ # @rbs return: ::String
1946
+ # @return [String]
1947
+ # @see AttributeSets::PoolMode::Mode
1948
+ def mode: () -> ::String
1949
+
1950
+ # @rbs return: ::Integer
1951
+ # @return [Integer]
1952
+ # @see AttributeSets::PoolMode::Npools
1953
+ def npools: () -> ::Integer
1954
+ end
1955
+
1956
+ # Dump all pending svc_export requests
1957
+ #
1958
+ # Requires CAP_NET_ADMIN in the initial user namespace.
1959
+ class DumpSvcExportGetReqsRequest < ::Nl::Genl::Message
1960
+ TYPE: ::Integer
1961
+
1962
+ FIXED_HEADER: untyped
1963
+
1964
+ ATTRIBUTE_SET: untyped
1965
+
1966
+ ATTRIBUTES: untyped
1967
+ end
1968
+
1969
+ # Dump all pending svc_export requests
1970
+ #
1971
+ # Requires CAP_NET_ADMIN in the initial user namespace.
1972
+ class DumpSvcExportGetReqsReply < ::Nl::Genl::Message
1973
+ TYPE: ::Integer
1974
+
1975
+ FIXED_HEADER: untyped
1976
+
1977
+ ATTRIBUTE_SET: untyped
1978
+
1979
+ ATTRIBUTES: untyped
1980
+
1981
+ # @rbs return: ::Array[AttributeSets::SvcExport]
1982
+ # @return [Array<AttributeSets::SvcExport>]
1983
+ # @see AttributeSets::SvcExportReqs::Requests
1984
+ def requests: () -> ::Array[AttributeSets::SvcExport]
1985
+ end
1986
+
1987
+ # Respond to one or more svc_export requests
1988
+ #
1989
+ # Requires CAP_NET_ADMIN in the initial user namespace.
1990
+ class DoSvcExportSetReqsRequest < ::Nl::Genl::Message
1991
+ TYPE: ::Integer
1992
+
1993
+ FIXED_HEADER: untyped
1994
+
1995
+ ATTRIBUTE_SET: untyped
1996
+
1997
+ ATTRIBUTES: untyped
1998
+
1999
+ # @rbs return: ::Array[AttributeSets::SvcExport]
2000
+ # @return [Array<AttributeSets::SvcExport>]
2001
+ # @see AttributeSets::SvcExportReqs::Requests
2002
+ def requests: () -> ::Array[AttributeSets::SvcExport]
2003
+ end
2004
+
2005
+ # Dump all pending expkey requests
2006
+ #
2007
+ # Requires CAP_NET_ADMIN in the initial user namespace.
2008
+ class DumpExpkeyGetReqsRequest < ::Nl::Genl::Message
2009
+ TYPE: ::Integer
2010
+
2011
+ FIXED_HEADER: untyped
2012
+
2013
+ ATTRIBUTE_SET: untyped
2014
+
2015
+ ATTRIBUTES: untyped
2016
+ end
2017
+
2018
+ # Dump all pending expkey requests
2019
+ #
2020
+ # Requires CAP_NET_ADMIN in the initial user namespace.
2021
+ class DumpExpkeyGetReqsReply < ::Nl::Genl::Message
2022
+ TYPE: ::Integer
2023
+
2024
+ FIXED_HEADER: untyped
2025
+
2026
+ ATTRIBUTE_SET: untyped
2027
+
2028
+ ATTRIBUTES: untyped
2029
+
2030
+ # @rbs return: ::Array[AttributeSets::Expkey]
2031
+ # @return [Array<AttributeSets::Expkey>]
2032
+ # @see AttributeSets::ExpkeyReqs::Requests
2033
+ def requests: () -> ::Array[AttributeSets::Expkey]
2034
+ end
2035
+
2036
+ # Respond to one or more expkey requests
2037
+ #
2038
+ # Requires CAP_NET_ADMIN in the initial user namespace.
2039
+ class DoExpkeySetReqsRequest < ::Nl::Genl::Message
2040
+ TYPE: ::Integer
2041
+
2042
+ FIXED_HEADER: untyped
2043
+
2044
+ ATTRIBUTE_SET: untyped
2045
+
2046
+ ATTRIBUTES: untyped
2047
+
2048
+ # @rbs return: ::Array[AttributeSets::Expkey]
2049
+ # @return [Array<AttributeSets::Expkey>]
2050
+ # @see AttributeSets::ExpkeyReqs::Requests
2051
+ def requests: () -> ::Array[AttributeSets::Expkey]
2052
+ end
2053
+
2054
+ # Flush nfsd caches (svc_export and/or expkey)
2055
+ #
2056
+ # Requires CAP_NET_ADMIN in the initial user namespace.
2057
+ class DoCacheFlushRequest < ::Nl::Genl::Message
2058
+ TYPE: ::Integer
2059
+
2060
+ FIXED_HEADER: untyped
2061
+
2062
+ ATTRIBUTE_SET: untyped
2063
+
2064
+ ATTRIBUTES: untyped
2065
+
2066
+ # Known flags are defined in {Flags::CacheType}.
2067
+ # @rbs return: ::Integer
2068
+ # @return [Integer]
2069
+ # @see AttributeSets::CacheFlush::Mask
2070
+ def mask: () -> ::Integer
2071
+ end
2072
+
2073
+ # release NLM locks held by an IP address
2074
+ #
2075
+ # Requires CAP_NET_ADMIN in the initial user namespace.
2076
+ class DoUnlockIpRequest < ::Nl::Genl::Message
2077
+ TYPE: ::Integer
2078
+
2079
+ FIXED_HEADER: untyped
2080
+
2081
+ ATTRIBUTE_SET: untyped
2082
+
2083
+ ATTRIBUTES: untyped
2084
+
2085
+ # struct sockaddr_in or struct sockaddr_in6.
2086
+ # @rbs return: ::String
2087
+ # @return [String]
2088
+ # @see AttributeSets::UnlockIp::Address
2089
+ def address: () -> ::String
2090
+ end
2091
+
2092
+ # revoke NFS state under a filesystem path
2093
+ #
2094
+ # Requires CAP_NET_ADMIN in the initial user namespace.
2095
+ class DoUnlockFilesystemRequest < ::Nl::Genl::Message
2096
+ TYPE: ::Integer
2097
+
2098
+ FIXED_HEADER: untyped
2099
+
2100
+ ATTRIBUTE_SET: untyped
2101
+
2102
+ ATTRIBUTES: untyped
2103
+
2104
+ # Filesystem path whose state should be released.
2105
+ # @rbs return: ::String
2106
+ # @return [String]
2107
+ # @see AttributeSets::UnlockFilesystem::Path
2108
+ def path: () -> ::String
2109
+ end
2110
+
2111
+ # Revoke NFSv4 state acquired through exports of a given path. Unlike unlock-filesystem, which operates at superblock granularity, this command targets only state associated with a specific export path. Userspace (exportfs -u) sends this after removing the last client for a path so the underlying filesystem can be unmounted.
2112
+ #
2113
+ # Requires CAP_NET_ADMIN in the initial user namespace.
2114
+ class DoUnlockExportRequest < ::Nl::Genl::Message
2115
+ TYPE: ::Integer
2116
+
2117
+ FIXED_HEADER: untyped
2118
+
2119
+ ATTRIBUTE_SET: untyped
2120
+
2121
+ ATTRIBUTES: untyped
2122
+
2123
+ # Export path whose NFSv4 state should be revoked. All state (opens, locks, delegations, layouts) acquired through any export of this path is revoked, regardless of which client holds the state. Intended for use after all clients have been unexported from a given path, enabling the underlying filesystem to be unmounted.
2124
+ # @rbs return: ::String
2125
+ # @return [String]
2126
+ # @see AttributeSets::UnlockExport::Path
2127
+ def path: () -> ::String
2128
+ end
2129
+ end
2130
+
2131
+ module Notifications
2132
+ # Notification that there are cache requests that need servicing
2133
+ #
2134
+ # Multicast group: `exportd`.
2135
+ class CacheNotify < ::Nl::Genl::Message
2136
+ TYPE: ::Integer
2137
+
2138
+ FIXED_HEADER: untyped
2139
+
2140
+ ATTRIBUTE_SET: untyped
2141
+
2142
+ ATTRIBUTES: untyped
2143
+
2144
+ # Known flags are defined in {Flags::CacheType}.
2145
+ # @rbs return: ::Integer
2146
+ # @return [Integer]
2147
+ # @see AttributeSets::CacheNotify::CacheType
2148
+ def cache_type: () -> ::Integer
2149
+ end
2150
+ end
2151
+
2152
+ # @private
2153
+ NOTIFICATIONS: Hash[::Integer, ::Class]
2154
+
2155
+ # dump pending nfsd rpc
2156
+ # @rbs () -> Array[Messages::DumpRpcStatusGetReply]
2157
+ # | () { (Messages::DumpRpcStatusGetReply) -> void } -> void
2158
+ # @overload dump_rpc_status_get(**args)
2159
+ # Returns an array when no block is given.
2160
+ # @param [Hash] args
2161
+ # @return [Array<Messages::DumpRpcStatusGetReply>]
2162
+ # @overload dump_rpc_status_get(**args, &block)
2163
+ # Yields each reply when a block is given.
2164
+ # @param [Hash] args
2165
+ # @yieldparam [Messages::DumpRpcStatusGetReply] reply
2166
+ # @return [void]
2167
+ # @see Messages::DumpRpcStatusGetRequest
2168
+ def dump_rpc_status_get: () -> Array[Messages::DumpRpcStatusGetReply]
2169
+ | () { (Messages::DumpRpcStatusGetReply) -> void } -> void
2170
+
2171
+ # set the maximum number of running threads
2172
+ #
2173
+ # Requires CAP_NET_ADMIN in the initial user namespace.
2174
+ # @rbs (?threads: ::Array[::Integer], ?gracetime: ::Integer, ?leasetime: ::Integer, ?scope: ::String, ?min_threads: ::Integer, ?fh_key: ::String) -> void
2175
+ # @param [Hash] args
2176
+ # @option args [Array<Integer>] threads
2177
+ # @option args [Integer] gracetime
2178
+ # @option args [Integer] leasetime
2179
+ # @option args [String] scope
2180
+ # @option args [Integer] min_threads
2181
+ # @option args [String] fh_key
2182
+ # @return [void]
2183
+ # @see Messages::DoThreadsSetRequest
2184
+ def do_threads_set: (?threads: ::Array[::Integer], ?gracetime: ::Integer, ?leasetime: ::Integer, ?scope: ::String, ?min_threads: ::Integer, ?fh_key: ::String) -> void
2185
+
2186
+ # get the maximum number of running threads
2187
+ # @rbs () -> Messages::DoThreadsGetReply
2188
+ # @param [Hash] args
2189
+ # @return [Messages::DoThreadsGetReply]
2190
+ # @see Messages::DoThreadsGetRequest
2191
+ def do_threads_get: () -> Messages::DoThreadsGetReply
2192
+
2193
+ # set nfs enabled versions
2194
+ #
2195
+ # Requires CAP_NET_ADMIN in the initial user namespace.
2196
+ # @rbs (?version: ::Array[(AttributeSets::Version | ::Hash[::Symbol, untyped])]) -> void
2197
+ # @param [Hash] args
2198
+ # @option args [Array<AttributeSets::Version, Hash<Symbol, Object>>] version
2199
+ # @return [void]
2200
+ # @see Messages::DoVersionSetRequest
2201
+ def do_version_set: (?version: ::Array[AttributeSets::Version | ::Hash[::Symbol, untyped]]) -> void
2202
+
2203
+ # get nfs enabled versions
2204
+ # @rbs () -> Messages::DoVersionGetReply
2205
+ # @param [Hash] args
2206
+ # @return [Messages::DoVersionGetReply]
2207
+ # @see Messages::DoVersionGetRequest
2208
+ def do_version_get: () -> Messages::DoVersionGetReply
2209
+
2210
+ # set nfs running sockets
2211
+ #
2212
+ # Requires CAP_NET_ADMIN in the initial user namespace.
2213
+ # @rbs (?addr: ::Array[(AttributeSets::Sock | ::Hash[::Symbol, untyped])]) -> void
2214
+ # @param [Hash] args
2215
+ # @option args [Array<AttributeSets::Sock, Hash<Symbol, Object>>] addr
2216
+ # @return [void]
2217
+ # @see Messages::DoListenerSetRequest
2218
+ def do_listener_set: (?addr: ::Array[AttributeSets::Sock | ::Hash[::Symbol, untyped]]) -> void
2219
+
2220
+ # get nfs running listeners
2221
+ # @rbs () -> Messages::DoListenerGetReply
2222
+ # @param [Hash] args
2223
+ # @return [Messages::DoListenerGetReply]
2224
+ # @see Messages::DoListenerGetRequest
2225
+ def do_listener_get: () -> Messages::DoListenerGetReply
2226
+
2227
+ # set the current server pool-mode
2228
+ #
2229
+ # Requires CAP_NET_ADMIN in the initial user namespace.
2230
+ # @rbs (?mode: ::String) -> void
2231
+ # @param [Hash] args
2232
+ # @option args [String] mode
2233
+ # @return [void]
2234
+ # @see Messages::DoPoolModeSetRequest
2235
+ def do_pool_mode_set: (?mode: ::String) -> void
2236
+
2237
+ # get info about server pool-mode
2238
+ # @rbs () -> Messages::DoPoolModeGetReply
2239
+ # @param [Hash] args
2240
+ # @return [Messages::DoPoolModeGetReply]
2241
+ # @see Messages::DoPoolModeGetRequest
2242
+ def do_pool_mode_get: () -> Messages::DoPoolModeGetReply
2243
+
2244
+ # Dump all pending svc_export requests
2245
+ #
2246
+ # Requires CAP_NET_ADMIN in the initial user namespace.
2247
+ # @rbs () -> Array[Messages::DumpSvcExportGetReqsReply]
2248
+ # | () { (Messages::DumpSvcExportGetReqsReply) -> void } -> void
2249
+ # @overload dump_svc_export_get_reqs(**args)
2250
+ # Returns an array when no block is given.
2251
+ # @param [Hash] args
2252
+ # @return [Array<Messages::DumpSvcExportGetReqsReply>]
2253
+ # @overload dump_svc_export_get_reqs(**args, &block)
2254
+ # Yields each reply when a block is given.
2255
+ # @param [Hash] args
2256
+ # @yieldparam [Messages::DumpSvcExportGetReqsReply] reply
2257
+ # @return [void]
2258
+ # @see Messages::DumpSvcExportGetReqsRequest
2259
+ def dump_svc_export_get_reqs: () -> Array[Messages::DumpSvcExportGetReqsReply]
2260
+ | () { (Messages::DumpSvcExportGetReqsReply) -> void } -> void
2261
+
2262
+ # Respond to one or more svc_export requests
2263
+ #
2264
+ # Requires CAP_NET_ADMIN in the initial user namespace.
2265
+ # @rbs (?requests: ::Array[(AttributeSets::SvcExport | ::Hash[::Symbol, untyped])]) -> void
2266
+ # @param [Hash] args
2267
+ # @option args [Array<AttributeSets::SvcExport, Hash<Symbol, Object>>] requests
2268
+ # @return [void]
2269
+ # @see Messages::DoSvcExportSetReqsRequest
2270
+ def do_svc_export_set_reqs: (?requests: ::Array[AttributeSets::SvcExport | ::Hash[::Symbol, untyped]]) -> void
2271
+
2272
+ # Dump all pending expkey requests
2273
+ #
2274
+ # Requires CAP_NET_ADMIN in the initial user namespace.
2275
+ # @rbs () -> Array[Messages::DumpExpkeyGetReqsReply]
2276
+ # | () { (Messages::DumpExpkeyGetReqsReply) -> void } -> void
2277
+ # @overload dump_expkey_get_reqs(**args)
2278
+ # Returns an array when no block is given.
2279
+ # @param [Hash] args
2280
+ # @return [Array<Messages::DumpExpkeyGetReqsReply>]
2281
+ # @overload dump_expkey_get_reqs(**args, &block)
2282
+ # Yields each reply when a block is given.
2283
+ # @param [Hash] args
2284
+ # @yieldparam [Messages::DumpExpkeyGetReqsReply] reply
2285
+ # @return [void]
2286
+ # @see Messages::DumpExpkeyGetReqsRequest
2287
+ def dump_expkey_get_reqs: () -> Array[Messages::DumpExpkeyGetReqsReply]
2288
+ | () { (Messages::DumpExpkeyGetReqsReply) -> void } -> void
2289
+
2290
+ # Respond to one or more expkey requests
2291
+ #
2292
+ # Requires CAP_NET_ADMIN in the initial user namespace.
2293
+ # @rbs (?requests: ::Array[(AttributeSets::Expkey | ::Hash[::Symbol, untyped])]) -> void
2294
+ # @param [Hash] args
2295
+ # @option args [Array<AttributeSets::Expkey, Hash<Symbol, Object>>] requests
2296
+ # @return [void]
2297
+ # @see Messages::DoExpkeySetReqsRequest
2298
+ def do_expkey_set_reqs: (?requests: ::Array[AttributeSets::Expkey | ::Hash[::Symbol, untyped]]) -> void
2299
+
2300
+ # Flush nfsd caches (svc_export and/or expkey)
2301
+ #
2302
+ # Requires CAP_NET_ADMIN in the initial user namespace.
2303
+ # @rbs (?mask: ::Integer) -> void
2304
+ # @param [Hash] args
2305
+ # @option args [Integer] mask Known flags are defined in {Flags::CacheType}.
2306
+ # @return [void]
2307
+ # @see Messages::DoCacheFlushRequest
2308
+ def do_cache_flush: (?mask: ::Integer) -> void
2309
+
2310
+ # release NLM locks held by an IP address
2311
+ #
2312
+ # Requires CAP_NET_ADMIN in the initial user namespace.
2313
+ # @rbs (?address: ::String) -> void
2314
+ # @param [Hash] args
2315
+ # @option args [String] address struct sockaddr_in or struct sockaddr_in6.
2316
+ # @return [void]
2317
+ # @see Messages::DoUnlockIpRequest
2318
+ def do_unlock_ip: (?address: ::String) -> void
2319
+
2320
+ # revoke NFS state under a filesystem path
2321
+ #
2322
+ # Requires CAP_NET_ADMIN in the initial user namespace.
2323
+ # @rbs (?path: ::String) -> void
2324
+ # @param [Hash] args
2325
+ # @option args [String] path Filesystem path whose state should be released.
2326
+ # @return [void]
2327
+ # @see Messages::DoUnlockFilesystemRequest
2328
+ def do_unlock_filesystem: (?path: ::String) -> void
2329
+
2330
+ # Revoke NFSv4 state acquired through exports of a given path. Unlike unlock-filesystem, which operates at superblock granularity, this command targets only state associated with a specific export path. Userspace (exportfs -u) sends this after removing the last client for a path so the underlying filesystem can be unmounted.
2331
+ #
2332
+ # Requires CAP_NET_ADMIN in the initial user namespace.
2333
+ # @rbs (?path: ::String) -> void
2334
+ # @param [Hash] args
2335
+ # @option args [String] path Export path whose NFSv4 state should be revoked. All state (opens, locks, delegations, layouts) acquired through any export of this path is revoked, regardless of which client holds the state. Intended for use after all clients have been unexported from a given path, enabling the underlying filesystem to be unmounted.
2336
+ # @return [void]
2337
+ # @see Messages::DoUnlockExportRequest
2338
+ def do_unlock_export: (?path: ::String) -> void
2339
+
2340
+ class AsyncOperations
2341
+ # @private
2342
+ def initialize: () ?{ (?) -> untyped } -> untyped
2343
+
2344
+ # dump pending nfsd rpc
2345
+ # @rbs () -> ::Nl::Async::Stream[Messages::DumpRpcStatusGetReply]
2346
+ # @param [Hash] args
2347
+ # @return [Nl::Async::Stream<Messages::DumpRpcStatusGetReply>]
2348
+ # @see Messages::DumpRpcStatusGetRequest
2349
+ def dump_rpc_status_get: () -> ::Nl::Async::Stream[Messages::DumpRpcStatusGetReply]
2350
+
2351
+ # set the maximum number of running threads
2352
+ #
2353
+ # Requires CAP_NET_ADMIN in the initial user namespace.
2354
+ # @rbs (?threads: ::Array[::Integer], ?gracetime: ::Integer, ?leasetime: ::Integer, ?scope: ::String, ?min_threads: ::Integer, ?fh_key: ::String) -> ::Nl::Async::Future[void]
2355
+ # @param [Hash] args
2356
+ # @option args [Array<Integer>] threads
2357
+ # @option args [Integer] gracetime
2358
+ # @option args [Integer] leasetime
2359
+ # @option args [String] scope
2360
+ # @option args [Integer] min_threads
2361
+ # @option args [String] fh_key
2362
+ # @return [Nl::Async::Future<void>]
2363
+ # @see Messages::DoThreadsSetRequest
2364
+ def do_threads_set: (?threads: ::Array[::Integer], ?gracetime: ::Integer, ?leasetime: ::Integer, ?scope: ::String, ?min_threads: ::Integer, ?fh_key: ::String) -> ::Nl::Async::Future[void]
2365
+
2366
+ # get the maximum number of running threads
2367
+ # @rbs () -> ::Nl::Async::Future[Messages::DoThreadsGetReply]
2368
+ # @param [Hash] args
2369
+ # @return [Nl::Async::Future<Messages::DoThreadsGetReply>]
2370
+ # @see Messages::DoThreadsGetRequest
2371
+ def do_threads_get: () -> ::Nl::Async::Future[Messages::DoThreadsGetReply]
2372
+
2373
+ # set nfs enabled versions
2374
+ #
2375
+ # Requires CAP_NET_ADMIN in the initial user namespace.
2376
+ # @rbs (?version: ::Array[(AttributeSets::Version | ::Hash[::Symbol, untyped])]) -> ::Nl::Async::Future[void]
2377
+ # @param [Hash] args
2378
+ # @option args [Array<AttributeSets::Version, Hash<Symbol, Object>>] version
2379
+ # @return [Nl::Async::Future<void>]
2380
+ # @see Messages::DoVersionSetRequest
2381
+ def do_version_set: (?version: ::Array[AttributeSets::Version | ::Hash[::Symbol, untyped]]) -> ::Nl::Async::Future[void]
2382
+
2383
+ # get nfs enabled versions
2384
+ # @rbs () -> ::Nl::Async::Future[Messages::DoVersionGetReply]
2385
+ # @param [Hash] args
2386
+ # @return [Nl::Async::Future<Messages::DoVersionGetReply>]
2387
+ # @see Messages::DoVersionGetRequest
2388
+ def do_version_get: () -> ::Nl::Async::Future[Messages::DoVersionGetReply]
2389
+
2390
+ # set nfs running sockets
2391
+ #
2392
+ # Requires CAP_NET_ADMIN in the initial user namespace.
2393
+ # @rbs (?addr: ::Array[(AttributeSets::Sock | ::Hash[::Symbol, untyped])]) -> ::Nl::Async::Future[void]
2394
+ # @param [Hash] args
2395
+ # @option args [Array<AttributeSets::Sock, Hash<Symbol, Object>>] addr
2396
+ # @return [Nl::Async::Future<void>]
2397
+ # @see Messages::DoListenerSetRequest
2398
+ def do_listener_set: (?addr: ::Array[AttributeSets::Sock | ::Hash[::Symbol, untyped]]) -> ::Nl::Async::Future[void]
2399
+
2400
+ # get nfs running listeners
2401
+ # @rbs () -> ::Nl::Async::Future[Messages::DoListenerGetReply]
2402
+ # @param [Hash] args
2403
+ # @return [Nl::Async::Future<Messages::DoListenerGetReply>]
2404
+ # @see Messages::DoListenerGetRequest
2405
+ def do_listener_get: () -> ::Nl::Async::Future[Messages::DoListenerGetReply]
2406
+
2407
+ # set the current server pool-mode
2408
+ #
2409
+ # Requires CAP_NET_ADMIN in the initial user namespace.
2410
+ # @rbs (?mode: ::String) -> ::Nl::Async::Future[void]
2411
+ # @param [Hash] args
2412
+ # @option args [String] mode
2413
+ # @return [Nl::Async::Future<void>]
2414
+ # @see Messages::DoPoolModeSetRequest
2415
+ def do_pool_mode_set: (?mode: ::String) -> ::Nl::Async::Future[void]
2416
+
2417
+ # get info about server pool-mode
2418
+ # @rbs () -> ::Nl::Async::Future[Messages::DoPoolModeGetReply]
2419
+ # @param [Hash] args
2420
+ # @return [Nl::Async::Future<Messages::DoPoolModeGetReply>]
2421
+ # @see Messages::DoPoolModeGetRequest
2422
+ def do_pool_mode_get: () -> ::Nl::Async::Future[Messages::DoPoolModeGetReply]
2423
+
2424
+ # Dump all pending svc_export requests
2425
+ #
2426
+ # Requires CAP_NET_ADMIN in the initial user namespace.
2427
+ # @rbs () -> ::Nl::Async::Stream[Messages::DumpSvcExportGetReqsReply]
2428
+ # @param [Hash] args
2429
+ # @return [Nl::Async::Stream<Messages::DumpSvcExportGetReqsReply>]
2430
+ # @see Messages::DumpSvcExportGetReqsRequest
2431
+ def dump_svc_export_get_reqs: () -> ::Nl::Async::Stream[Messages::DumpSvcExportGetReqsReply]
2432
+
2433
+ # Respond to one or more svc_export requests
2434
+ #
2435
+ # Requires CAP_NET_ADMIN in the initial user namespace.
2436
+ # @rbs (?requests: ::Array[(AttributeSets::SvcExport | ::Hash[::Symbol, untyped])]) -> ::Nl::Async::Future[void]
2437
+ # @param [Hash] args
2438
+ # @option args [Array<AttributeSets::SvcExport, Hash<Symbol, Object>>] requests
2439
+ # @return [Nl::Async::Future<void>]
2440
+ # @see Messages::DoSvcExportSetReqsRequest
2441
+ def do_svc_export_set_reqs: (?requests: ::Array[AttributeSets::SvcExport | ::Hash[::Symbol, untyped]]) -> ::Nl::Async::Future[void]
2442
+
2443
+ # Dump all pending expkey requests
2444
+ #
2445
+ # Requires CAP_NET_ADMIN in the initial user namespace.
2446
+ # @rbs () -> ::Nl::Async::Stream[Messages::DumpExpkeyGetReqsReply]
2447
+ # @param [Hash] args
2448
+ # @return [Nl::Async::Stream<Messages::DumpExpkeyGetReqsReply>]
2449
+ # @see Messages::DumpExpkeyGetReqsRequest
2450
+ def dump_expkey_get_reqs: () -> ::Nl::Async::Stream[Messages::DumpExpkeyGetReqsReply]
2451
+
2452
+ # Respond to one or more expkey requests
2453
+ #
2454
+ # Requires CAP_NET_ADMIN in the initial user namespace.
2455
+ # @rbs (?requests: ::Array[(AttributeSets::Expkey | ::Hash[::Symbol, untyped])]) -> ::Nl::Async::Future[void]
2456
+ # @param [Hash] args
2457
+ # @option args [Array<AttributeSets::Expkey, Hash<Symbol, Object>>] requests
2458
+ # @return [Nl::Async::Future<void>]
2459
+ # @see Messages::DoExpkeySetReqsRequest
2460
+ def do_expkey_set_reqs: (?requests: ::Array[AttributeSets::Expkey | ::Hash[::Symbol, untyped]]) -> ::Nl::Async::Future[void]
2461
+
2462
+ # Flush nfsd caches (svc_export and/or expkey)
2463
+ #
2464
+ # Requires CAP_NET_ADMIN in the initial user namespace.
2465
+ # @rbs (?mask: ::Integer) -> ::Nl::Async::Future[void]
2466
+ # @param [Hash] args
2467
+ # @option args [Integer] mask Known flags are defined in {Flags::CacheType}.
2468
+ # @return [Nl::Async::Future<void>]
2469
+ # @see Messages::DoCacheFlushRequest
2470
+ def do_cache_flush: (?mask: ::Integer) -> ::Nl::Async::Future[void]
2471
+
2472
+ # release NLM locks held by an IP address
2473
+ #
2474
+ # Requires CAP_NET_ADMIN in the initial user namespace.
2475
+ # @rbs (?address: ::String) -> ::Nl::Async::Future[void]
2476
+ # @param [Hash] args
2477
+ # @option args [String] address struct sockaddr_in or struct sockaddr_in6.
2478
+ # @return [Nl::Async::Future<void>]
2479
+ # @see Messages::DoUnlockIpRequest
2480
+ def do_unlock_ip: (?address: ::String) -> ::Nl::Async::Future[void]
2481
+
2482
+ # revoke NFS state under a filesystem path
2483
+ #
2484
+ # Requires CAP_NET_ADMIN in the initial user namespace.
2485
+ # @rbs (?path: ::String) -> ::Nl::Async::Future[void]
2486
+ # @param [Hash] args
2487
+ # @option args [String] path Filesystem path whose state should be released.
2488
+ # @return [Nl::Async::Future<void>]
2489
+ # @see Messages::DoUnlockFilesystemRequest
2490
+ def do_unlock_filesystem: (?path: ::String) -> ::Nl::Async::Future[void]
2491
+
2492
+ # Revoke NFSv4 state acquired through exports of a given path. Unlike unlock-filesystem, which operates at superblock granularity, this command targets only state associated with a specific export path. Userspace (exportfs -u) sends this after removing the last client for a path so the underlying filesystem can be unmounted.
2493
+ #
2494
+ # Requires CAP_NET_ADMIN in the initial user namespace.
2495
+ # @rbs (?path: ::String) -> ::Nl::Async::Future[void]
2496
+ # @param [Hash] args
2497
+ # @option args [String] path Export path whose NFSv4 state should be revoked. All state (opens, locks, delegations, layouts) acquired through any export of this path is revoked, regardless of which client holds the state. Intended for use after all clients have been unexported from a given path, enabling the underlying filesystem to be unmounted.
2498
+ # @return [Nl::Async::Future<void>]
2499
+ # @see Messages::DoUnlockExportRequest
2500
+ def do_unlock_export: (?path: ::String) -> ::Nl::Async::Future[void]
2501
+ end
2502
+
2503
+ # Returns the asynchronous operation facade for this family.
2504
+ # @rbs (?stream_capacity: ::Integer?) -> AsyncOperations
2505
+ # @param [::Integer, nil] stream_capacity
2506
+ # @return [AsyncOperations]
2507
+ def async: (?stream_capacity: ::Integer?) -> AsyncOperations
2508
+
2509
+ # @rbs (*(:none | :exportd) groups) -> self
2510
+ # @param [Array<:none, :exportd>] groups
2511
+ # @return [self]
2512
+ def subscribe: (*:none | :exportd groups) -> self
2513
+
2514
+ # @rbs (*(:none | :exportd) groups) -> self
2515
+ # @param [Array<:none, :exportd>] groups
2516
+ # @return [self]
2517
+ def unsubscribe: (*:none | :exportd groups) -> self
2518
+ end
2519
+ end
2520
+ end