Debian Codegraph @

debian/patches/morepyfi

raw
1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: Alex Myczko <[email protected]>
3 Date: May, 31 2026 20:27:48 +0200
4 Subject: [PATCH] <short summary of the patch>
5
6 TODO: Put a short summary on the line above and replace this paragraph
7 with a longer explanation of this change. Complete the meta-information
8 with other relevant fields (see below for details). To make it easier, the
9 information below has been extracted from the changelog. Adjust it or drop
10 it.
11
12 Bug-Debian: https://bugs.debian.org/1085739
13 Bug-Debian: https://bugs.debian.org/1091216
14 ---
15 The information above should follow the Patch Tagging Guidelines, please
16 checkout https://dep.debian.net/deps/dep3/ to learn about the format. Here
17 are templates for supplementary fields that you might want to add:
18
19 Origin: (upstream|backport|vendor|other), (<patch-url>|commit:<commit-id>)
20 Bug: <upstream-bugtracker-url>
21 Bug-<Vendor>: <vendor-bugtracker-url>
22 Forwarded: (no|not-needed|<patch-forwarded-url>)
23 Applied-Upstream: <version>, (<commit-url>|commit:<commid-id>)
24 Reviewed-By: <name and email of someone who approved/reviewed the patch>
25
26 --- nfstest-3.2.orig/formatstr.py
27 +++ nfstest-3.2/formatstr.py
28 @@ -258,8 +258,8 @@ class FormatStr(Formatter):
29 out = x.format("{0:?tuple({0}, {1})}", 1, 2) # out = "tuple(1, 2)"
30 out = x.format("{0:?tuple({0}, {1})}", None, 2) # out = ""
31 # Using 'else' format (including the escaping of else character):
32 - out = x.format(r"{0:?sid\:{0}:NONE}", 5) # out = "sid:5"
33 - out = x.format("{0:?sid\:{0}:NONE}", None) # out = "NONE"
34 + out = x.format(r"{0:?sid\\:{0}:NONE}", 5) # out = "sid:5"
35 + out = x.format(r"{0:?sid\\:{0}:NONE}", None) # out = "NONE"
36
37 # Nested formatting for strings, where processing is done in
38 # reversed order -- process the last format first
39 --- /dev/null
40 +++ nfstest-3.2/man/baseobj.3
41 @@ -0,0 +1,361 @@
42 +.\" DO NOT MODIFY THIS FILE! It was generated by setup.py 1.2.
43 +.TH BASEOBJ 3 "31 May 2026" "NFStest 3.2" "baseobj 1.2"
44 +.SH NAME
45 +baseobj - Base object
46 +.SH DESCRIPTION
47 +
48 +Base class so objects will inherit the methods providing the string
49 +representation of the object and methods to change the verbosity of such
50 +string representation. It also includes a simple debug printing and logging
51 +mechanism including methods to change the debug verbosity level and methods
52 +to add debug levels.
53 +.SH CLASSES
54 +.SS class BaseObj(builtins.object)
55 +.nf
56 +BaseObj(*kwts, **kwds)
57 +
58 +Base class so objects will inherit the methods providing the string
59 +representation of the object and a simple debug printing and logging
60 +mechanism.
61 +
62 +Usage:
63 + from baseobj import BaseObj
64 +
65 + # Named arguments
66 + x = BaseObj(a=1, b=2)
67 +
68 + # Dictionary argument
69 + x = BaseObj({'a':1, 'b':2})
70 +
71 + # Tuple arguments: first for keys and second for the values
72 + x = BaseObj(['a', 'b'], [1, 2])
73 +
74 + # All of the above will create an object having two attributes:
75 + x.a = 1 and x.b = 2
76 +
77 + # Add attribute name, this will be the only attribute to be displayed
78 + x.set_attrlist("a")
79 +
80 + # Add list of attribute names to be displayed in that order
81 + x.set_attrlist(["a", "b"])
82 +
83 + # Set attribute with ordered display rights
84 + x.set_attr("a", 1)
85 + # This is the same as
86 + setattr(x, "a", 1) or x.a = 1
87 + x.set_attrlist("a")
88 +
89 + # Set attribute with switch duplicate
90 + # The following creates an extra attribute "switch" with
91 + # the same value as attribute "a":
92 + # x.a == x.switch
93 + # x.a is x.switch
94 + x.set_attr("a", 1, switch=True)
95 +
96 + # Make the current object flat by allowing all the attributes
97 + # for the new attribute to be accessed directly by the current
98 + # object so the following is True:
99 + # x.d == x.c.d
100 + x.set_attr("c", BaseObj(d=11, e=22), switch=True)
101 +
102 + # Set the comparison attribute so x == x.a is True
103 + x.set_eqattr("a")
104 +
105 + # Set verbose level of object's string representation
106 + x.debug_repr(level)
107 +
108 + # Set string format for verbose level 1
109 + x.set_strfmt(1, "arg1:{0}")
110 + # In the above example the first positional argument is "a"
111 + # so the str(x) gives "arg1:1"
112 +
113 + # Set attribute shared by all instances
114 + # If a global or shared attribute is set on one instance,
115 + # all other instances will have access to it:
116 + # y = BaseObj(d=2, e=3)
117 + # then the following is true
118 + # x.g == y.g
119 + # x.g is y.g
120 + x.set_global("g", 5)
121 +
122 + # Set level mask to display all debug messages matching mask
123 + x.debug_level(0xFF)
124 +
125 + # Add a debug mapping for mask 0x100
126 + x.debug_map(0x100, 'opts', "OPTS: ")
127 +
128 + # Set global indentation to 4 spaces for dprint
129 + x.dindent(4)
130 +
131 + # Set global indentation to 4 spaces for displaying objects
132 + x.sindent(4)
133 +
134 + # Set global truncation to 64 for displaying string objects
135 + x.strsize(64)
136 +
137 + # Do not display timestamp for dprint messages
138 + x.tstamp(enable=False)
139 +
140 + # Change timestamp format to include the date
141 + x.tstamp(fmt="{0:date:%Y-%m-%d %H:%M:%S.%q} ")
142 +
143 + # Get timestamp if enabled, else return an empty string
144 + out = x.timestamp()
145 +
146 + # Open log file
147 + x.open_log(logfile)
148 +
149 + # Close log file
150 + x.close_log()
151 +
152 + # Write data to log file
153 + x.write_log(data)
154 +
155 + # Format the given arguments
156 + out = x.format("{0:x} - {1}", 1, "hello")
157 +
158 + # Format the object attributes set by set_attrlist()
159 + out = x.format("{0:x} - {1}")
160 +
161 + # Print debug message only if OPTS bitmap matches the current
162 + # debug level mask
163 + x.dprint("OPTS", "This is an OPTS debug message")
164 +
165 +.P
166 +.B Methods defined here:
167 +---------------------
168 +.P
169 +.B __eq__(self, other)
170 +Comparison method: this object is treated like the attribute
171 +defined by set_eqattr()
172 +.P
173 +.B __getattr__(self, attr)
174 +Return the attribute value for which the lookup has not found
175 +the attribute in the usual places. It checks the internal
176 +dictionary for any attribute references, it checks if this
177 +is a flat object and returns the appropriate attribute.
178 +And finally, if any of the attributes listed in _attrlist
179 +does not exist it returns None as if they exist but not
180 +defined
181 +.P
182 +.B __init__(self, *kwts, **kwds)
183 +Constructor
184 +
185 +Initialize object's private data according to the arguments given.
186 +Arguments can be given as positional, named arguments or a
187 +combination of both.
188 +.P
189 +.B __ne__(self, other)
190 +Comparison method: this object is treated like the attribute
191 +defined by set_eqattr()
192 +.P
193 +.B __repr__(self)
194 +String representation of object
195 +
196 +The representation depends on the verbose level set by debug_repr().
197 +If set to 0 the generic object representation is returned, else
198 +the representation of the object includes all object attributes
199 +and their values with proper indentation.
200 +.P
201 +.B __str__(self)
202 +Informal string representation of object
203 +
204 +The representation depends on the verbose level set by debug_repr().
205 +If set to 0 the generic object representation is returned, else
206 +the representation of the object includes all object attributes
207 +and their values.
208 +.P
209 +.B close_log(self)
210 +Close log file.
211 +.P
212 +.B debug_level(self, level=0)
213 +Set debug level mask.
214 +
215 +.RS
216 +.TP
217 +.B
218 +level:
219 +Level to set. This could be a number or a string expression
220 +of names defined by debug_map()
221 +.RE
222 +.RS
223 +
224 +Examples:
225 + # Set level
226 + x.debug_level(0xFF)
227 +
228 + # Set level using expression
229 + x.debug_level('all')
230 + x.debug_level('debug ^ 1')
231 +.RE
232 +.P
233 +.B dprint(self, level, msg, indent=0)
234 +Print debug message if level is allowed by the verbose level
235 +given in debug_level().
236 +.P
237 +.B format(self, fmt, *kwts, **kwds)
238 +Format the arguments and return the string using the format given.
239 +If no arguments are given either positional or named then object
240 +attributes set by set_attrlist() are used as positional arguments
241 +and all object attributes are used as named arguments
242 +
243 +.RS
244 +.TP
245 +.B
246 +fmt:
247 +String format to use for the arguments, where {0}, {1}, etc.
248 +are used for positional arguments and {name1}, {name2}, etc.
249 +are used for named arguments given after fmt.
250 +.RE
251 +.P
252 +.B open_log(self, logfile)
253 +Open log file.
254 +.P
255 +.B set_attr(self, name, value, switch=False)
256 +Add name/value as an object attribute and add the name to the
257 +list of attributes to display
258 +
259 +.RS
260 +.TP
261 +.B
262 +name:
263 +Attribute name
264 +.TP
265 +.B
266 +value:
267 +Attribute value
268 +.RE
269 +.P
270 +.B set_attrlist(self, attr)
271 +Add list of attribute names in object to display by str() or repr()
272 +
273 +.RS
274 +.TP
275 +.B
276 +attr:
277 +Name or list of names to add to the list of attribute names
278 +to display
279 +.RE
280 +.P
281 +.B set_eqattr(self, attr)
282 +Set the comparison attribute
283 +
284 +.RS
285 +.TP
286 +.B
287 +attr:
288 +Attribute to use for object comparison
289 +.RE
290 +.RS
291 +
292 +Examples:
293 + x = BaseObj(a=1, b=2)
294 + x.set_eqattr("a")
295 + x == 1 will return True, the same as x.a == 1
296 +.RE
297 +.P
298 +.B set_global(self, name, value)
299 +Set global variable.
300 +.P
301 +.B set_strfmt(self, level, format)
302 +Save format for given display level
303 +
304 +.RS
305 +.TP
306 +.B
307 +level:
308 +Display level given as a first argument
309 +.TP
310 +.B
311 +format:
312 +String format for given display level, given as a second argument
313 +.RE
314 +.P
315 +.B Static methods defined here:
316 +----------------------------
317 +.P
318 +.B debug_map(bitmap, name='', disp='')
319 +Add a debug mapping.
320 +
321 +Generic debug levels map
322 + <bitmap> <name> <disp prefix>
323 + 0x000 'none'
324 + 0x001 'info' 'INFO: ' # Display info messages only
325 + 0x0FF 'debug' 'DBG: ' # Display info and all debug messages (0x02-0x80)
326 + >0x100 user defined verbose levels
327 +.P
328 +.B debug_repr(level=None)
329 +Return or set verbose level of object's string representation.
330 +When setting the verbose level, return the verbose level before
331 +setting it.
332 +
333 +.RS
334 +.TP
335 +.B
336 +level:
337 +Level of verbosity to set
338 +.RE
339 +.RS
340 +
341 +Examples:
342 + # Set verbose level to its minimal object representation
343 + x.debug_repr(0)
344 +
345 + # Object representation is a bit more verbose
346 + x.debug_repr(1)
347 +
348 + # Object representation is a lot more verbose
349 + x.debug_repr(2)
350 +.RE
351 +.P
352 +.B dindent(indent=None)
353 +Set global dprint indentation.
354 +.P
355 +.B dprint_count()
356 +Return the number of dprint messages actually displayed.
357 +.P
358 +.B flush_log()
359 +Flush data to log file.
360 +.P
361 +.B sindent(indent=None)
362 +Set global object indentation.
363 +.P
364 +.B strsize(size)
365 +Set global string truncation.
366 +.P
367 +.B timestamp(fmt=None)
368 +Return the timestamp if it is enabled.
369 +
370 +.RS
371 +.TP
372 +.B
373 +fmt:
374 +Timestamp format, default is given by the format
375 +set by tstamp()
376 +.RE
377 +.P
378 +.B tstamp(enable=None, fmt=None)
379 +Enable/disable timestamps on dprint messages and/or
380 +set the default format for timestamps
381 +
382 +.RS
383 +.TP
384 +.B
385 +enable:
386 +Boolean to enable/disable timestamps
387 +.TP
388 +.B
389 +fmt:
390 +Set timestamp format
391 +.RE
392 +.P
393 +.B write_log(data)
394 +Write data to log file.
395 +.fi
396 +.SH SEE ALSO
397 +.BR formatstr(3)
398 +
399 +.SH BUGS
400 +No known bugs.
401 +.SH AUTHOR
402 +Jorge Mora ([email protected])
403 --- /dev/null
404 +++ nfstest-3.2/man/formatstr.3
405 @@ -0,0 +1,219 @@
406 +.\" DO NOT MODIFY THIS FILE! It was generated by setup.py 1.2.
407 +.TH FORMATSTR 3 "31 May 2026" "NFStest 3.2" "formatstr 1.6"
408 +.SH NAME
409 +formatstr - String Formatter object
410 +.SH DESCRIPTION
411 +
412 +Object used to format base objects into strings. It extends the functionality
413 +of the string Formatter object to include new modifiers for different objects.
414 +Some of these new modifiers include conversion of strings into a sequence
415 +of hex characters, conversion of strings to their corresponding CRC32 or
416 +CRC16 representation.
417 +.SH CLASSES
418 +.SS class FormatStr(string.Formatter)
419 +.nf
420 +String Formatter object
421 +
422 +FormatStr() -> New string formatter object
423 +
424 +Usage:
425 + from formatstr import FormatStr
426 +
427 + x = FormatStr()
428 +
429 + out = x.format(fmt_spec, *args, **kwargs)
430 + out = x.vformat(fmt_spec, args, kwargs)
431 +
432 + Arguments should be surrounded by curly braces {}, anything that is
433 + not contained in curly braces is considered literal text which is
434 + copied unchanged to the output.
435 + Positional arguments to be used in the format spec are specified
436 + by their index: {0}, {1}, etc.
437 + Named arguments to be used in the format spec are specified by
438 + their name: {name1}, {name2}, etc.
439 +
440 + Modifiers are specified after the positional index or name preceded
441 + by a ":", "{0:#x}" -- display first positional argument in hex
442 +
443 +Examples:
444 + # Format string using positional arguments
445 + out = x.format("{0} -> {1}", a, b)
446 +
447 + # Format string using named arguments
448 + out = x.format("{key}: {value}", key="id", value=32)
449 +
450 + # Format string using both positional and named arguments
451 + out = x.format("{key}: {value}, {0}, {1}", a, b, key="id", value=32)
452 +
453 + # Use vformat() method instead when positional arguments are given
454 + # as a list and named arguments are given as a dictionary
455 + # The following examples show the same as above
456 + pos_args = [a, b]
457 + named_args = {"key":"id", "value":32}
458 + out = x.vformat("{0} -> {1}", pos_args)
459 + out = x.vformat("{key}: {value}", named_args)
460 + out = x.vformat("{key}: {value}, {0}, {1}", pos_args, named_args)
461 +
462 + # Display string in hex
463 + out = x.format("{0:x}", "hello") # out = "68656c6c6f"
464 +
465 + # Display string in hex with leading 0x
466 + out = x.format("{0:#x}", "hello") # out = "0x68656c6c6f"
467 +
468 + # Display string in crc32
469 + out = x.format("{0:crc32}", "hello") # out = "0x3610a686"
470 +
471 + # Display string in crc16
472 + out = x.format("{0:crc16}", "hello") # out = "0x9c62"
473 +
474 + # Display length of item
475 + out = x.format("{0:len}", "hello") # out = 5
476 +
477 + # Substring using "@" format modifier
478 + # Format {0:@sindex[,eindex]} is like value[sindex:eindex]
479 + # {0:@3} is like value[3:]
480 + # {0:@3,5} is like value[3:5]
481 + # {0:.5} is like value[:5]
482 + out = x.format("{0:@3}", "hello") # out = "lo"
483 + out = x.format("{0:.2}", "hello") # out = "he"
484 +
485 + # Conditionally display the first format if argument is not None,
486 + # else the second format is displayed
487 + # Format: {0:?format1:format2}
488 + out = x.format("{0:?tuple({0}, {1})}", 1, 2) # out = "tuple(1, 2)"
489 + out = x.format("{0:?tuple({0}, {1})}", None, 2) # out = ""
490 + # Using 'else' format (including the escaping of else character):
491 + out = x.format(r"{0:?sid\:{0}:NONE}", 5) # out = "sid:5"
492 + out = x.format("{0:?sid\:{0}:NONE}", None) # out = "NONE"
493 +
494 + # Nested formatting for strings, where processing is done in
495 + # reversed order -- process the last format first
496 + # Format: {0:fmtN:...:fmt2:fmt1}
497 + # Display substring of 4 bytes as hex (substring then hex)
498 + out = x.format("{0:#x:.4}", "hello") # out = "0x68656c6c"
499 + # Display first 4 bytes of string in hex (hex then substring)
500 + out = x.format("{0:.4:#x}", "hello") # out = "0x68"
501 +
502 + # Integer extension to display umax name instead of the value
503 + # Format: {0:max32|umax32|max64|umax64}
504 + # Output: if value matches the largest number in format given,
505 + # the max name is displayed, else the value is displayed
506 + out = x.format("{0:max32}", 0x7fffffff) # out = "max32"
507 + out = x.format("{0:max32}", 35) # out = "35"
508 +
509 + # Number extension to display the value as an ordinal number
510 + # Format: {0:ord[:s]}
511 + # Output: display value as an ordinal number,
512 + # use the ":s" option to display the short name
513 + out = x.format("{0:ord}", 3) # out = "third"
514 + out = x.format("{0:ord:s}", 3) # out = "3rd"
515 +
516 + # Number extension to display the value with units
517 + # Format: {0:units[.precision]}
518 + # Output: display value as a string with units, by default
519 + # precision=2 and all trailing zeros are removed.
520 + # To force the precision use a negative number.
521 + out = x.format("{0:units}", 1024) # out = "1KB"
522 + out = x.format("{0:units.4}", 2000) # out = "1.9531KB"
523 + out = x.format("{0:units.-2}", 1024) # out = "1.00KB"
524 +
525 + # Date extension for int, long or float
526 + # Format: {0:date[:datefmt]}
527 + # The spec given by datefmt is converted using strftime()
528 + # The conversion spec "%q" is used to display microseconds
529 + # Output: display value as a date
530 + stime = 1416846041.521868
531 + out = x.format("{0:date}", stime) # out = "Mon Nov 24 09:20:41 2014"
532 + out = x.format("{0:date:%Y-%m-%d}", stime) # out = "2014-11-24"
533 +
534 + # List format specification
535 + # Format: {0[[:listfmt]:itemfmt]}
536 + # If one format spec, it is applied to each item in the list
537 + # If two format specs, the first is the item separator and
538 + # the second is the spec applied to each item in the list
539 + alist = [1, 2, 3, 0xffffffff]
540 + out = x.format("{0:umax32}", alist) # out = "[1, 2, 3, umax32]"
541 + out = x.format("{0:--:umax32}", alist) # out = "1--2--3--umax32"
542 +
543 +.P
544 +.B Methods defined here:
545 +---------------------
546 +.P
547 +.B format_field(self, value, format_spec)
548 +Override original method to include modifier extensions
549 +.P
550 +.B get_value(self, key, args, kwargs)
551 +Override original method to return "" when the positional argument
552 +or named argument does not exist:
553 + x.format("0:{0}, 1:{1}, arg1:{arg1}, arg2:{arg2}", a, arg1=11)
554 + the {1} will return "" since there is only one positional argument
555 + the {arg2} will return "" since arg2 is not a named argument
556 +.fi
557 +.SH FUNCTIONS
558 +.nf
559 +.B crc16(value)
560 +Convert string to its crc16 representation
561 +.P
562 +.B crc32(value)
563 +Convert string to its crc32 representation
564 +.P
565 +.B hexstr(value)
566 +Convert string to its hex representation
567 +.P
568 +.B int_units(value)
569 +Convert string value with units to an integer
570 +
571 +.RS
572 +.TP
573 +.B
574 +value:
575 +String to convert
576 +.RE
577 +.RS
578 +
579 +Examples:
580 + out = int_units("1MB") # out = 1048576
581 +.RE
582 +.P
583 +.B ordinal_number(value, short=0)
584 +Return the ordinal number for the given integer
585 +.P
586 +.B plural(word, count=2)
587 +Return the plural of the word according to the given count
588 +.P
589 +.B str_time(value)
590 +Convert the number of seconds to a string with a format of "[h:]mm:ss"
591 +
592 +.RS
593 +.TP
594 +.B
595 +value:
596 +Time value to convert (in seconds)
597 +.RE
598 +.RS
599 +
600 +Examples:
601 + out = str_time(123.0) # out = "02:03"
602 + out = str_time(12345) # out = "3:25:45"
603 +.RE
604 +.P
605 +.B str_units(value, precision=2)
606 +Convert number to a string value with units
607 +
608 +.RS
609 +.TP
610 +.B
611 +value:
612 +Number to convert
613 +.TP
614 +.B
615 +precision:
616 +Return string value with the following floating point
617 +precision. By default no trailing zeros are returned
618 +but if the precision is given as a negative number
619 +the precision is enforced [default: 2]
620 +.RE
621 +.SH BUGS
622 +No known bugs.
623 +.SH AUTHOR
624 +Jorge Mora ([email protected])
625 --- /dev/null
626 +++ nfstest-3.2/man/nfstest.file_io.3
627 @@ -0,0 +1,256 @@
628 +.\" DO NOT MODIFY THIS FILE! It was generated by setup.py 1.2.
629 +.TH FILE_IO 3 "31 May 2026" "NFStest 3.2" "file_io 1.3"
630 +.SH NAME
631 +nfstest.file_io - File I/O module
632 +.SH DESCRIPTION
633 +
634 +Provides an interface to create and manipulate files of different types.
635 +The arguments allow running for a specified period of time as well as running
636 +multiple processes. Each process modifies a single file at a time and the
637 +file name space is different for each process so there are no collisions
638 +between two different processes modifying the same file.
639 +
640 +File types:
641 + - Regular file
642 + - Hard link
643 + - Symbolic link
644 +
645 +File operations:
646 + - Open (create or re-open)
647 + - Open downgrade
648 + This is done by opening the file for read and write, then the file is
649 + opened again as read only and finally closing the read and write file
650 + descriptor
651 + - Read (sequential or random access)
652 + - Write (sequential or random access)
653 + - Remove
654 + - Rename
655 + - Truncate (path or file descriptor)
656 + - Readdir
657 + - Lock
658 + - Unlock
659 + - Tlock
660 +.SH CLASSES
661 +.SS class FileIO(baseobj.BaseObj)
662 +.nf
663 +FileIO(**kwargs)
664 +
665 +FileIO object
666 +
667 +Usage:
668 + from nfstest.file_io import FileIO
669 +
670 + # Instantiate FileIO object given top level directory
671 + x = FileIO(datadir="/tmp/data")
672 +
673 + # Run workload creating the top level directory if necessary
674 + x.run()
675 +
676 +.P
677 +.B Methods defined here:
678 +---------------------
679 +.P
680 +.B __del__(self)
681 +Destructor
682 +.P
683 +.B __init__(self, **kwargs)
684 +Constructor
685 +
686 +Initialize object's private data
687 +
688 +.RS
689 +.TP
690 +.B
691 +datadir:
692 +Top level directory where files will be created,
693 +it will be created if it does not exist
694 +.TP
695 +.B
696 +seed:
697 +Seed to initialized the random number generator
698 +[default: automatically generated]
699 +.TP
700 +.B
701 +nprocs:
702 +Number of processes to use [default: 1]
703 +.TP
704 +.B
705 +runtime:
706 +Run time [default: 0 (indefinitely)]
707 +.TP
708 +.B
709 +verbose:
710 +Verbose level: none|info|debug|dbg1-7|all [default: 'none']
711 +.TP
712 +.B
713 +exiterr:
714 +Exit on first error [default: False]
715 +.TP
716 +.B
717 +read:
718 +Read file percentage [default: 40.0]
719 +.TP
720 +.B
721 +write:
722 +Write file percentage [default: 40.0]
723 +.TP
724 +.B
725 +rdwr:
726 +Read/write file percentage [default: 20.0]
727 +.TP
728 +.B
729 +randio:
730 +Random file access percentage [default: 50.0]
731 +.TP
732 +.B
733 +iodelay:
734 +Seconds to delay I/O operations [default: 0.0]
735 +.TP
736 +.B
737 +direct:
738 +Use direct I/O [default: False]
739 +.TP
740 +.B
741 +rdwronly:
742 +Use read and write only, no rename, remove, etc. [default: False]
743 +.TP
744 +.B
745 +create:
746 +Create file percentage [default: 5.0]
747 +.TP
748 +.B
749 +odgrade:
750 +Open downgrade percentage [default: 5.0]
751 +.TP
752 +.B
753 +osync:
754 +Open file with O_SYNC [default: 10.0]
755 +.TP
756 +.B
757 +fsync:
758 +Percentage of fsync after write [default: 2.0]
759 +.TP
760 +.B
761 +rename:
762 +Rename file percentage [default: 5.0]
763 +.TP
764 +.B
765 +remove:
766 +Remove file percentage [default: 5.0]
767 +.TP
768 +.B
769 +trunc:
770 +Truncate file percentage [default: 2.0]
771 +.TP
772 +.B
773 +ftrunc:
774 +Truncate opened file percentage [default: 2.0]
775 +.TP
776 +.B
777 +link:
778 +Create hard link percentage [default: 1.0]
779 +.TP
780 +.B
781 +slink:
782 +Create symbolic link percentage [default: 0.2]
783 +.TP
784 +.B
785 +readdir:
786 +List contents of directory percentage [default: 0.5]
787 +.TP
788 +.B
789 +lock:
790 +Lock file percentage [default: 20.0]
791 +.TP
792 +.B
793 +unlock:
794 +Unlock file percentage [default: 80.0]
795 +.TP
796 +.B
797 +tlock:
798 +Lock test percentage [default: 20.0]
799 +.TP
800 +.B
801 +lockfull:
802 +Lock full file percentage [default: 50.0]
803 +.TP
804 +.B
805 +minfiles:
806 +Minimum number of files to create before any file operation
807 +is executed [default: 10]
808 +.TP
809 +.B
810 +fsizeavg:
811 +File size average [default: 1m]
812 +.TP
813 +.B
814 +fsizedev:
815 +File size standard deviation [default: 256k]
816 +.TP
817 +.B
818 +rsize:
819 +Read block size [default: 64k]
820 +.TP
821 +.B
822 +rsizedev:
823 +Read block size standard deviation [default: 8k]
824 +.TP
825 +.B
826 +wsize:
827 +Write block size [default: 64k]
828 +.TP
829 +.B
830 +wsizedev:
831 +Write block size standard deviation [default: 8k]
832 +.TP
833 +.B
834 +sizemult:
835 +Size multiplier [default: 1.0]
836 +.TP
837 +.B
838 +createlog:
839 +Create log file [default: False]
840 +.TP
841 +.B
842 +createlogs:
843 +Create a log file for each process [default: False]
844 +.TP
845 +.B
846 +logdir:
847 +Log directory [default: '/tmp']
848 +.RE
849 +.P
850 +.B get_mountpoint(self)
851 +Get mount point from data directory
852 +.P
853 +.B run(self)
854 +Main function where all processes are started
855 +.P
856 +.B run_process(self, tid=0)
857 +Main loop for each process
858 +.fi
859 +.SS class FileObj(baseobj.BaseObj)
860 +.nf
861 +FileObj(*kwts, **kwds)
862 +
863 +# File object
864 +
865 +.fi
866 +.SS class TermSignal(builtins.Exception)
867 +.nf
868 +Exception to be raised on SIGTERM signal
869 +
870 +.fi
871 +.SH FUNCTIONS
872 +.nf
873 +.B stop_handler(signum, frame)
874 +Signal handler to catch SIGTERM and allow for graceful termination
875 +of subprocesses
876 +.SH SEE ALSO
877 +.BR baseobj(3),
878 +.BR formatstr(3)
879 +
880 +.SH BUGS
881 +No known bugs.
882 +.SH AUTHOR
883 +Jorge Mora ([email protected])
884 --- /dev/null
885 +++ nfstest-3.2/man/nfstest.test_util.3
886 @@ -0,0 +1,643 @@
887 +.\" DO NOT MODIFY THIS FILE! It was generated by setup.py 1.2.
888 +.TH TEST_UTIL 3 "31 May 2026" "NFStest 3.2" "test_util 1.8"
889 +.SH NAME
890 +nfstest.test_util - Test utilities module
891 +.SH DESCRIPTION
892 +
893 +Provides a set of tools for testing either the NFS client or the NFS server,
894 +most of the functionality is focused mainly on testing the client.
895 +These tools include the following:
896 +
897 + - Process command line arguments
898 + - Provide functionality for PASS/FAIL
899 + - Provide test grouping functionality
900 + - Provide multiple client support
901 + - Logging mechanism
902 + - Debug info control
903 + - Mount/Unmount control
904 + - Create files/directories
905 + - Provide mechanism to start a packet trace
906 + - Provide mechanism to simulate a network partition
907 + - Support for pNFS testing
908 +
909 +In order to use some of the functionality available, the user id in all the
910 +client hosts must have access to run commands as root using the 'sudo' command
911 +without the need for a password, this includes the host where the test is being
912 +executed. This is used to run commands like 'mount' and 'umount'. Furthermore,
913 +the user id must be able to ssh to remote hosts without the need for a password
914 +if test requires the use of multiple clients.
915 +
916 +Network partition is simulated by the use of 'iptables', please be advised
917 +that after every test run the iptables is flushed and reset so any rules
918 +previously setup will be lost. Currently, there is no mechanism to restore
919 +the iptables rules to their original state.
920 +.SH CLASSES
921 +.SS class TestUtil(nfstest.nfs_util.NFSUtil)
922 +.nf
923 +TestUtil(**kwargs)
924 +
925 +TestUtil object
926 +
927 +TestUtil() -> New server object
928 +
929 +Usage:
930 + x = TestUtil()
931 +
932 + # Process command line options
933 + x.scan_options()
934 +
935 + # Start packet trace using tcpdump
936 + x.trace_start()
937 +
938 + # Mount volume
939 + x.mount()
940 +
941 + # Create file
942 + x.create_file()
943 +
944 + # Unmount volume
945 + x.umount()
946 +
947 + # Stop packet trace
948 + x.trace_stop()
949 +
950 + # Exit script
951 + x.exit()
952 +
953 +.P
954 +.B Methods defined here:
955 +---------------------
956 +.P
957 +.B __del__(self)
958 +Destructor
959 +
960 +Gracefully stop the packet trace, cleanup files, unmount volume,
961 +and reset network.
962 +.P
963 +.B __init__(self, **kwargs)
964 +Constructor
965 +
966 +Initialize object's private data.
967 +
968 +.RS
969 +.TP
970 +.B
971 +sid:
972 +Test script ID [default: '']
973 +This is used to have options targeted for a given ID without
974 +including these options in any other test script.
975 +.TP
976 +.B
977 +usage:
978 +Usage string [default: '']
979 +.TP
980 +.B
981 +testnames:
982 +List of test names [default: []]
983 +When this list is not empty, the --runtest option is enabled and
984 +test scripts should use the run_tests() method to run all the
985 +tests. Test script should have methods named as <testname>_test.
986 +.TP
987 +.B
988 +testgroups:
989 +Dictionary of test groups where the key is the name of the test
990 +group and its value is a dictionary having the following keys:
991 +tests:
992 +A list of tests belonging to this test group
993 +desc:
994 +Description of the test group, this is displayed
995 +in the help if the name of the test group is also
996 +included in testnames
997 +tincl:
998 +Include a comma separated list of tests belonging to
999 +this test group to the description [default: False]
1000 +wrap:
1001 +Reformat the description so it fits in lines no
1002 +more than the width given. The description is not
1003 +formatted for a value of zero [default: 72]
1004 +.RE
1005 +.RS
1006 +
1007 +Example:
1008 + x = TestUtil(testnames=['basic', 'lock'])
1009 +
1010 + # The following methods should exist:
1011 + x.basic_test()
1012 + x.lock_test()
1013 +.RE
1014 +.P
1015 +.B cleanup(self)
1016 +Clean up test environment.
1017 +
1018 +Remove any files created: test files, trace files.
1019 +.P
1020 +.B close_files(self, *fdlist)
1021 +Close all files opened by open_files() and all file descriptors
1022 +given as arguments.
1023 +.P
1024 +.B compare_data(self, data, offset=0, pattern=None, nlen=32, fd=None, msg='')
1025 +Compare data to the given pattern and return a three item tuple:
1026 +absolute offset where data differs from pattern, sample data at
1027 +diff offset, and the expected data at diff offset according to
1028 +pattern. If data matches exactly it returns (None, None, None).
1029 +
1030 +.RS
1031 +.TP
1032 +.B
1033 +data:
1034 +Data to compare against the pattern
1035 +.TP
1036 +.B
1037 +offset:
1038 +Absolute offset to get the expected data from pattern
1039 +[default: 0]
1040 +.TP
1041 +.B
1042 +pattern:
1043 +Data pattern function or string. If this is a function,
1044 +it must take offset and size as positional arguments.
1045 +If given as a string, the pattern repeats over and over
1046 +starting at offset = 0 [default: self.data_pattern]
1047 +.TP
1048 +.B
1049 +nlen:
1050 +Size of sample data to return if a difference is found
1051 +[default: 32]
1052 +.TP
1053 +.B
1054 +fd:
1055 +Opened file descriptor for the data, this is used where
1056 +the data comes from a file and a difference is found right
1057 +at the end of the given data. In this case, the data is
1058 +read from the file to return the sample diff of size given
1059 +by nlen [default: None]
1060 +.TP
1061 +.B
1062 +msg:
1063 +Message to append to debug message if a difference is
1064 +found. If set to None, debug messages are not displayed
1065 +[default: '']
1066 +.RE
1067 +.P
1068 +.B compare_mount_args(self, mtopts1, mtopts2)
1069 +Compare mount arguments
1070 +.P
1071 +.B config(self, msg)
1072 +Display config message and terminate test with an exit value of 2.
1073 +.P
1074 +.B create_dir(self, dir=None, mode=493)
1075 +Create a directory under the given directory with the given mode.
1076 +.P
1077 +.B create_file(self, offset=0, size=None, dir=None, mode=None, **kwds)
1078 +Create a file starting to write at given offset with total size
1079 +of written data given by the size option.
1080 +
1081 +.RS
1082 +.TP
1083 +.B
1084 +offset:
1085 +File offset where data will be written to [default: 0]
1086 +.TP
1087 +.B
1088 +size:
1089 +Total number of bytes to write [default: --filesize option]
1090 +.TP
1091 +.B
1092 +dir:
1093 +Create file under this directory
1094 +.TP
1095 +.B
1096 +mode:
1097 +File permissions [default: use default OS permissions]
1098 +.TP
1099 +.B
1100 +pattern:
1101 +Data pattern to write to the file [default: data_pattern default]
1102 +.TP
1103 +.B
1104 +ftype:
1105 +File type to create [default: FTYPE_FILE]
1106 +.TP
1107 +.B
1108 +hole_list:
1109 +List of offsets where each hole is located [default: None]
1110 +.TP
1111 +.B
1112 +hole_size:
1113 +Size of each hole [default: --wsize option]
1114 +.TP
1115 +.B
1116 +verbose:
1117 +Verbosity level [default: 0]
1118 +.TP
1119 +.B
1120 +dlevels:
1121 +Debug level list to use [default: ["DBG2", "DBG3", "DBG4"]]
1122 +.RE
1123 +.RS
1124 +
1125 +Returns the file name created, the file name is also stored
1126 +in the object attribute filename -- attribute absfile is also
1127 +available as the absolute path of the file just created.
1128 +
1129 +File created is removed at cleanup.
1130 +.RE
1131 +.P
1132 +.B create_rexec(self, servername=None, **kwds)
1133 +Create remote server object.
1134 +.P
1135 +.B data_pattern(self, offset, size, pattern=None)
1136 +Return data pattern.
1137 +
1138 +.RS
1139 +.TP
1140 +.B
1141 +offset:
1142 +Starting offset of pattern
1143 +.TP
1144 +.B
1145 +size:
1146 +Size of data to return
1147 +.TP
1148 +.B
1149 +pattern:
1150 +Data pattern to return, default is of the form:
1151 +hex_offset(0x%08X) abcdefghijklmnopqrst\n
1152 +.RE
1153 +.P
1154 +.B delay_io(self, delay=None)
1155 +Delay I/O by value given or the value given in --iodelay option.
1156 +.P
1157 +.B exit(self)
1158 +Terminate script with an exit value of 0 when all tests passed
1159 +and a value of 1 when there is at least one test failure.
1160 +.P
1161 +.B get_dirname(self, dir=None)
1162 +Return a unique directory name under the given directory.
1163 +.P
1164 +.B get_filename(self, dir=None)
1165 +Return a unique file name under the given directory.
1166 +.P
1167 +.B get_logname(self, remote=False)
1168 +Get next log file name.
1169 +.P
1170 +.B get_marker_index(self, marker_id=None)
1171 +Find packet index of the trace marker given by the marker id
1172 +
1173 +.RS
1174 +.TP
1175 +.B
1176 +marker_id:
1177 +ID of trace marker to find in the packet trace, if this is
1178 +not given the current marker id is used [default: None]
1179 +.RE
1180 +.P
1181 +.B get_name(self)
1182 +Get unique name for this instance.
1183 +.P
1184 +.B insert_trace_marker(self, name=None)
1185 +Send a LOOKUP for an unknown file to have a marker in
1186 +the packet trace and return the trace marker id
1187 +
1188 +.RS
1189 +.TP
1190 +.B
1191 +name:
1192 +Use this name as the trace marker but the caller must make
1193 +sure this is a unique name in order to find the correct
1194 +index for this marker. This could also be used to add any
1195 +arbitrary information to the packet trace [default: None]
1196 +.RE
1197 +.P
1198 +.B lock_files(self, lock_type=None, offset=0, length=0)
1199 +Lock all files opened by open_files().
1200 +.P
1201 +.B need_run_test(self, testname)
1202 +Return True only if user explicitly requested to run this test
1203 +.P
1204 +.B open_files(self, mode, create=True)
1205 +Open files according to given mode, the file descriptors are saved
1206 +internally to be used with write_files(), read_files() and
1207 +close_files(). The number of files to open is controlled by
1208 +the command line option '--nfiles'.
1209 +
1210 +The mode could be either 'r' or 'w' for opening files for reading
1211 +or writing respectively. The open flags for mode 'r' is O_RDONLY
1212 +while for mode 'w' is O_WRONLY|O_CREAT|O_SYNC. The O_SYNC is used
1213 +to avoid the client buffering the written data.
1214 +.P
1215 +.B process_client_option(self, option='client', remote=True, count=1)
1216 +Process the client option
1217 +
1218 +Clients are separated by a "," and each client definition can have
1219 +the following options separated by ":":
1220 + client:server:export:nfsversion:port:proto:sec:mtpoint
1221 +
1222 +.RS
1223 +.TP
1224 +.B
1225 +option:
1226 +Option name [default: "client"]
1227 +.TP
1228 +.B
1229 +remote:
1230 +Expect a client hostname or IP address in the definition.
1231 +If this is set to None do not verify client name or IP.
1232 +[default: True]
1233 +.TP
1234 +.B
1235 +count:
1236 +Number of client definitions to expect. If remote is True,
1237 +return the number of definitions listed in the given option
1238 +up to this number. If remote is False, return exactly this
1239 +number of definitions [default: 1]
1240 +.RE
1241 +.RS
1242 +
1243 +Examples:
1244 + # Using positional arguments with nfsversion=4.1 for client1
1245 + client=client1:::4.1,client2
1246 +
1247 + # Using named arguments instead
1248 + client=client1:nfsversion=4.1,client2
1249 +.RE
1250 +.P
1251 +.B process_option(self, value, arglist=[], typemap={})
1252 +Process option with a list of items separated by "," and each
1253 +item in the list could have different arguments separated by ":".
1254 +
1255 +.RS
1256 +.TP
1257 +.B
1258 +value:
1259 +String of comma separated elements
1260 +.TP
1261 +.B
1262 +arglist:
1263 +Positional order of arguments, if this list is empty,
1264 +then use named arguments only [default: []]
1265 +.TP
1266 +.B
1267 +typemap:
1268 +Dictionary to convert arguments to their given types,
1269 +where the key is the argument name and its value is the
1270 +type function to use to convert the argument [default: {}]
1271 +.RE
1272 +.P
1273 +.B read_files(self)
1274 +Read a block of data (size given by --rsize) from all files opened
1275 +by open_files() for reading.
1276 +.P
1277 +.B remove_test(self, testname)
1278 +Remove all instances of test from the list of tests to run
1279 +.P
1280 +.B run_func(self, func, *args, **kwargs)
1281 +Run function with the given arguments and return the results.
1282 +All positional arguments are passed to the function while the
1283 +named arguments change the behavior of the method.
1284 +Object attribute "oserror" is set to the OSError object if the
1285 +function fails.
1286 +
1287 +.RS
1288 +.TP
1289 +.B
1290 +msg:
1291 +Test assertion message [default: None]
1292 +.TP
1293 +.B
1294 +err:
1295 +Expected error number [default: 0]
1296 +.RE
1297 +.P
1298 +.B run_tests(self, **kwargs)
1299 +Run all test specified by the --runtest option.
1300 +
1301 +.RS
1302 +.TP
1303 +.B
1304 +testnames:
1305 +List of testnames to run [default: all tests given by --testnames]
1306 +.RE
1307 +.RS
1308 +
1309 +All other arguments given are passed to the test methods.
1310 +.RE
1311 +.P
1312 +.B scan_options(self)
1313 +Process command line options.
1314 +
1315 +Process all the options in the file given by '--file', then the
1316 +ones in the command line. This allows for command line options
1317 +to over write options given in the file.
1318 +
1319 +Format of options file:
1320 + # For options expecting a value
1321 + <option_name> = <value>
1322 +
1323 + # For boolean (flag) options
1324 + <option_name>
1325 +
1326 +Process options files and make sure not to process the same file
1327 +twice, this is used for the case where HOMECFG and CWDCFG are the
1328 +same, more specifically when environment variable HOME is not
1329 +defined. Also, the precedence order is defined as follows:
1330 + 1. options given in command line
1331 + 2. options given in file specified by the -f|--file option
1332 + 3. options given in file specified by ./.nfstest
1333 + 4. options given in file specified by $HOME/.nfstest
1334 + 5. options given in file specified by /etc/nfstest
1335 +
1336 +NOTE:
1337 + Must use the long name of the option (--<option_name>) in the file.
1338 +.P
1339 +.B set_nfserr_list(self, nfs3list=[], nfs4list=[], nlm4list=[], mnt3list=[])
1340 +Temporaly set the NFS list of expected NFS errors in the next call
1341 +to trace_open
1342 +.P
1343 +.B setup(self, nfiles=None)
1344 +Set up test environment.
1345 +
1346 +Create nfiles number of files [default: --nfiles option]
1347 +.P
1348 +.B str_args(self, args)
1349 +Return the formal string representation of the given list
1350 +where string objects are truncated.
1351 +.P
1352 +.B test(self, expr, msg, subtest=None, failmsg=None, terminate=False)
1353 +Test expr and display message as PASS/FAIL, terminate execution
1354 +if terminate option is True.
1355 +
1356 +.RS
1357 +.TP
1358 +.B
1359 +expr:
1360 +If expr is true, display as a PASS message,
1361 +otherwise as a FAIL message
1362 +.TP
1363 +.B
1364 +msg:
1365 +Message to display
1366 +.TP
1367 +.B
1368 +subtest:
1369 +If given, append this string to the displayed message and
1370 +mark this test as a member of the sub-group given by msg
1371 +.TP
1372 +.B
1373 +failmsg:
1374 +If given, append this string to the displayed message when
1375 +expr is false [default: None]
1376 +.TP
1377 +.B
1378 +terminate:
1379 +Terminate execution if true and expr is false [default: False]
1380 +.RE
1381 +.RS
1382 +
1383 +If tverbose=normal or level 1:
1384 + Sub-group message is displayed as a PASS/FAIL message including
1385 + the number of tests that passed and failed within the sub-group
1386 +If tverbose=verbose or level 2:
1387 + All tests messages are displayed
1388 +.RE
1389 +.P
1390 +.B test_description(self, tname=None)
1391 +Return the test description for the current test
1392 +.P
1393 +.B test_group(self, msg)
1394 +Display heading message and start a test group.
1395 +
1396 +If tverbose=group or level 0:
1397 + Group message is displayed as a PASS/FAIL message including the
1398 + number of tests that passed and failed within this test group.
1399 +If tverbose=normal|verbose or level 1|2:
1400 + Group message is displayed as a heading messages for the tests
1401 + belonging to this test group.
1402 +.P
1403 +.B test_info(self, msg)
1404 +Display info message.
1405 +.P
1406 +.B test_options(self, name=None)
1407 +Get options for the given test name. If the test name is not given
1408 +it is determined by inspecting the stack to find which method is
1409 +calling this method.
1410 +.P
1411 +.B testid_count(self, tid)
1412 +Return the number of instances the testid has occurred.
1413 +.P
1414 +.B trace_open(self, *kwts, **kwds)
1415 +This is a wrapper to the original trace_open method where the
1416 +packet trace is scanned for NFS errors and a failure is logged
1417 +for each error found not given on the list of expected errors
1418 +set with method set_nfserr_list. Scanning for NFS error is done
1419 +only if --nfserrors option has been specified.
1420 +.P
1421 +.B trace_start(self, *kwts, **kwds)
1422 +This is a wrapper to the original trace_start method to reset
1423 +the trace marker state
1424 +.P
1425 +.B verify_client_option(self, tclient_dict, option='client')
1426 +Verify the client option is required from the list of tests to run.
1427 +Also, check if enough clients were specified to run the tests.
1428 +
1429 +.RS
1430 +.TP
1431 +.B
1432 +tclient_dict:
1433 +Dictionary having the number of clients required by each test
1434 +.TP
1435 +.B
1436 +option:
1437 +Option name [default: "client"]
1438 +.RE
1439 +.P
1440 +.B verify_file_data(
1441 + self,
1442 + msg=None,
1443 + pattern=None,
1444 + path=None,
1445 + filesize=None,
1446 + nlen=None,
1447 + cmsg=''
1448 +)
1449 + Verify file by comparing the data to the given pattern.
1450 + It returns the results from the compare_data method.
1451 +
1452 + msg:
1453 + Test assertion message. If set to None, no assertion is
1454 + done it just returns the results [default: None]
1455 + pattern:
1456 + Data pattern function or string. If this is a function,
1457 + it must take offset and size as positional arguments.
1458 + If given as a string, the pattern repeats over and over
1459 + starting at offset = 0 [default: self.data_pattern]
1460 + path:
1461 + Absolute path of file to verify [default: self.absfile]
1462 + filesize:
1463 + Expected size of file to be verified [default: self.filesize]
1464 + nlen:
1465 + Size of sample data to return if a difference is found
1466 + [default: compare_data default]
1467 + cmsg:
1468 + Message to append to debug message if a difference is
1469 + found. If set to None, debug messages are not displayed
1470 + [default: '']
1471 +.P
1472 +.B warning(self, msg)
1473 +Display warning message.
1474 +.P
1475 +.B write_data(
1476 + self,
1477 + fd,
1478 + offset=0,
1479 + size=None,
1480 + pattern=None,
1481 + verbose=0,
1482 + dlevel='DBG5'
1483 +)
1484 + Write data to the file given by the file descriptor
1485 +
1486 + fd:
1487 + File descriptor
1488 + offset:
1489 + File offset where data will be written to [default: 0]
1490 + size:
1491 + Total number of bytes to write [default: --filesize option]
1492 + pattern:
1493 + Data pattern to write to the file [default: data_pattern default]
1494 + verbose:
1495 + Verbosity level [default: 0]
1496 +.P
1497 +.B write_files(self)
1498 +Write a block of data (size given by --wsize) to all files opened
1499 +by open_files() for writing.
1500 +.P
1501 +.B Static methods defined here:
1502 +----------------------------
1503 +.P
1504 +.B get_list(value, nmap, sep=',')
1505 +Given the value as a string of 'comma' separated elements, return
1506 +a list where each element is mapped using the dictionary 'nmap'.
1507 + nmap = {"one":1, "two":2}
1508 + out = x.get_list("one", nmap) # out = [1]
1509 + out = x.get_list("one,two", nmap) # out = [1,2]
1510 + out = x.get_list("two,one", nmap) # out = [2,1]
1511 + out = x.get_list("one,three", nmap) # out = None
1512 +.P
1513 +.B str_list(value, vtype=<class 'str'>, sep=',')
1514 +Return a list of <vtype> elements from the comma separated string.
1515 +.fi
1516 +.SH SEE ALSO
1517 +.BR baseobj(3),
1518 +.BR formatstr(3),
1519 +.BR nfstest.host(3),
1520 +.BR nfstest.nfs_util(3),
1521 +.BR nfstest.rexec(3),
1522 +.BR nfstest.utils(3),
1523 +.BR packet.nfs.nfs3_const(3),
1524 +.BR packet.nfs.nfs4_const(3)
1525 +
1526 +.SH BUGS
1527 +No known bugs.
1528 +.SH AUTHOR
1529 +Jorge Mora ([email protected])
1530 --- /dev/null
1531 +++ nfstest-3.2/man/packet.nfs.nfs4.3
1532 @@ -0,0 +1,8119 @@
1533 +.\" DO NOT MODIFY THIS FILE! It was generated by setup.py 1.2.
1534 +.TH NFS4 3 "31 May 2026" "NFStest 3.2" "nfs4 4.2"
1535 +.SH NAME
1536 +packet.nfs.nfs4 - NFSv4 decoding module
1537 +.SH CLASSES
1538 +.SS class ACCESS4args(baseobj.BaseObj)
1539 +.nf
1540 +ACCESS4args(unpack)
1541 +
1542 +struct ACCESS4args {
1543 + /* CURRENT_FH: object */
1544 + access4 access;
1545 +};
1546 +
1547 +.P
1548 +.B Methods defined here:
1549 +---------------------
1550 +.P
1551 +.B __init__(self, unpack)
1552 +Constructor
1553 +
1554 +Initialize object's private data according to the arguments given.
1555 +Arguments can be given as positional, named arguments or a
1556 +combination of both.
1557 +.fi
1558 +.SS class ACCESS4res(baseobj.BaseObj)
1559 +.nf
1560 +ACCESS4res(unpack)
1561 +
1562 +union switch ACCESS4res (nfsstat4 status) {
1563 + case const.NFS4_OK:
1564 + ACCESS4resok resok;
1565 + default:
1566 + void;
1567 +};
1568 +
1569 +.P
1570 +.B Methods defined here:
1571 +---------------------
1572 +.P
1573 +.B __init__(self, unpack)
1574 +Constructor
1575 +
1576 +Initialize object's private data according to the arguments given.
1577 +Arguments can be given as positional, named arguments or a
1578 +combination of both.
1579 +.fi
1580 +.SS class ACCESS4resok(baseobj.BaseObj)
1581 +.nf
1582 +ACCESS4resok(unpack)
1583 +
1584 +struct ACCESS4resok {
1585 + access4 supported;
1586 + access4 access;
1587 +};
1588 +
1589 +.P
1590 +.B Methods defined here:
1591 +---------------------
1592 +.P
1593 +.B __init__(self, unpack)
1594 +Constructor
1595 +
1596 +Initialize object's private data according to the arguments given.
1597 +Arguments can be given as positional, named arguments or a
1598 +combination of both.
1599 +.fi
1600 +.SS class ALLOCATE4args(baseobj.BaseObj)
1601 +.nf
1602 +ALLOCATE4args(unpack)
1603 +
1604 +struct ALLOCATE4args {
1605 + /* CURRENT_FH: file */
1606 + stateid4 stateid;
1607 + offset4 offset;
1608 + length4 length;
1609 +};
1610 +
1611 +.P
1612 +.B Methods defined here:
1613 +---------------------
1614 +.P
1615 +.B __init__(self, unpack)
1616 +Constructor
1617 +
1618 +Initialize object's private data according to the arguments given.
1619 +Arguments can be given as positional, named arguments or a
1620 +combination of both.
1621 +.fi
1622 +.SS class ALLOCATE4res(baseobj.BaseObj)
1623 +.nf
1624 +ALLOCATE4res(unpack)
1625 +
1626 +struct ALLOCATE4res {
1627 + nfsstat4 status;
1628 +};
1629 +
1630 +.P
1631 +.B Methods defined here:
1632 +---------------------
1633 +.P
1634 +.B __init__(self, unpack)
1635 +Constructor
1636 +
1637 +Initialize object's private data according to the arguments given.
1638 +Arguments can be given as positional, named arguments or a
1639 +combination of both.
1640 +.fi
1641 +.SS class BACKCHANNEL_CTL4args(baseobj.BaseObj)
1642 +.nf
1643 +BACKCHANNEL_CTL4args(unpack)
1644 +
1645 +struct BACKCHANNEL_CTL4args {
1646 + uint32_t cb_program;
1647 + callback_sec_parms4 sec_parms<>;
1648 +};
1649 +
1650 +.P
1651 +.B Methods defined here:
1652 +---------------------
1653 +.P
1654 +.B __init__(self, unpack)
1655 +Constructor
1656 +
1657 +Initialize object's private data according to the arguments given.
1658 +Arguments can be given as positional, named arguments or a
1659 +combination of both.
1660 +.fi
1661 +.SS class BACKCHANNEL_CTL4res(baseobj.BaseObj)
1662 +.nf
1663 +BACKCHANNEL_CTL4res(unpack)
1664 +
1665 +struct BACKCHANNEL_CTL4res {
1666 + nfsstat4 status;
1667 +};
1668 +
1669 +.P
1670 +.B Methods defined here:
1671 +---------------------
1672 +.P
1673 +.B __init__(self, unpack)
1674 +Constructor
1675 +
1676 +Initialize object's private data according to the arguments given.
1677 +Arguments can be given as positional, named arguments or a
1678 +combination of both.
1679 +.fi
1680 +.SS class BIND_CONN_TO_SESSION4args(baseobj.BaseObj)
1681 +.nf
1682 +BIND_CONN_TO_SESSION4args(unpack)
1683 +
1684 +struct BIND_CONN_TO_SESSION4args {
1685 + sessionid4 sessionid;
1686 + channel_dir_from_client4 dir;
1687 + bool rdma_mode;
1688 +};
1689 +
1690 +.P
1691 +.B Methods defined here:
1692 +---------------------
1693 +.P
1694 +.B __init__(self, unpack)
1695 +Constructor
1696 +
1697 +Initialize object's private data according to the arguments given.
1698 +Arguments can be given as positional, named arguments or a
1699 +combination of both.
1700 +.fi
1701 +.SS class BIND_CONN_TO_SESSION4res(baseobj.BaseObj)
1702 +.nf
1703 +BIND_CONN_TO_SESSION4res(unpack)
1704 +
1705 +union switch BIND_CONN_TO_SESSION4res (nfsstat4 status) {
1706 + case const.NFS4_OK:
1707 + BIND_CONN_TO_SESSION4resok resok;
1708 +};
1709 +
1710 +.P
1711 +.B Methods defined here:
1712 +---------------------
1713 +.P
1714 +.B __init__(self, unpack)
1715 +Constructor
1716 +
1717 +Initialize object's private data according to the arguments given.
1718 +Arguments can be given as positional, named arguments or a
1719 +combination of both.
1720 +.fi
1721 +.SS class BIND_CONN_TO_SESSION4resok(baseobj.BaseObj)
1722 +.nf
1723 +BIND_CONN_TO_SESSION4resok(unpack)
1724 +
1725 +struct BIND_CONN_TO_SESSION4resok {
1726 + sessionid4 sessionid;
1727 + channel_dir_from_server4 dir;
1728 + bool rdma_mode;
1729 +};
1730 +
1731 +.P
1732 +.B Methods defined here:
1733 +---------------------
1734 +.P
1735 +.B __init__(self, unpack)
1736 +Constructor
1737 +
1738 +Initialize object's private data according to the arguments given.
1739 +Arguments can be given as positional, named arguments or a
1740 +combination of both.
1741 +.fi
1742 +.SS class CB_COMPOUND4args(packet.nfs.nfsbase.NFSbase)
1743 +.nf
1744 +CB_COMPOUND4args(unpack)
1745 +
1746 +struct CB_COMPOUND4args {
1747 + utf8str_cs tag;
1748 + uint32_t minorversion;
1749 + uint32_t callback_ident;
1750 + nfs_cb_argop4 array<>;
1751 +};
1752 +
1753 +.P
1754 +.B Methods defined here:
1755 +---------------------
1756 +.P
1757 +.B __init__(self, unpack)
1758 +Constructor
1759 +
1760 +Initialize object's private data according to the arguments given.
1761 +Arguments can be given as positional, named arguments or a
1762 +combination of both.
1763 +.fi
1764 +.SS class CB_COMPOUND4res(packet.nfs.nfsbase.NFSbase)
1765 +.nf
1766 +CB_COMPOUND4res(unpack, minorversion)
1767 +
1768 +struct CB_COMPOUND4res {
1769 + nfsstat4 status;
1770 + utf8str_cs tag;
1771 + nfs_cb_resop4 array<>;
1772 +};
1773 +
1774 +.P
1775 +.B Methods defined here:
1776 +---------------------
1777 +.P
1778 +.B __init__(self, unpack, minorversion)
1779 +Constructor
1780 +
1781 +Initialize object's private data according to the arguments given.
1782 +Arguments can be given as positional, named arguments or a
1783 +combination of both.
1784 +.fi
1785 +.SS class CB_GETATTR4args(baseobj.BaseObj)
1786 +.nf
1787 +CB_GETATTR4args(unpack)
1788 +
1789 +struct CB_GETATTR4args {
1790 + nfs_fh4 fh;
1791 + bitmap4 request;
1792 +};
1793 +
1794 +.P
1795 +.B Methods defined here:
1796 +---------------------
1797 +.P
1798 +.B __init__(self, unpack)
1799 +Constructor
1800 +
1801 +Initialize object's private data according to the arguments given.
1802 +Arguments can be given as positional, named arguments or a
1803 +combination of both.
1804 +.fi
1805 +.SS class CB_GETATTR4res(baseobj.BaseObj)
1806 +.nf
1807 +CB_GETATTR4res(unpack)
1808 +
1809 +union switch CB_GETATTR4res (nfsstat4 status) {
1810 + case const.NFS4_OK:
1811 + CB_GETATTR4resok resok;
1812 + default:
1813 + void;
1814 +};
1815 +
1816 +.P
1817 +.B Methods defined here:
1818 +---------------------
1819 +.P
1820 +.B __init__(self, unpack)
1821 +Constructor
1822 +
1823 +Initialize object's private data according to the arguments given.
1824 +Arguments can be given as positional, named arguments or a
1825 +combination of both.
1826 +.fi
1827 +.SS class CB_GETATTR4resok(baseobj.BaseObj)
1828 +.nf
1829 +CB_GETATTR4resok(unpack)
1830 +
1831 +struct CB_GETATTR4resok {
1832 + fattr4 attributes;
1833 +};
1834 +
1835 +.P
1836 +.B Methods defined here:
1837 +---------------------
1838 +.P
1839 +.B __init__(self, unpack)
1840 +Constructor
1841 +
1842 +Initialize object's private data according to the arguments given.
1843 +Arguments can be given as positional, named arguments or a
1844 +combination of both.
1845 +.fi
1846 +.SS class CB_ILLEGAL4res(baseobj.BaseObj)
1847 +.nf
1848 +CB_ILLEGAL4res(unpack)
1849 +
1850 +struct CB_ILLEGAL4res {
1851 + nfsstat4 status;
1852 +};
1853 +
1854 +.P
1855 +.B Methods defined here:
1856 +---------------------
1857 +.P
1858 +.B __init__(self, unpack)
1859 +Constructor
1860 +
1861 +Initialize object's private data according to the arguments given.
1862 +Arguments can be given as positional, named arguments or a
1863 +combination of both.
1864 +.fi
1865 +.SS class CB_LAYOUTRECALL4args(baseobj.BaseObj)
1866 +.nf
1867 +CB_LAYOUTRECALL4args(unpack)
1868 +
1869 +struct CB_LAYOUTRECALL4args {
1870 + layouttype4 type;
1871 + layoutiomode4 iomode;
1872 + bool changed;
1873 + layoutrecall4 recall;
1874 +};
1875 +
1876 +.P
1877 +.B Methods defined here:
1878 +---------------------
1879 +.P
1880 +.B __init__(self, unpack)
1881 +Constructor
1882 +
1883 +Initialize object's private data according to the arguments given.
1884 +Arguments can be given as positional, named arguments or a
1885 +combination of both.
1886 +.fi
1887 +.SS class CB_LAYOUTRECALL4res(baseobj.BaseObj)
1888 +.nf
1889 +CB_LAYOUTRECALL4res(unpack)
1890 +
1891 +struct CB_LAYOUTRECALL4res {
1892 + nfsstat4 status;
1893 +};
1894 +
1895 +.P
1896 +.B Methods defined here:
1897 +---------------------
1898 +.P
1899 +.B __init__(self, unpack)
1900 +Constructor
1901 +
1902 +Initialize object's private data according to the arguments given.
1903 +Arguments can be given as positional, named arguments or a
1904 +combination of both.
1905 +.fi
1906 +.SS class CB_NOTIFY4args(baseobj.BaseObj)
1907 +.nf
1908 +CB_NOTIFY4args(unpack)
1909 +
1910 +struct CB_NOTIFY4args {
1911 + stateid4 stateid;
1912 + nfs_fh4 fh;
1913 + notify4 changes<>;
1914 +};
1915 +
1916 +.P
1917 +.B Methods defined here:
1918 +---------------------
1919 +.P
1920 +.B __init__(self, unpack)
1921 +Constructor
1922 +
1923 +Initialize object's private data according to the arguments given.
1924 +Arguments can be given as positional, named arguments or a
1925 +combination of both.
1926 +.fi
1927 +.SS class CB_NOTIFY4res(baseobj.BaseObj)
1928 +.nf
1929 +CB_NOTIFY4res(unpack)
1930 +
1931 +struct CB_NOTIFY4res {
1932 + nfsstat4 status;
1933 +};
1934 +
1935 +.P
1936 +.B Methods defined here:
1937 +---------------------
1938 +.P
1939 +.B __init__(self, unpack)
1940 +Constructor
1941 +
1942 +Initialize object's private data according to the arguments given.
1943 +Arguments can be given as positional, named arguments or a
1944 +combination of both.
1945 +.fi
1946 +.SS class CB_NOTIFY_DEVICEID4args(baseobj.BaseObj)
1947 +.nf
1948 +CB_NOTIFY_DEVICEID4args(unpack)
1949 +
1950 +struct CB_NOTIFY_DEVICEID4args {
1951 + notify4 changes<>;
1952 +};
1953 +
1954 +.P
1955 +.B Methods defined here:
1956 +---------------------
1957 +.P
1958 +.B __init__(self, unpack)
1959 +Constructor
1960 +
1961 +Initialize object's private data according to the arguments given.
1962 +Arguments can be given as positional, named arguments or a
1963 +combination of both.
1964 +.fi
1965 +.SS class CB_NOTIFY_DEVICEID4res(baseobj.BaseObj)
1966 +.nf
1967 +CB_NOTIFY_DEVICEID4res(unpack)
1968 +
1969 +struct CB_NOTIFY_DEVICEID4res {
1970 + nfsstat4 status;
1971 +};
1972 +
1973 +.P
1974 +.B Methods defined here:
1975 +---------------------
1976 +.P
1977 +.B __init__(self, unpack)
1978 +Constructor
1979 +
1980 +Initialize object's private data according to the arguments given.
1981 +Arguments can be given as positional, named arguments or a
1982 +combination of both.
1983 +.fi
1984 +.SS class CB_NOTIFY_LOCK4args(baseobj.BaseObj)
1985 +.nf
1986 +CB_NOTIFY_LOCK4args(unpack)
1987 +
1988 +struct CB_NOTIFY_LOCK4args {
1989 + nfs_fh4 fh;
1990 + lock_owner4 lock_owner;
1991 +};
1992 +
1993 +.P
1994 +.B Methods defined here:
1995 +---------------------
1996 +.P
1997 +.B __init__(self, unpack)
1998 +Constructor
1999 +
2000 +Initialize object's private data according to the arguments given.
2001 +Arguments can be given as positional, named arguments or a
2002 +combination of both.
2003 +.fi
2004 +.SS class CB_NOTIFY_LOCK4res(baseobj.BaseObj)
2005 +.nf
2006 +CB_NOTIFY_LOCK4res(unpack)
2007 +
2008 +struct CB_NOTIFY_LOCK4res {
2009 + nfsstat4 status;
2010 +};
2011 +
2012 +.P
2013 +.B Methods defined here:
2014 +---------------------
2015 +.P
2016 +.B __init__(self, unpack)
2017 +Constructor
2018 +
2019 +Initialize object's private data according to the arguments given.
2020 +Arguments can be given as positional, named arguments or a
2021 +combination of both.
2022 +.fi
2023 +.SS class CB_OFFLOAD4args(baseobj.BaseObj)
2024 +.nf
2025 +CB_OFFLOAD4args(unpack)
2026 +
2027 +struct CB_OFFLOAD4args {
2028 + nfs_fh4 fh;
2029 + stateid4 stateid;
2030 + offload_info4 info;
2031 +};
2032 +
2033 +.P
2034 +.B Methods defined here:
2035 +---------------------
2036 +.P
2037 +.B __init__(self, unpack)
2038 +Constructor
2039 +
2040 +Initialize object's private data according to the arguments given.
2041 +Arguments can be given as positional, named arguments or a
2042 +combination of both.
2043 +.fi
2044 +.SS class CB_OFFLOAD4res(baseobj.BaseObj)
2045 +.nf
2046 +CB_OFFLOAD4res(unpack)
2047 +
2048 +struct CB_OFFLOAD4res {
2049 + nfsstat4 status;
2050 +};
2051 +
2052 +.P
2053 +.B Methods defined here:
2054 +---------------------
2055 +.P
2056 +.B __init__(self, unpack)
2057 +Constructor
2058 +
2059 +Initialize object's private data according to the arguments given.
2060 +Arguments can be given as positional, named arguments or a
2061 +combination of both.
2062 +.fi
2063 +.SS class CB_PUSH_DELEG4args(baseobj.BaseObj)
2064 +.nf
2065 +CB_PUSH_DELEG4args(unpack)
2066 +
2067 +struct CB_PUSH_DELEG4args {
2068 + nfs_fh4 fh;
2069 + open_delegation4 delegation;
2070 +};
2071 +
2072 +.P
2073 +.B Methods defined here:
2074 +---------------------
2075 +.P
2076 +.B __init__(self, unpack)
2077 +Constructor
2078 +
2079 +Initialize object's private data according to the arguments given.
2080 +Arguments can be given as positional, named arguments or a
2081 +combination of both.
2082 +.fi
2083 +.SS class CB_PUSH_DELEG4res(baseobj.BaseObj)
2084 +.nf
2085 +CB_PUSH_DELEG4res(unpack)
2086 +
2087 +struct CB_PUSH_DELEG4res {
2088 + nfsstat4 status;
2089 +};
2090 +
2091 +.P
2092 +.B Methods defined here:
2093 +---------------------
2094 +.P
2095 +.B __init__(self, unpack)
2096 +Constructor
2097 +
2098 +Initialize object's private data according to the arguments given.
2099 +Arguments can be given as positional, named arguments or a
2100 +combination of both.
2101 +.fi
2102 +.SS class CB_RECALL4args(baseobj.BaseObj)
2103 +.nf
2104 +CB_RECALL4args(unpack)
2105 +
2106 +struct CB_RECALL4args {
2107 + stateid4 stateid;
2108 + bool truncate;
2109 + nfs_fh4 fh;
2110 +};
2111 +
2112 +.P
2113 +.B Methods defined here:
2114 +---------------------
2115 +.P
2116 +.B __init__(self, unpack)
2117 +Constructor
2118 +
2119 +Initialize object's private data according to the arguments given.
2120 +Arguments can be given as positional, named arguments or a
2121 +combination of both.
2122 +.fi
2123 +.SS class CB_RECALL4res(baseobj.BaseObj)
2124 +.nf
2125 +CB_RECALL4res(unpack)
2126 +
2127 +struct CB_RECALL4res {
2128 + nfsstat4 status;
2129 +};
2130 +
2131 +.P
2132 +.B Methods defined here:
2133 +---------------------
2134 +.P
2135 +.B __init__(self, unpack)
2136 +Constructor
2137 +
2138 +Initialize object's private data according to the arguments given.
2139 +Arguments can be given as positional, named arguments or a
2140 +combination of both.
2141 +.fi
2142 +.SS class CB_RECALLABLE_OBJ_AVAIL4args(baseobj.BaseObj)
2143 +.nf
2144 +CB_RECALLABLE_OBJ_AVAIL4args = class CB_RECALL_ANY4args(baseobj.BaseObj)
2145 +.fi
2146 +.SS class CB_RECALLABLE_OBJ_AVAIL4res(baseobj.BaseObj)
2147 +.nf
2148 +CB_RECALLABLE_OBJ_AVAIL4res(unpack)
2149 +
2150 +struct CB_RECALLABLE_OBJ_AVAIL4res {
2151 + nfsstat4 status;
2152 +};
2153 +
2154 +.P
2155 +.B Methods defined here:
2156 +---------------------
2157 +.P
2158 +.B __init__(self, unpack)
2159 +Constructor
2160 +
2161 +Initialize object's private data according to the arguments given.
2162 +Arguments can be given as positional, named arguments or a
2163 +combination of both.
2164 +.fi
2165 +.SS class CB_RECALL_ANY4args(baseobj.BaseObj)
2166 +.nf
2167 +CB_RECALL_ANY4args(unpack)
2168 +
2169 +struct CB_RECALL_ANY4args {
2170 + uint32_t objects_to_keep;
2171 + bitmap4 mask;
2172 +};
2173 +
2174 +.P
2175 +.B Methods defined here:
2176 +---------------------
2177 +.P
2178 +.B __init__(self, unpack)
2179 +Constructor
2180 +
2181 +Initialize object's private data according to the arguments given.
2182 +Arguments can be given as positional, named arguments or a
2183 +combination of both.
2184 +.fi
2185 +.SS class CB_RECALL_ANY4res(baseobj.BaseObj)
2186 +.nf
2187 +CB_RECALL_ANY4res(unpack)
2188 +
2189 +struct CB_RECALL_ANY4res {
2190 + nfsstat4 status;
2191 +};
2192 +
2193 +.P
2194 +.B Methods defined here:
2195 +---------------------
2196 +.P
2197 +.B __init__(self, unpack)
2198 +Constructor
2199 +
2200 +Initialize object's private data according to the arguments given.
2201 +Arguments can be given as positional, named arguments or a
2202 +combination of both.
2203 +.fi
2204 +.SS class CB_RECALL_SLOT4args(baseobj.BaseObj)
2205 +.nf
2206 +CB_RECALL_SLOT4args(unpack)
2207 +
2208 +struct CB_RECALL_SLOT4args {
2209 + slotid4 target_highest_slotid;
2210 +};
2211 +
2212 +.P
2213 +.B Methods defined here:
2214 +---------------------
2215 +.P
2216 +.B __init__(self, unpack)
2217 +Constructor
2218 +
2219 +Initialize object's private data according to the arguments given.
2220 +Arguments can be given as positional, named arguments or a
2221 +combination of both.
2222 +.fi
2223 +.SS class CB_RECALL_SLOT4res(baseobj.BaseObj)
2224 +.nf
2225 +CB_RECALL_SLOT4res(unpack)
2226 +
2227 +struct CB_RECALL_SLOT4res {
2228 + nfsstat4 status;
2229 +};
2230 +
2231 +.P
2232 +.B Methods defined here:
2233 +---------------------
2234 +.P
2235 +.B __init__(self, unpack)
2236 +Constructor
2237 +
2238 +Initialize object's private data according to the arguments given.
2239 +Arguments can be given as positional, named arguments or a
2240 +combination of both.
2241 +.fi
2242 +.SS class CB_SEQUENCE4args(baseobj.BaseObj)
2243 +.nf
2244 +CB_SEQUENCE4args(unpack)
2245 +
2246 +struct CB_SEQUENCE4args {
2247 + sessionid4 sessionid;
2248 + sequenceid4 sequenceid;
2249 + slotid4 slotid;
2250 + slotid4 highest_slotid;
2251 + bool cachethis;
2252 + referring_call_list4 referring_call_lists<>;
2253 +};
2254 +
2255 +.P
2256 +.B Methods defined here:
2257 +---------------------
2258 +.P
2259 +.B __init__(self, unpack)
2260 +Constructor
2261 +
2262 +Initialize object's private data according to the arguments given.
2263 +Arguments can be given as positional, named arguments or a
2264 +combination of both.
2265 +.fi
2266 +.SS class CB_SEQUENCE4res(baseobj.BaseObj)
2267 +.nf
2268 +CB_SEQUENCE4res(unpack)
2269 +
2270 +union switch CB_SEQUENCE4res (nfsstat4 status) {
2271 + case const.NFS4_OK:
2272 + CB_SEQUENCE4resok resok;
2273 + default:
2274 + void;
2275 +};
2276 +
2277 +.P
2278 +.B Methods defined here:
2279 +---------------------
2280 +.P
2281 +.B __init__(self, unpack)
2282 +Constructor
2283 +
2284 +Initialize object's private data according to the arguments given.
2285 +Arguments can be given as positional, named arguments or a
2286 +combination of both.
2287 +.fi
2288 +.SS class CB_SEQUENCE4resok(baseobj.BaseObj)
2289 +.nf
2290 +CB_SEQUENCE4resok(unpack)
2291 +
2292 +struct CB_SEQUENCE4resok {
2293 + sessionid4 sessionid;
2294 + sequenceid4 sequenceid;
2295 + slotid4 slotid;
2296 + slotid4 highest_slotid;
2297 + slotid4 target_highest_slotid;
2298 +};
2299 +
2300 +.P
2301 +.B Methods defined here:
2302 +---------------------
2303 +.P
2304 +.B __init__(self, unpack)
2305 +Constructor
2306 +
2307 +Initialize object's private data according to the arguments given.
2308 +Arguments can be given as positional, named arguments or a
2309 +combination of both.
2310 +.fi
2311 +.SS class CB_WANTS_CANCELLED4args(baseobj.BaseObj)
2312 +.nf
2313 +CB_WANTS_CANCELLED4args(unpack)
2314 +
2315 +struct CB_WANTS_CANCELLED4args {
2316 + bool contended;
2317 + bool resourced;
2318 +};
2319 +
2320 +.P
2321 +.B Methods defined here:
2322 +---------------------
2323 +.P
2324 +.B __init__(self, unpack)
2325 +Constructor
2326 +
2327 +Initialize object's private data according to the arguments given.
2328 +Arguments can be given as positional, named arguments or a
2329 +combination of both.
2330 +.fi
2331 +.SS class CB_WANTS_CANCELLED4res(baseobj.BaseObj)
2332 +.nf
2333 +CB_WANTS_CANCELLED4res(unpack)
2334 +
2335 +struct CB_WANTS_CANCELLED4res {
2336 + nfsstat4 status;
2337 +};
2338 +
2339 +.P
2340 +.B Methods defined here:
2341 +---------------------
2342 +.P
2343 +.B __init__(self, unpack)
2344 +Constructor
2345 +
2346 +Initialize object's private data according to the arguments given.
2347 +Arguments can be given as positional, named arguments or a
2348 +combination of both.
2349 +.fi
2350 +.SS class CLONE4args(baseobj.BaseObj)
2351 +.nf
2352 +CLONE4args(unpack)
2353 +
2354 +struct CLONE4args {
2355 + /*
2356 + * SAVED_FH: source file
2357 + * CURRENT_FH: destination file
2358 + */
2359 + stateid4 src_stateid;
2360 + stateid4 dst_stateid;
2361 + offset4 src_offset;
2362 + offset4 dst_offset;
2363 + length4 count;
2364 +};
2365 +
2366 +.P
2367 +.B Methods defined here:
2368 +---------------------
2369 +.P
2370 +.B __init__(self, unpack)
2371 +Constructor
2372 +
2373 +Initialize object's private data according to the arguments given.
2374 +Arguments can be given as positional, named arguments or a
2375 +combination of both.
2376 +.fi
2377 +.SS class CLONE4res(baseobj.BaseObj)
2378 +.nf
2379 +CLONE4res(unpack)
2380 +
2381 +struct CLONE4res {
2382 + nfsstat4 status;
2383 +};
2384 +
2385 +.P
2386 +.B Methods defined here:
2387 +---------------------
2388 +.P
2389 +.B __init__(self, unpack)
2390 +Constructor
2391 +
2392 +Initialize object's private data according to the arguments given.
2393 +Arguments can be given as positional, named arguments or a
2394 +combination of both.
2395 +.fi
2396 +.SS class CLOSE4args(baseobj.BaseObj)
2397 +.nf
2398 +CLOSE4args(unpack)
2399 +
2400 +struct CLOSE4args {
2401 + /* CURRENT_FH: object */
2402 + seqid4 seqid;
2403 + stateid4 stateid;
2404 +};
2405 +
2406 +.P
2407 +.B Methods defined here:
2408 +---------------------
2409 +.P
2410 +.B __init__(self, unpack)
2411 +Constructor
2412 +
2413 +Initialize object's private data according to the arguments given.
2414 +Arguments can be given as positional, named arguments or a
2415 +combination of both.
2416 +.fi
2417 +.SS class CLOSE4res(baseobj.BaseObj)
2418 +.nf
2419 +CLOSE4res(unpack)
2420 +
2421 +union switch CLOSE4res (nfsstat4 status) {
2422 + case const.NFS4_OK:
2423 + stateid4 stateid;
2424 + default:
2425 + void;
2426 +};
2427 +
2428 +.P
2429 +.B Methods defined here:
2430 +---------------------
2431 +.P
2432 +.B __init__(self, unpack)
2433 +Constructor
2434 +
2435 +Initialize object's private data according to the arguments given.
2436 +Arguments can be given as positional, named arguments or a
2437 +combination of both.
2438 +.fi
2439 +.SS class COMMIT4args(baseobj.BaseObj)
2440 +.nf
2441 +COMMIT4args(unpack)
2442 +
2443 +struct COMMIT4args {
2444 + /* CURRENT_FH: file */
2445 + offset4 offset;
2446 + count4 count;
2447 +};
2448 +
2449 +.P
2450 +.B Methods defined here:
2451 +---------------------
2452 +.P
2453 +.B __init__(self, unpack)
2454 +Constructor
2455 +
2456 +Initialize object's private data according to the arguments given.
2457 +Arguments can be given as positional, named arguments or a
2458 +combination of both.
2459 +.fi
2460 +.SS class COMMIT4res(baseobj.BaseObj)
2461 +.nf
2462 +COMMIT4res(unpack)
2463 +
2464 +union switch COMMIT4res (nfsstat4 status) {
2465 + case const.NFS4_OK:
2466 + COMMIT4resok resok;
2467 + default:
2468 + void;
2469 +};
2470 +
2471 +.P
2472 +.B Methods defined here:
2473 +---------------------
2474 +.P
2475 +.B __init__(self, unpack)
2476 +Constructor
2477 +
2478 +Initialize object's private data according to the arguments given.
2479 +Arguments can be given as positional, named arguments or a
2480 +combination of both.
2481 +.fi
2482 +.SS class COMMIT4resok(baseobj.BaseObj)
2483 +.nf
2484 +COMMIT4resok(unpack)
2485 +
2486 +struct COMMIT4resok {
2487 + verifier4 verifier;
2488 +};
2489 +
2490 +.P
2491 +.B Methods defined here:
2492 +---------------------
2493 +.P
2494 +.B __init__(self, unpack)
2495 +Constructor
2496 +
2497 +Initialize object's private data according to the arguments given.
2498 +Arguments can be given as positional, named arguments or a
2499 +combination of both.
2500 +.fi
2501 +.SS class COMPOUND4args(packet.nfs.nfsbase.NFSbase)
2502 +.nf
2503 +COMPOUND4args(unpack)
2504 +
2505 +struct COMPOUND4args {
2506 + utf8str_cs tag;
2507 + uint32_t minorversion;
2508 + nfs_argop4 array<>;
2509 +};
2510 +
2511 +.P
2512 +.B Methods defined here:
2513 +---------------------
2514 +.P
2515 +.B __init__(self, unpack)
2516 +Constructor
2517 +
2518 +Initialize object's private data according to the arguments given.
2519 +Arguments can be given as positional, named arguments or a
2520 +combination of both.
2521 +.fi
2522 +.SS class COMPOUND4res(packet.nfs.nfsbase.NFSbase)
2523 +.nf
2524 +COMPOUND4res(unpack, minorversion)
2525 +
2526 +struct COMPOUND4res {
2527 + nfsstat4 status;
2528 + utf8str_cs tag;
2529 + nfs_resop4 array<>;
2530 +};
2531 +
2532 +.P
2533 +.B Methods defined here:
2534 +---------------------
2535 +.P
2536 +.B __init__(self, unpack, minorversion)
2537 +Constructor
2538 +
2539 +Initialize object's private data according to the arguments given.
2540 +Arguments can be given as positional, named arguments or a
2541 +combination of both.
2542 +.fi
2543 +.SS class COPY4args(baseobj.BaseObj)
2544 +.nf
2545 +COPY4args(unpack)
2546 +
2547 +struct COPY4args {
2548 + /*
2549 + * SAVED_FH: source file
2550 + * CURRENT_FH: destination file
2551 + */
2552 + stateid4 src_stateid;
2553 + stateid4 dst_stateid;
2554 + offset4 src_offset;
2555 + offset4 dst_offset;
2556 + length4 count;
2557 + bool consecutive;
2558 + bool synchronous;
2559 + netloc4 src_servers<>;
2560 +};
2561 +
2562 +.P
2563 +.B Methods defined here:
2564 +---------------------
2565 +.P
2566 +.B __init__(self, unpack)
2567 +Constructor
2568 +
2569 +Initialize object's private data according to the arguments given.
2570 +Arguments can be given as positional, named arguments or a
2571 +combination of both.
2572 +.fi
2573 +.SS class COPY4res(baseobj.BaseObj)
2574 +.nf
2575 +COPY4res(unpack)
2576 +
2577 +union switch COPY4res (nfsstat4 status) {
2578 + case const.NFS4_OK:
2579 + COPY4resok resok;
2580 + case const.NFS4ERR_OFFLOAD_NO_REQS:
2581 + copy_requirements4 requirements;
2582 + default:
2583 + void;
2584 +};
2585 +
2586 +.P
2587 +.B Methods defined here:
2588 +---------------------
2589 +.P
2590 +.B __init__(self, unpack)
2591 +Constructor
2592 +
2593 +Initialize object's private data according to the arguments given.
2594 +Arguments can be given as positional, named arguments or a
2595 +combination of both.
2596 +.fi
2597 +.SS class COPY4resok(baseobj.BaseObj)
2598 +.nf
2599 +COPY4resok(unpack)
2600 +
2601 +struct COPY4resok {
2602 + write_response4 response;
2603 + copy_requirements4 requirements;
2604 +};
2605 +
2606 +.P
2607 +.B Methods defined here:
2608 +---------------------
2609 +.P
2610 +.B __init__(self, unpack)
2611 +Constructor
2612 +
2613 +Initialize object's private data according to the arguments given.
2614 +Arguments can be given as positional, named arguments or a
2615 +combination of both.
2616 +.fi
2617 +.SS class COPY_NOTIFY4args(baseobj.BaseObj)
2618 +.nf
2619 +COPY_NOTIFY4args(unpack)
2620 +
2621 +struct COPY_NOTIFY4args {
2622 + /* CURRENT_FH: source file */
2623 + stateid4 stateid;
2624 + netloc4 dst_server;
2625 +};
2626 +
2627 +.P
2628 +.B Methods defined here:
2629 +---------------------
2630 +.P
2631 +.B __init__(self, unpack)
2632 +Constructor
2633 +
2634 +Initialize object's private data according to the arguments given.
2635 +Arguments can be given as positional, named arguments or a
2636 +combination of both.
2637 +.fi
2638 +.SS class COPY_NOTIFY4res(baseobj.BaseObj)
2639 +.nf
2640 +COPY_NOTIFY4res(unpack)
2641 +
2642 +union switch COPY_NOTIFY4res (nfsstat4 status) {
2643 + case const.NFS4_OK:
2644 + COPY_NOTIFY4resok resok;
2645 + default:
2646 + void;
2647 +};
2648 +
2649 +.P
2650 +.B Methods defined here:
2651 +---------------------
2652 +.P
2653 +.B __init__(self, unpack)
2654 +Constructor
2655 +
2656 +Initialize object's private data according to the arguments given.
2657 +Arguments can be given as positional, named arguments or a
2658 +combination of both.
2659 +.fi
2660 +.SS class COPY_NOTIFY4resok(baseobj.BaseObj)
2661 +.nf
2662 +COPY_NOTIFY4resok(unpack)
2663 +
2664 +struct COPY_NOTIFY4resok {
2665 + nfstime4 lease_time;
2666 + stateid4 stateid;
2667 + netloc4 src_servers<>;
2668 +};
2669 +
2670 +.P
2671 +.B Methods defined here:
2672 +---------------------
2673 +.P
2674 +.B __init__(self, unpack)
2675 +Constructor
2676 +
2677 +Initialize object's private data according to the arguments given.
2678 +Arguments can be given as positional, named arguments or a
2679 +combination of both.
2680 +.fi
2681 +.SS class CREATE4args(baseobj.BaseObj)
2682 +.nf
2683 +CREATE4args(unpack)
2684 +
2685 +struct CREATE4args {
2686 + /* CURRENT_FH: directory for creation */
2687 + createtype4 type;
2688 + component4 name;
2689 + fattr4 attributes;
2690 +};
2691 +
2692 +.P
2693 +.B Methods defined here:
2694 +---------------------
2695 +.P
2696 +.B __init__(self, unpack)
2697 +Constructor
2698 +
2699 +Initialize object's private data according to the arguments given.
2700 +Arguments can be given as positional, named arguments or a
2701 +combination of both.
2702 +.fi
2703 +.SS class CREATE4res(baseobj.BaseObj)
2704 +.nf
2705 +CREATE4res(unpack)
2706 +
2707 +union switch CREATE4res (nfsstat4 status) {
2708 + case const.NFS4_OK:
2709 + /* new CURRENTFH: created object */
2710 + CREATE4resok resok;
2711 + default:
2712 + void;
2713 +};
2714 +
2715 +.P
2716 +.B Methods defined here:
2717 +---------------------
2718 +.P
2719 +.B __init__(self, unpack)
2720 +Constructor
2721 +
2722 +Initialize object's private data according to the arguments given.
2723 +Arguments can be given as positional, named arguments or a
2724 +combination of both.
2725 +.fi
2726 +.SS class CREATE4resok(baseobj.BaseObj)
2727 +.nf
2728 +CREATE4resok(unpack)
2729 +
2730 +struct CREATE4resok {
2731 + change_info4 cinfo;
2732 + bitmap4 attrset; /* attributes set */
2733 +};
2734 +
2735 +.P
2736 +.B Methods defined here:
2737 +---------------------
2738 +.P
2739 +.B __init__(self, unpack)
2740 +Constructor
2741 +
2742 +Initialize object's private data according to the arguments given.
2743 +Arguments can be given as positional, named arguments or a
2744 +combination of both.
2745 +.fi
2746 +.SS class CREATE_SESSION4args(baseobj.BaseObj)
2747 +.nf
2748 +CREATE_SESSION4args(unpack)
2749 +
2750 +struct CREATE_SESSION4args {
2751 + clientid4 clientid;
2752 + sequenceid4 sequenceid;
2753 + uint32_t flags;
2754 + channel_attrs4 fore_chan_attrs;
2755 + channel_attrs4 back_chan_attrs;
2756 + uint32_t cb_program;
2757 + callback_sec_parms4 sec_parms<>;
2758 +};
2759 +
2760 +.P
2761 +.B Methods defined here:
2762 +---------------------
2763 +.P
2764 +.B __init__(self, unpack)
2765 +Constructor
2766 +
2767 +Initialize object's private data according to the arguments given.
2768 +Arguments can be given as positional, named arguments or a
2769 +combination of both.
2770 +.fi
2771 +.SS class CREATE_SESSION4res(baseobj.BaseObj)
2772 +.nf
2773 +CREATE_SESSION4res(unpack)
2774 +
2775 +union switch CREATE_SESSION4res (nfsstat4 status) {
2776 + case const.NFS4_OK:
2777 + CREATE_SESSION4resok resok;
2778 + default:
2779 + void;
2780 +};
2781 +
2782 +.P
2783 +.B Methods defined here:
2784 +---------------------
2785 +.P
2786 +.B __init__(self, unpack)
2787 +Constructor
2788 +
2789 +Initialize object's private data according to the arguments given.
2790 +Arguments can be given as positional, named arguments or a
2791 +combination of both.
2792 +.fi
2793 +.SS class CREATE_SESSION4resok(baseobj.BaseObj)
2794 +.nf
2795 +CREATE_SESSION4resok(unpack)
2796 +
2797 +struct CREATE_SESSION4resok {
2798 + sessionid4 sessionid;
2799 + sequenceid4 sequenceid;
2800 + uint32_t flags;
2801 + channel_attrs4 fore_chan_attrs;
2802 + channel_attrs4 back_chan_attrs;
2803 +};
2804 +
2805 +.P
2806 +.B Methods defined here:
2807 +---------------------
2808 +.P
2809 +.B __init__(self, unpack)
2810 +Constructor
2811 +
2812 +Initialize object's private data according to the arguments given.
2813 +Arguments can be given as positional, named arguments or a
2814 +combination of both.
2815 +.fi
2816 +.SS class DEALLOCATE4args(baseobj.BaseObj)
2817 +.nf
2818 +DEALLOCATE4args(unpack)
2819 +
2820 +struct DEALLOCATE4args {
2821 + /* CURRENT_FH: file */
2822 + stateid4 stateid;
2823 + offset4 offset;
2824 + length4 length;
2825 +};
2826 +
2827 +.P
2828 +.B Methods defined here:
2829 +---------------------
2830 +.P
2831 +.B __init__(self, unpack)
2832 +Constructor
2833 +
2834 +Initialize object's private data according to the arguments given.
2835 +Arguments can be given as positional, named arguments or a
2836 +combination of both.
2837 +.fi
2838 +.SS class DEALLOCATE4res(baseobj.BaseObj)
2839 +.nf
2840 +DEALLOCATE4res(unpack)
2841 +
2842 +struct DEALLOCATE4res {
2843 + nfsstat4 status;
2844 +};
2845 +
2846 +.P
2847 +.B Methods defined here:
2848 +---------------------
2849 +.P
2850 +.B __init__(self, unpack)
2851 +Constructor
2852 +
2853 +Initialize object's private data according to the arguments given.
2854 +Arguments can be given as positional, named arguments or a
2855 +combination of both.
2856 +.fi
2857 +.SS class DELEGPURGE4args(baseobj.BaseObj)
2858 +.nf
2859 +DELEGPURGE4args(unpack)
2860 +
2861 +struct DELEGPURGE4args {
2862 + clientid4 clientid;
2863 +};
2864 +
2865 +.P
2866 +.B Methods defined here:
2867 +---------------------
2868 +.P
2869 +.B __init__(self, unpack)
2870 +Constructor
2871 +
2872 +Initialize object's private data according to the arguments given.
2873 +Arguments can be given as positional, named arguments or a
2874 +combination of both.
2875 +.fi
2876 +.SS class DELEGPURGE4res(baseobj.BaseObj)
2877 +.nf
2878 +DELEGPURGE4res(unpack)
2879 +
2880 +struct DELEGPURGE4res {
2881 + nfsstat4 status;
2882 +};
2883 +
2884 +.P
2885 +.B Methods defined here:
2886 +---------------------
2887 +.P
2888 +.B __init__(self, unpack)
2889 +Constructor
2890 +
2891 +Initialize object's private data according to the arguments given.
2892 +Arguments can be given as positional, named arguments or a
2893 +combination of both.
2894 +.fi
2895 +.SS class DELEGRETURN4args(baseobj.BaseObj)
2896 +.nf
2897 +DELEGRETURN4args(unpack)
2898 +
2899 +struct DELEGRETURN4args {
2900 + /* CURRENT_FH: delegated object */
2901 + stateid4 stateid;
2902 +};
2903 +
2904 +.P
2905 +.B Methods defined here:
2906 +---------------------
2907 +.P
2908 +.B __init__(self, unpack)
2909 +Constructor
2910 +
2911 +Initialize object's private data according to the arguments given.
2912 +Arguments can be given as positional, named arguments or a
2913 +combination of both.
2914 +.fi
2915 +.SS class DELEGRETURN4res(baseobj.BaseObj)
2916 +.nf
2917 +DELEGRETURN4res(unpack)
2918 +
2919 +struct DELEGRETURN4res {
2920 + nfsstat4 status;
2921 +};
2922 +
2923 +.P
2924 +.B Methods defined here:
2925 +---------------------
2926 +.P
2927 +.B __init__(self, unpack)
2928 +Constructor
2929 +
2930 +Initialize object's private data according to the arguments given.
2931 +Arguments can be given as positional, named arguments or a
2932 +combination of both.
2933 +.fi
2934 +.SS class DESTROY_CLIENTID4args(baseobj.BaseObj)
2935 +.nf
2936 +DESTROY_CLIENTID4args(unpack)
2937 +
2938 +struct DESTROY_CLIENTID4args {
2939 + clientid4 clientid;
2940 +};
2941 +
2942 +.P
2943 +.B Methods defined here:
2944 +---------------------
2945 +.P
2946 +.B __init__(self, unpack)
2947 +Constructor
2948 +
2949 +Initialize object's private data according to the arguments given.
2950 +Arguments can be given as positional, named arguments or a
2951 +combination of both.
2952 +.fi
2953 +.SS class DESTROY_CLIENTID4res(baseobj.BaseObj)
2954 +.nf
2955 +DESTROY_CLIENTID4res(unpack)
2956 +
2957 +struct DESTROY_CLIENTID4res {
2958 + nfsstat4 status;
2959 +};
2960 +
2961 +.P
2962 +.B Methods defined here:
2963 +---------------------
2964 +.P
2965 +.B __init__(self, unpack)
2966 +Constructor
2967 +
2968 +Initialize object's private data according to the arguments given.
2969 +Arguments can be given as positional, named arguments or a
2970 +combination of both.
2971 +.fi
2972 +.SS class DESTROY_SESSION4args(baseobj.BaseObj)
2973 +.nf
2974 +DESTROY_SESSION4args(unpack)
2975 +
2976 +struct DESTROY_SESSION4args {
2977 + sessionid4 sessionid;
2978 +};
2979 +
2980 +.P
2981 +.B Methods defined here:
2982 +---------------------
2983 +.P
2984 +.B __init__(self, unpack)
2985 +Constructor
2986 +
2987 +Initialize object's private data according to the arguments given.
2988 +Arguments can be given as positional, named arguments or a
2989 +combination of both.
2990 +.fi
2991 +.SS class DESTROY_SESSION4res(baseobj.BaseObj)
2992 +.nf
2993 +DESTROY_SESSION4res(unpack)
2994 +
2995 +struct DESTROY_SESSION4res {
2996 + nfsstat4 status;
2997 +};
2998 +
2999 +.P
3000 +.B Methods defined here:
3001 +---------------------
3002 +.P
3003 +.B __init__(self, unpack)
3004 +Constructor
3005 +
3006 +Initialize object's private data according to the arguments given.
3007 +Arguments can be given as positional, named arguments or a
3008 +combination of both.
3009 +.fi
3010 +.SS class EXCHANGE_ID4args(baseobj.BaseObj)
3011 +.nf
3012 +EXCHANGE_ID4args(unpack)
3013 +
3014 +struct EXCHANGE_ID4args {
3015 + client_owner4 clientowner;
3016 + uint32_t flags;
3017 + state_protect4_a state_protect;
3018 + nfs_impl_id4 client_impl_id<1>;
3019 +};
3020 +
3021 +.P
3022 +.B Methods defined here:
3023 +---------------------
3024 +.P
3025 +.B __init__(self, unpack)
3026 +Constructor
3027 +
3028 +Initialize object's private data according to the arguments given.
3029 +Arguments can be given as positional, named arguments or a
3030 +combination of both.
3031 +.fi
3032 +.SS class EXCHANGE_ID4res(baseobj.BaseObj)
3033 +.nf
3034 +EXCHANGE_ID4res(unpack)
3035 +
3036 +union switch EXCHANGE_ID4res (nfsstat4 status) {
3037 + case const.NFS4_OK:
3038 + EXCHANGE_ID4resok resok;
3039 + default:
3040 + void;
3041 +};
3042 +
3043 +.P
3044 +.B Methods defined here:
3045 +---------------------
3046 +.P
3047 +.B __init__(self, unpack)
3048 +Constructor
3049 +
3050 +Initialize object's private data according to the arguments given.
3051 +Arguments can be given as positional, named arguments or a
3052 +combination of both.
3053 +.fi
3054 +.SS class EXCHANGE_ID4resok(baseobj.BaseObj)
3055 +.nf
3056 +EXCHANGE_ID4resok(unpack)
3057 +
3058 +struct EXCHANGE_ID4resok {
3059 + clientid4 clientid;
3060 + sequenceid4 sequenceid;
3061 + uint32_t flags;
3062 + state_protect4_r state_protect;
3063 + server_owner4 server_owner;
3064 + opaque server_scope<NFS4_OPAQUE_LIMIT>;
3065 + nfs_impl_id4 server_impl_id<1>;
3066 +};
3067 +
3068 +.P
3069 +.B Methods defined here:
3070 +---------------------
3071 +.P
3072 +.B __init__(self, unpack)
3073 +Constructor
3074 +
3075 +Initialize object's private data according to the arguments given.
3076 +Arguments can be given as positional, named arguments or a
3077 +combination of both.
3078 +.fi
3079 +.SS class FREE_STATEID4args(baseobj.BaseObj)
3080 +.nf
3081 +FREE_STATEID4args(unpack)
3082 +
3083 +struct FREE_STATEID4args {
3084 + stateid4 stateid;
3085 +};
3086 +
3087 +.P
3088 +.B Methods defined here:
3089 +---------------------
3090 +.P
3091 +.B __init__(self, unpack)
3092 +Constructor
3093 +
3094 +Initialize object's private data according to the arguments given.
3095 +Arguments can be given as positional, named arguments or a
3096 +combination of both.
3097 +.fi
3098 +.SS class FREE_STATEID4res(baseobj.BaseObj)
3099 +.nf
3100 +FREE_STATEID4res(unpack)
3101 +
3102 +struct FREE_STATEID4res {
3103 + nfsstat4 status;
3104 +};
3105 +
3106 +.P
3107 +.B Methods defined here:
3108 +---------------------
3109 +.P
3110 +.B __init__(self, unpack)
3111 +Constructor
3112 +
3113 +Initialize object's private data according to the arguments given.
3114 +Arguments can be given as positional, named arguments or a
3115 +combination of both.
3116 +.fi
3117 +.SS class GETATTR4args(baseobj.BaseObj)
3118 +.nf
3119 +GETATTR4args(unpack)
3120 +
3121 +struct GETATTR4args {
3122 + /* CURRENT_FH: object */
3123 + bitmap4 request;
3124 +};
3125 +
3126 +.P
3127 +.B Methods defined here:
3128 +---------------------
3129 +.P
3130 +.B __init__(self, unpack)
3131 +Constructor
3132 +
3133 +Initialize object's private data according to the arguments given.
3134 +Arguments can be given as positional, named arguments or a
3135 +combination of both.
3136 +.fi
3137 +.SS class GETATTR4res(baseobj.BaseObj)
3138 +.nf
3139 +GETATTR4res(unpack)
3140 +
3141 +union switch GETATTR4res (nfsstat4 status) {
3142 + case const.NFS4_OK:
3143 + GETATTR4resok resok;
3144 + default:
3145 + void;
3146 +};
3147 +
3148 +.P
3149 +.B Methods defined here:
3150 +---------------------
3151 +.P
3152 +.B __init__(self, unpack)
3153 +Constructor
3154 +
3155 +Initialize object's private data according to the arguments given.
3156 +Arguments can be given as positional, named arguments or a
3157 +combination of both.
3158 +.fi
3159 +.SS class GETATTR4resok(baseobj.BaseObj)
3160 +.nf
3161 +GETATTR4resok(unpack)
3162 +
3163 +struct GETATTR4resok {
3164 + fattr4 attributes;
3165 +};
3166 +
3167 +.P
3168 +.B Methods defined here:
3169 +---------------------
3170 +.P
3171 +.B __init__(self, unpack)
3172 +Constructor
3173 +
3174 +Initialize object's private data according to the arguments given.
3175 +Arguments can be given as positional, named arguments or a
3176 +combination of both.
3177 +.fi
3178 +.SS class GETDEVICEINFO4args(baseobj.BaseObj)
3179 +.nf
3180 +GETDEVICEINFO4args(unpack)
3181 +
3182 +struct GETDEVICEINFO4args {
3183 + deviceid4 deviceid;
3184 + layouttype4 type;
3185 + count4 maxcount;
3186 + bitmap4 notify_mask;
3187 +};
3188 +
3189 +.P
3190 +.B Methods defined here:
3191 +---------------------
3192 +.P
3193 +.B __init__(self, unpack)
3194 +Constructor
3195 +
3196 +Initialize object's private data according to the arguments given.
3197 +Arguments can be given as positional, named arguments or a
3198 +combination of both.
3199 +.fi
3200 +.SS class GETDEVICEINFO4res(baseobj.BaseObj)
3201 +.nf
3202 +GETDEVICEINFO4res(unpack)
3203 +
3204 +union switch GETDEVICEINFO4res (nfsstat4 status) {
3205 + case const.NFS4_OK:
3206 + GETDEVICEINFO4resok resok;
3207 + case const.NFS4ERR_TOOSMALL:
3208 + count4 mincount;
3209 + default:
3210 + void;
3211 +};
3212 +
3213 +.P
3214 +.B Methods defined here:
3215 +---------------------
3216 +.P
3217 +.B __init__(self, unpack)
3218 +Constructor
3219 +
3220 +Initialize object's private data according to the arguments given.
3221 +Arguments can be given as positional, named arguments or a
3222 +combination of both.
3223 +.fi
3224 +.SS class GETDEVICEINFO4resok(baseobj.BaseObj)
3225 +.nf
3226 +GETDEVICEINFO4resok(unpack)
3227 +
3228 +struct GETDEVICEINFO4resok {
3229 + device_addr4 device_addr;
3230 + bitmap4 notify_mask;
3231 +};
3232 +
3233 +.P
3234 +.B Methods defined here:
3235 +---------------------
3236 +.P
3237 +.B __init__(self, unpack)
3238 +Constructor
3239 +
3240 +Initialize object's private data according to the arguments given.
3241 +Arguments can be given as positional, named arguments or a
3242 +combination of both.
3243 +.fi
3244 +.SS class GETDEVICELIST4args(baseobj.BaseObj)
3245 +.nf
3246 +GETDEVICELIST4args(unpack)
3247 +
3248 +struct GETDEVICELIST4args {
3249 + /* CURRENT_FH: object belonging to the file system */
3250 + layouttype4 type;
3251 + /* number of deviceIDs to return */
3252 + count4 maxdevices;
3253 + nfs_cookie4 cookie;
3254 + verifier4 verifier;
3255 +};
3256 +
3257 +.P
3258 +.B Methods defined here:
3259 +---------------------
3260 +.P
3261 +.B __init__(self, unpack)
3262 +Constructor
3263 +
3264 +Initialize object's private data according to the arguments given.
3265 +Arguments can be given as positional, named arguments or a
3266 +combination of both.
3267 +.fi
3268 +.SS class GETDEVICELIST4res(baseobj.BaseObj)
3269 +.nf
3270 +GETDEVICELIST4res(unpack)
3271 +
3272 +union switch GETDEVICELIST4res (nfsstat4 status) {
3273 + case const.NFS4_OK:
3274 + GETDEVICELIST4resok resok;
3275 + default:
3276 + void;
3277 +};
3278 +
3279 +.P
3280 +.B Methods defined here:
3281 +---------------------
3282 +.P
3283 +.B __init__(self, unpack)
3284 +Constructor
3285 +
3286 +Initialize object's private data according to the arguments given.
3287 +Arguments can be given as positional, named arguments or a
3288 +combination of both.
3289 +.fi
3290 +.SS class GETDEVICELIST4resok(baseobj.BaseObj)
3291 +.nf
3292 +GETDEVICELIST4resok(unpack)
3293 +
3294 +struct GETDEVICELIST4resok {
3295 + nfs_cookie4 cookie;
3296 + verifier4 verifier;
3297 + deviceid4 deviceid_list<>;
3298 + bool eof;
3299 +};
3300 +
3301 +.P
3302 +.B Methods defined here:
3303 +---------------------
3304 +.P
3305 +.B __init__(self, unpack)
3306 +Constructor
3307 +
3308 +Initialize object's private data according to the arguments given.
3309 +Arguments can be given as positional, named arguments or a
3310 +combination of both.
3311 +.fi
3312 +.SS class GETFH4res(baseobj.BaseObj)
3313 +.nf
3314 +GETFH4res(unpack)
3315 +
3316 +union switch GETFH4res (nfsstat4 status) {
3317 + case const.NFS4_OK:
3318 + GETFH4resok resok;
3319 + default:
3320 + void;
3321 +};
3322 +
3323 +.P
3324 +.B Methods defined here:
3325 +---------------------
3326 +.P
3327 +.B __init__(self, unpack)
3328 +Constructor
3329 +
3330 +Initialize object's private data according to the arguments given.
3331 +Arguments can be given as positional, named arguments or a
3332 +combination of both.
3333 +.fi
3334 +.SS class GETFH4resok(baseobj.BaseObj)
3335 +.nf
3336 +GETFH4resok(unpack)
3337 +
3338 +struct GETFH4resok {
3339 + nfs_fh4 fh;
3340 +};
3341 +
3342 +.P
3343 +.B Methods defined here:
3344 +---------------------
3345 +.P
3346 +.B __init__(self, unpack)
3347 +Constructor
3348 +
3349 +Initialize object's private data according to the arguments given.
3350 +Arguments can be given as positional, named arguments or a
3351 +combination of both.
3352 +.fi
3353 +.SS class GETXATTR4args(baseobj.BaseObj)
3354 +.nf
3355 +GETXATTR4args(unpack)
3356 +
3357 +struct GETXATTR4args {
3358 + /* CURRENT_FH: file */
3359 + xattrkey4 name;
3360 +};
3361 +
3362 +.P
3363 +.B Methods defined here:
3364 +---------------------
3365 +.P
3366 +.B __init__(self, unpack)
3367 +Constructor
3368 +
3369 +Initialize object's private data according to the arguments given.
3370 +Arguments can be given as positional, named arguments or a
3371 +combination of both.
3372 +.fi
3373 +.SS class GETXATTR4res(baseobj.BaseObj)
3374 +.nf
3375 +GETXATTR4res(unpack)
3376 +
3377 +union switch GETXATTR4res (nfsstat4 status) {
3378 + case const.NFS4_OK:
3379 + xattrvalue4 value;
3380 + default:
3381 + void;
3382 +};
3383 +
3384 +.P
3385 +.B Methods defined here:
3386 +---------------------
3387 +.P
3388 +.B __init__(self, unpack)
3389 +Constructor
3390 +
3391 +Initialize object's private data according to the arguments given.
3392 +Arguments can be given as positional, named arguments or a
3393 +combination of both.
3394 +.fi
3395 +.SS class GET_DIR_DELEGATION4args(baseobj.BaseObj)
3396 +.nf
3397 +GET_DIR_DELEGATION4args(unpack)
3398 +
3399 +struct GET_DIR_DELEGATION4args {
3400 + /* CURRENT_FH: delegated directory */
3401 + bool deleg_avail;
3402 + bitmap4 notification;
3403 + attr_notice4 child_attr_delay;
3404 + attr_notice4 attr_delay;
3405 + bitmap4 child_attributes;
3406 + bitmap4 attributes;
3407 +};
3408 +
3409 +.P
3410 +.B Methods defined here:
3411 +---------------------
3412 +.P
3413 +.B __init__(self, unpack)
3414 +Constructor
3415 +
3416 +Initialize object's private data according to the arguments given.
3417 +Arguments can be given as positional, named arguments or a
3418 +combination of both.
3419 +.fi
3420 +.SS class GET_DIR_DELEGATION4res(baseobj.BaseObj)
3421 +.nf
3422 +GET_DIR_DELEGATION4res(unpack)
3423 +
3424 +union switch GET_DIR_DELEGATION4res (nfsstat4 status) {
3425 + case const.NFS4_OK:
3426 + GET_DIR_DELEGATION4res_non_fatal resok;
3427 + default:
3428 + void;
3429 +};
3430 +
3431 +.P
3432 +.B Methods defined here:
3433 +---------------------
3434 +.P
3435 +.B __init__(self, unpack)
3436 +Constructor
3437 +
3438 +Initialize object's private data according to the arguments given.
3439 +Arguments can be given as positional, named arguments or a
3440 +combination of both.
3441 +.fi
3442 +.SS class GET_DIR_DELEGATION4res_non_fatal(baseobj.BaseObj)
3443 +.nf
3444 +GET_DIR_DELEGATION4res_non_fatal(unpack)
3445 +
3446 +union switch GET_DIR_DELEGATION4res_non_fatal (gddrnf4_status status) {
3447 + case const.GDD4_OK:
3448 + GET_DIR_DELEGATION4resok resok;
3449 + case const.GDD4_UNAVAIL:
3450 + bool signal;
3451 +};
3452 +
3453 +.P
3454 +.B Methods defined here:
3455 +---------------------
3456 +.P
3457 +.B __init__(self, unpack)
3458 +Constructor
3459 +
3460 +Initialize object's private data according to the arguments given.
3461 +Arguments can be given as positional, named arguments or a
3462 +combination of both.
3463 +.fi
3464 +.SS class GET_DIR_DELEGATION4resok(baseobj.BaseObj)
3465 +.nf
3466 +GET_DIR_DELEGATION4resok(unpack)
3467 +
3468 +struct GET_DIR_DELEGATION4resok {
3469 + verifier4 verifier;
3470 + /* Stateid for get_dir_delegation */
3471 + stateid4 stateid;
3472 + /* Which notifications can the server support */
3473 + bitmap4 notification;
3474 + bitmap4 child_attributes;
3475 + bitmap4 attributes;
3476 +};
3477 +
3478 +.P
3479 +.B Methods defined here:
3480 +---------------------
3481 +.P
3482 +.B __init__(self, unpack)
3483 +Constructor
3484 +
3485 +Initialize object's private data according to the arguments given.
3486 +Arguments can be given as positional, named arguments or a
3487 +combination of both.
3488 +.fi
3489 +.SS class ILLEGAL4res(baseobj.BaseObj)
3490 +.nf
3491 +ILLEGAL4res(unpack)
3492 +
3493 +struct ILLEGAL4res {
3494 + nfsstat4 status;
3495 +};
3496 +
3497 +.P
3498 +.B Methods defined here:
3499 +---------------------
3500 +.P
3501 +.B __init__(self, unpack)
3502 +Constructor
3503 +
3504 +Initialize object's private data according to the arguments given.
3505 +Arguments can be given as positional, named arguments or a
3506 +combination of both.
3507 +.fi
3508 +.SS class IO_ADVISE4args(baseobj.BaseObj)
3509 +.nf
3510 +IO_ADVISE4args(unpack)
3511 +
3512 +struct IO_ADVISE4args {
3513 + /* CURRENT_FH: file */
3514 + stateid4 stateid;
3515 + offset4 offset;
3516 + length4 count;
3517 + bitmap4 mask;
3518 +};
3519 +
3520 +.P
3521 +.B Methods defined here:
3522 +---------------------
3523 +.P
3524 +.B __init__(self, unpack)
3525 +Constructor
3526 +
3527 +Initialize object's private data according to the arguments given.
3528 +Arguments can be given as positional, named arguments or a
3529 +combination of both.
3530 +.fi
3531 +.SS class IO_ADVISE4res(baseobj.BaseObj)
3532 +.nf
3533 +IO_ADVISE4res(unpack)
3534 +
3535 +union switch IO_ADVISE4res (nfsstat4 status) {
3536 + case const.NFS4_OK:
3537 + IO_ADVISE4resok resok;
3538 + default:
3539 + void;
3540 +};
3541 +
3542 +.P
3543 +.B Methods defined here:
3544 +---------------------
3545 +.P
3546 +.B __init__(self, unpack)
3547 +Constructor
3548 +
3549 +Initialize object's private data according to the arguments given.
3550 +Arguments can be given as positional, named arguments or a
3551 +combination of both.
3552 +.fi
3553 +.SS class IO_ADVISE4resok(baseobj.BaseObj)
3554 +.nf
3555 +IO_ADVISE4resok(unpack)
3556 +
3557 +struct IO_ADVISE4resok {
3558 + bitmap4 mask;
3559 +};
3560 +
3561 +.P
3562 +.B Methods defined here:
3563 +---------------------
3564 +.P
3565 +.B __init__(self, unpack)
3566 +Constructor
3567 +
3568 +Initialize object's private data according to the arguments given.
3569 +Arguments can be given as positional, named arguments or a
3570 +combination of both.
3571 +.fi
3572 +.SS class IO_ADVISE_type4(packet.utils.Enum)
3573 +.nf
3574 +IO_ADVISE_type4(unpack)
3575 +
3576 +enum IO_ADVISE_type4
3577 +
3578 +.fi
3579 +.SS class LAYOUTCOMMIT4args(baseobj.BaseObj)
3580 +.nf
3581 +LAYOUTCOMMIT4args(unpack)
3582 +
3583 +struct LAYOUTCOMMIT4args {
3584 + /* CURRENT_FH: file */
3585 + offset4 offset;
3586 + length4 length;
3587 + bool reclaim;
3588 + stateid4 stateid;
3589 + newoffset4 last_write_offset;
3590 + newtime4 time_modify;
3591 + layoutupdate4 layoutupdate;
3592 +};
3593 +
3594 +.P
3595 +.B Methods defined here:
3596 +---------------------
3597 +.P
3598 +.B __init__(self, unpack)
3599 +Constructor
3600 +
3601 +Initialize object's private data according to the arguments given.
3602 +Arguments can be given as positional, named arguments or a
3603 +combination of both.
3604 +.fi
3605 +.SS class LAYOUTCOMMIT4res(baseobj.BaseObj)
3606 +.nf
3607 +LAYOUTCOMMIT4res(unpack)
3608 +
3609 +union switch LAYOUTCOMMIT4res (nfsstat4 status) {
3610 + case const.NFS4_OK:
3611 + LAYOUTCOMMIT4resok resok;
3612 + default:
3613 + void;
3614 +};
3615 +
3616 +.P
3617 +.B Methods defined here:
3618 +---------------------
3619 +.P
3620 +.B __init__(self, unpack)
3621 +Constructor
3622 +
3623 +Initialize object's private data according to the arguments given.
3624 +Arguments can be given as positional, named arguments or a
3625 +combination of both.
3626 +.fi
3627 +.SS class LAYOUTCOMMIT4resok(baseobj.BaseObj)
3628 +.nf
3629 +LAYOUTCOMMIT4resok(unpack)
3630 +
3631 +struct LAYOUTCOMMIT4resok {
3632 + newsize4 newsize;
3633 +};
3634 +
3635 +.P
3636 +.B Methods defined here:
3637 +---------------------
3638 +.P
3639 +.B __init__(self, unpack)
3640 +Constructor
3641 +
3642 +Initialize object's private data according to the arguments given.
3643 +Arguments can be given as positional, named arguments or a
3644 +combination of both.
3645 +.fi
3646 +.SS class LAYOUTERROR4args(baseobj.BaseObj)
3647 +.nf
3648 +LAYOUTERROR4args(unpack)
3649 +
3650 +struct LAYOUTERROR4args {
3651 + /* CURRENT_FH: file */
3652 + offset4 offset;
3653 + length4 length;
3654 + stateid4 stateid;
3655 + device_error4 errors<>;
3656 +};
3657 +
3658 +.P
3659 +.B Methods defined here:
3660 +---------------------
3661 +.P
3662 +.B __init__(self, unpack)
3663 +Constructor
3664 +
3665 +Initialize object's private data according to the arguments given.
3666 +Arguments can be given as positional, named arguments or a
3667 +combination of both.
3668 +.fi
3669 +.SS class LAYOUTERROR4res(baseobj.BaseObj)
3670 +.nf
3671 +LAYOUTERROR4res(unpack)
3672 +
3673 +struct LAYOUTERROR4res {
3674 + nfsstat4 status;
3675 +};
3676 +
3677 +.P
3678 +.B Methods defined here:
3679 +---------------------
3680 +.P
3681 +.B __init__(self, unpack)
3682 +Constructor
3683 +
3684 +Initialize object's private data according to the arguments given.
3685 +Arguments can be given as positional, named arguments or a
3686 +combination of both.
3687 +.fi
3688 +.SS class LAYOUTGET4args(baseobj.BaseObj)
3689 +.nf
3690 +LAYOUTGET4args(unpack)
3691 +
3692 +struct LAYOUTGET4args {
3693 + /* CURRENT_FH: file */
3694 + bool avail;
3695 + layouttype4 type;
3696 + layoutiomode4 iomode;
3697 + offset4 offset;
3698 + length4 length;
3699 + length4 minlength;
3700 + stateid4 stateid;
3701 + count4 maxcount;
3702 +};
3703 +
3704 +.P
3705 +.B Methods defined here:
3706 +---------------------
3707 +.P
3708 +.B __init__(self, unpack)
3709 +Constructor
3710 +
3711 +Initialize object's private data according to the arguments given.
3712 +Arguments can be given as positional, named arguments or a
3713 +combination of both.
3714 +.fi
3715 +.SS class LAYOUTGET4res(baseobj.BaseObj)
3716 +.nf
3717 +LAYOUTGET4res(unpack)
3718 +
3719 +union switch LAYOUTGET4res (nfsstat4 status) {
3720 + case const.NFS4_OK:
3721 + LAYOUTGET4resok resok;
3722 + case const.NFS4ERR_LAYOUTTRYLATER:
3723 + /* Server will signal layout availability */
3724 + bool signal;
3725 + default:
3726 + void;
3727 +};
3728 +
3729 +.P
3730 +.B Methods defined here:
3731 +---------------------
3732 +.P
3733 +.B __init__(self, unpack)
3734 +Constructor
3735 +
3736 +Initialize object's private data according to the arguments given.
3737 +Arguments can be given as positional, named arguments or a
3738 +combination of both.
3739 +.fi
3740 +.SS class LAYOUTGET4resok(baseobj.BaseObj)
3741 +.nf
3742 +LAYOUTGET4resok(unpack)
3743 +
3744 +struct LAYOUTGET4resok {
3745 + bool return_on_close;
3746 + stateid4 stateid;
3747 + layout4 layout<>;
3748 +};
3749 +
3750 +.P
3751 +.B Methods defined here:
3752 +---------------------
3753 +.P
3754 +.B __init__(self, unpack)
3755 +Constructor
3756 +
3757 +Initialize object's private data according to the arguments given.
3758 +Arguments can be given as positional, named arguments or a
3759 +combination of both.
3760 +.fi
3761 +.SS class LAYOUTRETURN4args(baseobj.BaseObj)
3762 +.nf
3763 +LAYOUTRETURN4args(unpack)
3764 +
3765 +struct LAYOUTRETURN4args {
3766 + /* CURRENT_FH: file */
3767 + bool reclaim;
3768 + layouttype4 type;
3769 + layoutiomode4 iomode;
3770 + layoutreturn4 layoutreturn;
3771 +};
3772 +
3773 +.P
3774 +.B Methods defined here:
3775 +---------------------
3776 +.P
3777 +.B __init__(self, unpack)
3778 +Constructor
3779 +
3780 +Initialize object's private data according to the arguments given.
3781 +Arguments can be given as positional, named arguments or a
3782 +combination of both.
3783 +.fi
3784 +.SS class LAYOUTRETURN4res(baseobj.BaseObj)
3785 +.nf
3786 +LAYOUTRETURN4res(unpack)
3787 +
3788 +union switch LAYOUTRETURN4res (nfsstat4 status) {
3789 + case const.NFS4_OK:
3790 + layoutreturn_stateid stateid;
3791 + default:
3792 + void;
3793 +};
3794 +
3795 +.P
3796 +.B Methods defined here:
3797 +---------------------
3798 +.P
3799 +.B __init__(self, unpack)
3800 +Constructor
3801 +
3802 +Initialize object's private data according to the arguments given.
3803 +Arguments can be given as positional, named arguments or a
3804 +combination of both.
3805 +.fi
3806 +.SS class LAYOUTSTATS4args(baseobj.BaseObj)
3807 +.nf
3808 +LAYOUTSTATS4args(unpack)
3809 +
3810 +struct LAYOUTSTATS4args {
3811 + /* CURRENT_FH: file */
3812 + offset4 offset;
3813 + length4 length;
3814 + stateid4 stateid;
3815 + io_info4 read;
3816 + io_info4 write;
3817 + deviceid4 deviceid;
3818 + layoutupdate4 layoutupdate;
3819 +};
3820 +
3821 +.P
3822 +.B Methods defined here:
3823 +---------------------
3824 +.P
3825 +.B __init__(self, unpack)
3826 +Constructor
3827 +
3828 +Initialize object's private data according to the arguments given.
3829 +Arguments can be given as positional, named arguments or a
3830 +combination of both.
3831 +.fi
3832 +.SS class LAYOUTSTATS4res(baseobj.BaseObj)
3833 +.nf
3834 +LAYOUTSTATS4res(unpack)
3835 +
3836 +struct LAYOUTSTATS4res {
3837 + nfsstat4 status;
3838 +};
3839 +
3840 +.P
3841 +.B Methods defined here:
3842 +---------------------
3843 +.P
3844 +.B __init__(self, unpack)
3845 +Constructor
3846 +
3847 +Initialize object's private data according to the arguments given.
3848 +Arguments can be given as positional, named arguments or a
3849 +combination of both.
3850 +.fi
3851 +.SS class LINK4args(baseobj.BaseObj)
3852 +.nf
3853 +LINK4args(unpack)
3854 +
3855 +struct LINK4args {
3856 + /*
3857 + * SAVED_FH: source object
3858 + * CURRENT_FH: target directory
3859 + */
3860 + component4 name;
3861 +};
3862 +
3863 +.P
3864 +.B Methods defined here:
3865 +---------------------
3866 +.P
3867 +.B __init__(self, unpack)
3868 +Constructor
3869 +
3870 +Initialize object's private data according to the arguments given.
3871 +Arguments can be given as positional, named arguments or a
3872 +combination of both.
3873 +.fi
3874 +.SS class LINK4res(baseobj.BaseObj)
3875 +.nf
3876 +LINK4res(unpack)
3877 +
3878 +union switch LINK4res (nfsstat4 status) {
3879 + case const.NFS4_OK:
3880 + LINK4resok resok;
3881 + default:
3882 + void;
3883 +};
3884 +
3885 +.P
3886 +.B Methods defined here:
3887 +---------------------
3888 +.P
3889 +.B __init__(self, unpack)
3890 +Constructor
3891 +
3892 +Initialize object's private data according to the arguments given.
3893 +Arguments can be given as positional, named arguments or a
3894 +combination of both.
3895 +.fi
3896 +.SS class LINK4resok(baseobj.BaseObj)
3897 +.nf
3898 +LINK4resok(unpack)
3899 +
3900 +struct LINK4resok {
3901 + change_info4 cinfo;
3902 +};
3903 +
3904 +.P
3905 +.B Methods defined here:
3906 +---------------------
3907 +.P
3908 +.B __init__(self, unpack)
3909 +Constructor
3910 +
3911 +Initialize object's private data according to the arguments given.
3912 +Arguments can be given as positional, named arguments or a
3913 +combination of both.
3914 +.fi
3915 +.SS class LISTXATTRS4args(baseobj.BaseObj)
3916 +.nf
3917 +LISTXATTRS4args(unpack)
3918 +
3919 +struct LISTXATTRS4args {
3920 + /* CURRENT_FH: file */
3921 + nfs_cookie4 cookie;
3922 + count4 maxcount;
3923 +};
3924 +
3925 +.P
3926 +.B Methods defined here:
3927 +---------------------
3928 +.P
3929 +.B __init__(self, unpack)
3930 +Constructor
3931 +
3932 +Initialize object's private data according to the arguments given.
3933 +Arguments can be given as positional, named arguments or a
3934 +combination of both.
3935 +.fi
3936 +.SS class LISTXATTRS4res(baseobj.BaseObj)
3937 +.nf
3938 +LISTXATTRS4res(unpack)
3939 +
3940 +union switch LISTXATTRS4res (nfsstat4 status) {
3941 + case const.NFS4_OK:
3942 + LISTXATTRS4resok value;
3943 + default:
3944 + void;
3945 +};
3946 +
3947 +.P
3948 +.B Methods defined here:
3949 +---------------------
3950 +.P
3951 +.B __init__(self, unpack)
3952 +Constructor
3953 +
3954 +Initialize object's private data according to the arguments given.
3955 +Arguments can be given as positional, named arguments or a
3956 +combination of both.
3957 +.fi
3958 +.SS class LISTXATTRS4resok(baseobj.BaseObj)
3959 +.nf
3960 +LISTXATTRS4resok(unpack)
3961 +
3962 +struct LISTXATTRS4resok {
3963 + nfs_cookie4 cookie;
3964 + xattrkey4 names<>;
3965 + bool eof;
3966 +};
3967 +
3968 +.P
3969 +.B Methods defined here:
3970 +---------------------
3971 +.P
3972 +.B __init__(self, unpack)
3973 +Constructor
3974 +
3975 +Initialize object's private data according to the arguments given.
3976 +Arguments can be given as positional, named arguments or a
3977 +combination of both.
3978 +.fi
3979 +.SS class LOCK4args(baseobj.BaseObj)
3980 +.nf
3981 +LOCK4args(unpack)
3982 +
3983 +struct LOCK4args {
3984 + /* CURRENT_FH: file */
3985 + nfs_lock_type4 locktype;
3986 + bool reclaim;
3987 + offset4 offset;
3988 + length4 length;
3989 + locker4 locker;
3990 +};
3991 +
3992 +.P
3993 +.B Methods defined here:
3994 +---------------------
3995 +.P
3996 +.B __init__(self, unpack)
3997 +Constructor
3998 +
3999 +Initialize object's private data according to the arguments given.
4000 +Arguments can be given as positional, named arguments or a
4001 +combination of both.
4002 +.fi
4003 +.SS class LOCK4denied(baseobj.BaseObj)
4004 +.nf
4005 +LOCK4denied(unpack)
4006 +
4007 +struct LOCK4denied {
4008 + offset4 offset;
4009 + length4 length;
4010 + nfs_lock_type4 locktype;
4011 + lock_owner4 owner;
4012 +};
4013 +
4014 +.P
4015 +.B Methods defined here:
4016 +---------------------
4017 +.P
4018 +.B __init__(self, unpack)
4019 +Constructor
4020 +
4021 +Initialize object's private data according to the arguments given.
4022 +Arguments can be given as positional, named arguments or a
4023 +combination of both.
4024 +.fi
4025 +.SS class LOCK4res(baseobj.BaseObj)
4026 +.nf
4027 +LOCK4res(unpack)
4028 +
4029 +union switch LOCK4res (nfsstat4 status) {
4030 + case const.NFS4_OK:
4031 + LOCK4resok resok;
4032 + case const.NFS4ERR_DENIED:
4033 + LOCK4denied denied;
4034 + default:
4035 + void;
4036 +};
4037 +
4038 +.P
4039 +.B Methods defined here:
4040 +---------------------
4041 +.P
4042 +.B __init__(self, unpack)
4043 +Constructor
4044 +
4045 +Initialize object's private data according to the arguments given.
4046 +Arguments can be given as positional, named arguments or a
4047 +combination of both.
4048 +.fi
4049 +.SS class LOCK4resok(baseobj.BaseObj)
4050 +.nf
4051 +LOCK4resok(unpack)
4052 +
4053 +struct LOCK4resok {
4054 + stateid4 stateid;
4055 +};
4056 +
4057 +.P
4058 +.B Methods defined here:
4059 +---------------------
4060 +.P
4061 +.B __init__(self, unpack)
4062 +Constructor
4063 +
4064 +Initialize object's private data according to the arguments given.
4065 +Arguments can be given as positional, named arguments or a
4066 +combination of both.
4067 +.fi
4068 +.SS class LOCKT4args(baseobj.BaseObj)
4069 +.nf
4070 +LOCKT4args(unpack)
4071 +
4072 +struct LOCKT4args {
4073 + /* CURRENT_FH: file */
4074 + nfs_lock_type4 locktype;
4075 + offset4 offset;
4076 + length4 length;
4077 + lock_owner4 owner;
4078 +};
4079 +
4080 +.P
4081 +.B Methods defined here:
4082 +---------------------
4083 +.P
4084 +.B __init__(self, unpack)
4085 +Constructor
4086 +
4087 +Initialize object's private data according to the arguments given.
4088 +Arguments can be given as positional, named arguments or a
4089 +combination of both.
4090 +.fi
4091 +.SS class LOCKT4res(baseobj.BaseObj)
4092 +.nf
4093 +LOCKT4res(unpack)
4094 +
4095 +union switch LOCKT4res (nfsstat4 status) {
4096 + case const.NFS4ERR_DENIED:
4097 + LOCK4denied denied;
4098 + case const.NFS4_OK:
4099 + void;
4100 + default:
4101 + void;
4102 +};
4103 +
4104 +.P
4105 +.B Methods defined here:
4106 +---------------------
4107 +.P
4108 +.B __init__(self, unpack)
4109 +Constructor
4110 +
4111 +Initialize object's private data according to the arguments given.
4112 +Arguments can be given as positional, named arguments or a
4113 +combination of both.
4114 +.fi
4115 +.SS class LOCKU4args(baseobj.BaseObj)
4116 +.nf
4117 +LOCKU4args(unpack)
4118 +
4119 +struct LOCKU4args {
4120 + /* CURRENT_FH: file */
4121 + nfs_lock_type4 locktype;
4122 + seqid4 seqid;
4123 + stateid4 stateid;
4124 + offset4 offset;
4125 + length4 length;
4126 +};
4127 +
4128 +.P
4129 +.B Methods defined here:
4130 +---------------------
4131 +.P
4132 +.B __init__(self, unpack)
4133 +Constructor
4134 +
4135 +Initialize object's private data according to the arguments given.
4136 +Arguments can be given as positional, named arguments or a
4137 +combination of both.
4138 +.fi
4139 +.SS class LOCKU4res(baseobj.BaseObj)
4140 +.nf
4141 +LOCKU4res(unpack)
4142 +
4143 +union switch LOCKU4res (nfsstat4 status) {
4144 + case const.NFS4_OK:
4145 + stateid4 stateid;
4146 + default:
4147 + void;
4148 +};
4149 +
4150 +.P
4151 +.B Methods defined here:
4152 +---------------------
4153 +.P
4154 +.B __init__(self, unpack)
4155 +Constructor
4156 +
4157 +Initialize object's private data according to the arguments given.
4158 +Arguments can be given as positional, named arguments or a
4159 +combination of both.
4160 +.fi
4161 +.SS class LOOKUP4args(baseobj.BaseObj)
4162 +.nf
4163 +LOOKUP4args(unpack)
4164 +
4165 +struct LOOKUP4args {
4166 + /* CURRENT_FH: directory */
4167 + component4 name;
4168 +};
4169 +
4170 +.P
4171 +.B Methods defined here:
4172 +---------------------
4173 +.P
4174 +.B __init__(self, unpack)
4175 +Constructor
4176 +
4177 +Initialize object's private data according to the arguments given.
4178 +Arguments can be given as positional, named arguments or a
4179 +combination of both.
4180 +.fi
4181 +.SS class LOOKUP4res(baseobj.BaseObj)
4182 +.nf
4183 +LOOKUP4res(unpack)
4184 +
4185 +struct LOOKUP4res {
4186 + /* New CURRENT_FH: object */
4187 + nfsstat4 status;
4188 +};
4189 +
4190 +.P
4191 +.B Methods defined here:
4192 +---------------------
4193 +.P
4194 +.B __init__(self, unpack)
4195 +Constructor
4196 +
4197 +Initialize object's private data according to the arguments given.
4198 +Arguments can be given as positional, named arguments or a
4199 +combination of both.
4200 +.fi
4201 +.SS class LOOKUPP4res(baseobj.BaseObj)
4202 +.nf
4203 +LOOKUPP4res(unpack)
4204 +
4205 +struct LOOKUPP4res {
4206 + /* new CURRENT_FH: parent directory */
4207 + nfsstat4 status;
4208 +};
4209 +
4210 +.P
4211 +.B Methods defined here:
4212 +---------------------
4213 +.P
4214 +.B __init__(self, unpack)
4215 +Constructor
4216 +
4217 +Initialize object's private data according to the arguments given.
4218 +Arguments can be given as positional, named arguments or a
4219 +combination of both.
4220 +.fi
4221 +.SS class NVERIFY4args(baseobj.BaseObj)
4222 +.nf
4223 +NVERIFY4args(unpack)
4224 +
4225 +struct NVERIFY4args {
4226 + /* CURRENT_FH: object */
4227 + fattr4 attributes;
4228 +};
4229 +
4230 +.P
4231 +.B Methods defined here:
4232 +---------------------
4233 +.P
4234 +.B __init__(self, unpack)
4235 +Constructor
4236 +
4237 +Initialize object's private data according to the arguments given.
4238 +Arguments can be given as positional, named arguments or a
4239 +combination of both.
4240 +.fi
4241 +.SS class NVERIFY4res(baseobj.BaseObj)
4242 +.nf
4243 +NVERIFY4res(unpack)
4244 +
4245 +struct NVERIFY4res {
4246 + nfsstat4 status;
4247 +};
4248 +
4249 +.P
4250 +.B Methods defined here:
4251 +---------------------
4252 +.P
4253 +.B __init__(self, unpack)
4254 +Constructor
4255 +
4256 +Initialize object's private data according to the arguments given.
4257 +Arguments can be given as positional, named arguments or a
4258 +combination of both.
4259 +.fi
4260 +.SS class OFFLOAD_CANCEL4args(baseobj.BaseObj)
4261 +.nf
4262 +OFFLOAD_CANCEL4args(unpack)
4263 +
4264 +struct OFFLOAD_CANCEL4args {
4265 + /* CURRENT_FH: file to cancel */
4266 + stateid4 stateid;
4267 +};
4268 +
4269 +.P
4270 +.B Methods defined here:
4271 +---------------------
4272 +.P
4273 +.B __init__(self, unpack)
4274 +Constructor
4275 +
4276 +Initialize object's private data according to the arguments given.
4277 +Arguments can be given as positional, named arguments or a
4278 +combination of both.
4279 +.fi
4280 +.SS class OFFLOAD_CANCEL4res(baseobj.BaseObj)
4281 +.nf
4282 +OFFLOAD_CANCEL4res(unpack)
4283 +
4284 +struct OFFLOAD_CANCEL4res {
4285 + nfsstat4 status;
4286 +};
4287 +
4288 +.P
4289 +.B Methods defined here:
4290 +---------------------
4291 +.P
4292 +.B __init__(self, unpack)
4293 +Constructor
4294 +
4295 +Initialize object's private data according to the arguments given.
4296 +Arguments can be given as positional, named arguments or a
4297 +combination of both.
4298 +.fi
4299 +.SS class OFFLOAD_STATUS4args(baseobj.BaseObj)
4300 +.nf
4301 +OFFLOAD_STATUS4args(unpack)
4302 +
4303 +struct OFFLOAD_STATUS4args {
4304 + /* CURRENT_FH: destination file */
4305 + stateid4 stateid;
4306 +};
4307 +
4308 +.P
4309 +.B Methods defined here:
4310 +---------------------
4311 +.P
4312 +.B __init__(self, unpack)
4313 +Constructor
4314 +
4315 +Initialize object's private data according to the arguments given.
4316 +Arguments can be given as positional, named arguments or a
4317 +combination of both.
4318 +.fi
4319 +.SS class OFFLOAD_STATUS4res(baseobj.BaseObj)
4320 +.nf
4321 +OFFLOAD_STATUS4res(unpack)
4322 +
4323 +union switch OFFLOAD_STATUS4res (nfsstat4 status) {
4324 + case const.NFS4_OK:
4325 + OFFLOAD_STATUS4resok resok;
4326 + default:
4327 + void;
4328 +};
4329 +
4330 +.P
4331 +.B Methods defined here:
4332 +---------------------
4333 +.P
4334 +.B __init__(self, unpack)
4335 +Constructor
4336 +
4337 +Initialize object's private data according to the arguments given.
4338 +Arguments can be given as positional, named arguments or a
4339 +combination of both.
4340 +.fi
4341 +.SS class OFFLOAD_STATUS4resok(baseobj.BaseObj)
4342 +.nf
4343 +OFFLOAD_STATUS4resok(unpack)
4344 +
4345 +struct OFFLOAD_STATUS4resok {
4346 + length4 count;
4347 + nfsstat4 complete<1>;
4348 +};
4349 +
4350 +.P
4351 +.B Methods defined here:
4352 +---------------------
4353 +.P
4354 +.B __init__(self, unpack)
4355 +Constructor
4356 +
4357 +Initialize object's private data according to the arguments given.
4358 +Arguments can be given as positional, named arguments or a
4359 +combination of both.
4360 +.fi
4361 +.SS class OPEN4args(baseobj.BaseObj)
4362 +.nf
4363 +OPEN4args(unpack)
4364 +
4365 +struct OPEN4args {
4366 + seqid4 seqid;
4367 + uint32_t access;
4368 + uint32_t deny;
4369 + open_owner4 owner;
4370 + openflag4 openhow;
4371 + open_claim4 claim;
4372 +};
4373 +
4374 +.P
4375 +.B Methods defined here:
4376 +---------------------
4377 +.P
4378 +.B __init__(self, unpack)
4379 +Constructor
4380 +
4381 +Initialize object's private data according to the arguments given.
4382 +Arguments can be given as positional, named arguments or a
4383 +combination of both.
4384 +.fi
4385 +.SS class OPEN4res(baseobj.BaseObj)
4386 +.nf
4387 +OPEN4res(unpack)
4388 +
4389 +union switch OPEN4res (nfsstat4 status) {
4390 + case const.NFS4_OK:
4391 + /* New CURRENT_FH: opened file */
4392 + OPEN4resok resok;
4393 + default:
4394 + void;
4395 +};
4396 +
4397 +.P
4398 +.B Methods defined here:
4399 +---------------------
4400 +.P
4401 +.B __init__(self, unpack)
4402 +Constructor
4403 +
4404 +Initialize object's private data according to the arguments given.
4405 +Arguments can be given as positional, named arguments or a
4406 +combination of both.
4407 +.fi
4408 +.SS class OPEN4resok(baseobj.BaseObj)
4409 +.nf
4410 +OPEN4resok(unpack)
4411 +
4412 +struct OPEN4resok {
4413 + stateid4 stateid; /* Stateid for open */
4414 + change_info4 cinfo; /* Directory Change Info */
4415 + uint32_t rflags; /* Result flags */
4416 + bitmap4 attrset; /* attribute set for create */
4417 + open_delegation4 delegation; /* Info on any open delegation */
4418 +};
4419 +
4420 +.P
4421 +.B Methods defined here:
4422 +---------------------
4423 +.P
4424 +.B __init__(self, unpack)
4425 +Constructor
4426 +
4427 +Initialize object's private data according to the arguments given.
4428 +Arguments can be given as positional, named arguments or a
4429 +combination of both.
4430 +.fi
4431 +.SS class OPENATTR4args(baseobj.BaseObj)
4432 +.nf
4433 +OPENATTR4args(unpack)
4434 +
4435 +struct OPENATTR4args {
4436 + /* CURRENT_FH: object */
4437 + bool createdir;
4438 +};
4439 +
4440 +.P
4441 +.B Methods defined here:
4442 +---------------------
4443 +.P
4444 +.B __init__(self, unpack)
4445 +Constructor
4446 +
4447 +Initialize object's private data according to the arguments given.
4448 +Arguments can be given as positional, named arguments or a
4449 +combination of both.
4450 +.fi
4451 +.SS class OPENATTR4res(baseobj.BaseObj)
4452 +.nf
4453 +OPENATTR4res(unpack)
4454 +
4455 +struct OPENATTR4res {
4456 + /*
4457 + * If status is NFS4_OK,
4458 + * new CURRENT_FH: named attribute directory
4459 + */
4460 + nfsstat4 status;
4461 +};
4462 +
4463 +.P
4464 +.B Methods defined here:
4465 +---------------------
4466 +.P
4467 +.B __init__(self, unpack)
4468 +Constructor
4469 +
4470 +Initialize object's private data according to the arguments given.
4471 +Arguments can be given as positional, named arguments or a
4472 +combination of both.
4473 +.fi
4474 +.SS class OPEN_CONFIRM4args(baseobj.BaseObj)
4475 +.nf
4476 +OPEN_CONFIRM4args(unpack)
4477 +
4478 +struct OPEN_CONFIRM4args {
4479 + /* CURRENT_FH: opened file */
4480 + stateid4 stateid;
4481 + seqid4 seqid;
4482 +};
4483 +
4484 +.P
4485 +.B Methods defined here:
4486 +---------------------
4487 +.P
4488 +.B __init__(self, unpack)
4489 +Constructor
4490 +
4491 +Initialize object's private data according to the arguments given.
4492 +Arguments can be given as positional, named arguments or a
4493 +combination of both.
4494 +.fi
4495 +.SS class OPEN_CONFIRM4res(baseobj.BaseObj)
4496 +.nf
4497 +OPEN_CONFIRM4res(unpack)
4498 +
4499 +union switch OPEN_CONFIRM4res (nfsstat4 status) {
4500 + case const.NFS4_OK:
4501 + OPEN_CONFIRM4resok resok;
4502 + default:
4503 + void;
4504 +};
4505 +
4506 +.P
4507 +.B Methods defined here:
4508 +---------------------
4509 +.P
4510 +.B __init__(self, unpack)
4511 +Constructor
4512 +
4513 +Initialize object's private data according to the arguments given.
4514 +Arguments can be given as positional, named arguments or a
4515 +combination of both.
4516 +.fi
4517 +.SS class OPEN_CONFIRM4resok(baseobj.BaseObj)
4518 +.nf
4519 +OPEN_CONFIRM4resok(unpack)
4520 +
4521 +struct OPEN_CONFIRM4resok {
4522 + stateid4 stateid;
4523 +};
4524 +
4525 +.P
4526 +.B Methods defined here:
4527 +---------------------
4528 +.P
4529 +.B __init__(self, unpack)
4530 +Constructor
4531 +
4532 +Initialize object's private data according to the arguments given.
4533 +Arguments can be given as positional, named arguments or a
4534 +combination of both.
4535 +.fi
4536 +.SS class OPEN_DOWNGRADE4args(baseobj.BaseObj)
4537 +.nf
4538 +OPEN_DOWNGRADE4args(unpack)
4539 +
4540 +struct OPEN_DOWNGRADE4args {
4541 + /* CURRENT_FH: opened file */
4542 + stateid4 stateid;
4543 + seqid4 seqid;
4544 + uint32_t access;
4545 + uint32_t deny;
4546 +};
4547 +
4548 +.P
4549 +.B Methods defined here:
4550 +---------------------
4551 +.P
4552 +.B __init__(self, unpack)
4553 +Constructor
4554 +
4555 +Initialize object's private data according to the arguments given.
4556 +Arguments can be given as positional, named arguments or a
4557 +combination of both.
4558 +.fi
4559 +.SS class OPEN_DOWNGRADE4res(baseobj.BaseObj)
4560 +.nf
4561 +OPEN_DOWNGRADE4res(unpack)
4562 +
4563 +union switch OPEN_DOWNGRADE4res (nfsstat4 status) {
4564 + case const.NFS4_OK:
4565 + OPEN_DOWNGRADE4resok resok;
4566 + default:
4567 + void;
4568 +};
4569 +
4570 +.P
4571 +.B Methods defined here:
4572 +---------------------
4573 +.P
4574 +.B __init__(self, unpack)
4575 +Constructor
4576 +
4577 +Initialize object's private data according to the arguments given.
4578 +Arguments can be given as positional, named arguments or a
4579 +combination of both.
4580 +.fi
4581 +.SS class OPEN_DOWNGRADE4resok(baseobj.BaseObj)
4582 +.nf
4583 +OPEN_DOWNGRADE4resok(unpack)
4584 +
4585 +struct OPEN_DOWNGRADE4resok {
4586 + stateid4 stateid;
4587 +};
4588 +
4589 +.P
4590 +.B Methods defined here:
4591 +---------------------
4592 +.P
4593 +.B __init__(self, unpack)
4594 +Constructor
4595 +
4596 +Initialize object's private data according to the arguments given.
4597 +Arguments can be given as positional, named arguments or a
4598 +combination of both.
4599 +.fi
4600 +.SS class PUTFH4args(baseobj.BaseObj)
4601 +.nf
4602 +PUTFH4args(unpack)
4603 +
4604 +struct PUTFH4args {
4605 + nfs_fh4 fh;
4606 +};
4607 +
4608 +.P
4609 +.B Methods defined here:
4610 +---------------------
4611 +.P
4612 +.B __init__(self, unpack)
4613 +Constructor
4614 +
4615 +Initialize object's private data according to the arguments given.
4616 +Arguments can be given as positional, named arguments or a
4617 +combination of both.
4618 +.fi
4619 +.SS class PUTFH4res(baseobj.BaseObj)
4620 +.nf
4621 +PUTFH4res(unpack)
4622 +
4623 +struct PUTFH4res {
4624 + /*
4625 + * If status is NFS4_OK,
4626 + * new CURRENT_FH: argument to PUTFH
4627 + */
4628 + nfsstat4 status;
4629 +};
4630 +
4631 +.P
4632 +.B Methods defined here:
4633 +---------------------
4634 +.P
4635 +.B __init__(self, unpack)
4636 +Constructor
4637 +
4638 +Initialize object's private data according to the arguments given.
4639 +Arguments can be given as positional, named arguments or a
4640 +combination of both.
4641 +.fi
4642 +.SS class PUTPUBFH4res(baseobj.BaseObj)
4643 +.nf
4644 +PUTPUBFH4res(unpack)
4645 +
4646 +struct PUTPUBFH4res {
4647 + /*
4648 + * If status is NFS4_OK,
4649 + * new CURRENT_FH: public fh
4650 + */
4651 + nfsstat4 status;
4652 +};
4653 +
4654 +.P
4655 +.B Methods defined here:
4656 +---------------------
4657 +.P
4658 +.B __init__(self, unpack)
4659 +Constructor
4660 +
4661 +Initialize object's private data according to the arguments given.
4662 +Arguments can be given as positional, named arguments or a
4663 +combination of both.
4664 +.fi
4665 +.SS class PUTROOTFH4res(baseobj.BaseObj)
4666 +.nf
4667 +PUTROOTFH4res(unpack)
4668 +
4669 +struct PUTROOTFH4res {
4670 + /*
4671 + * If status is NFS4_OK,
4672 + * new CURRENT_FH: root fh
4673 + */
4674 + nfsstat4 status;
4675 +};
4676 +
4677 +.P
4678 +.B Methods defined here:
4679 +---------------------
4680 +.P
4681 +.B __init__(self, unpack)
4682 +Constructor
4683 +
4684 +Initialize object's private data according to the arguments given.
4685 +Arguments can be given as positional, named arguments or a
4686 +combination of both.
4687 +.fi
4688 +.SS class READ4args(baseobj.BaseObj)
4689 +.nf
4690 +READ4args(unpack)
4691 +
4692 +struct READ4args {
4693 + /* CURRENT_FH: file */
4694 + stateid4 stateid;
4695 + offset4 offset;
4696 + count4 count;
4697 +};
4698 +
4699 +.P
4700 +.B Methods defined here:
4701 +---------------------
4702 +.P
4703 +.B __init__(self, unpack)
4704 +Constructor
4705 +
4706 +Initialize object's private data according to the arguments given.
4707 +Arguments can be given as positional, named arguments or a
4708 +combination of both.
4709 +.fi
4710 +.SS class READ4res(baseobj.BaseObj)
4711 +.nf
4712 +READ4res(unpack)
4713 +
4714 +union switch READ4res (nfsstat4 status) {
4715 + case const.NFS4_OK:
4716 + READ4resok resok;
4717 + default:
4718 + void;
4719 +};
4720 +
4721 +.P
4722 +.B Methods defined here:
4723 +---------------------
4724 +.P
4725 +.B __init__(self, unpack)
4726 +Constructor
4727 +
4728 +Initialize object's private data according to the arguments given.
4729 +Arguments can be given as positional, named arguments or a
4730 +combination of both.
4731 +.fi
4732 +.SS class READ4resok(packet.utils.RDMAbase)
4733 +.nf
4734 +READ4resok(unpack)
4735 +
4736 +struct READ4resok {
4737 + bool eof;
4738 + opaque data<>;
4739 +};
4740 +
4741 +.P
4742 +.B Methods defined here:
4743 +---------------------
4744 +.P
4745 +.B __init__(self, unpack)
4746 +Constructor
4747 +
4748 +Initialize object's private data according to the arguments given.
4749 +Arguments can be given as positional, named arguments or a
4750 +combination of both.
4751 +.fi
4752 +.SS class READDIR4args(baseobj.BaseObj)
4753 +.nf
4754 +READDIR4args(unpack)
4755 +
4756 +struct READDIR4args {
4757 + /* CURRENT_FH: directory */
4758 + nfs_cookie4 cookie;
4759 + verifier4 verifier;
4760 + count4 dircount;
4761 + count4 maxcount;
4762 + bitmap4 request;
4763 +};
4764 +
4765 +.P
4766 +.B Methods defined here:
4767 +---------------------
4768 +.P
4769 +.B __init__(self, unpack)
4770 +Constructor
4771 +
4772 +Initialize object's private data according to the arguments given.
4773 +Arguments can be given as positional, named arguments or a
4774 +combination of both.
4775 +.fi
4776 +.SS class READDIR4res(baseobj.BaseObj)
4777 +.nf
4778 +READDIR4res(unpack)
4779 +
4780 +union switch READDIR4res (nfsstat4 status) {
4781 + case const.NFS4_OK:
4782 + READDIR4resok resok;
4783 + default:
4784 + void;
4785 +};
4786 +
4787 +.P
4788 +.B Methods defined here:
4789 +---------------------
4790 +.P
4791 +.B __init__(self, unpack)
4792 +Constructor
4793 +
4794 +Initialize object's private data according to the arguments given.
4795 +Arguments can be given as positional, named arguments or a
4796 +combination of both.
4797 +.fi
4798 +.SS class READDIR4resok(baseobj.BaseObj)
4799 +.nf
4800 +READDIR4resok(unpack)
4801 +
4802 +struct READDIR4resok {
4803 + verifier4 verifier;
4804 + dirlist4 reply;
4805 +};
4806 +
4807 +.P
4808 +.B Methods defined here:
4809 +---------------------
4810 +.P
4811 +.B __init__(self, unpack)
4812 +Constructor
4813 +
4814 +Initialize object's private data according to the arguments given.
4815 +Arguments can be given as positional, named arguments or a
4816 +combination of both.
4817 +.fi
4818 +.SS class READLINK4res(baseobj.BaseObj)
4819 +.nf
4820 +READLINK4res(unpack)
4821 +
4822 +union switch READLINK4res (nfsstat4 status) {
4823 + case const.NFS4_OK:
4824 + READLINK4resok resok;
4825 + default:
4826 + void;
4827 +};
4828 +
4829 +.P
4830 +.B Methods defined here:
4831 +---------------------
4832 +.P
4833 +.B __init__(self, unpack)
4834 +Constructor
4835 +
4836 +Initialize object's private data according to the arguments given.
4837 +Arguments can be given as positional, named arguments or a
4838 +combination of both.
4839 +.fi
4840 +.SS class READLINK4resok(packet.utils.RDMAbase)
4841 +.nf
4842 +READLINK4resok(unpack)
4843 +
4844 +struct READLINK4resok {
4845 + linktext4 link;
4846 +};
4847 +
4848 +.P
4849 +.B Methods defined here:
4850 +---------------------
4851 +.P
4852 +.B __init__(self, unpack)
4853 +Constructor
4854 +
4855 +Initialize object's private data according to the arguments given.
4856 +Arguments can be given as positional, named arguments or a
4857 +combination of both.
4858 +.fi
4859 +.SS class READ_PLUS4args(baseobj.BaseObj)
4860 +.nf
4861 +READ_PLUS4args(unpack)
4862 +
4863 +struct READ_PLUS4args {
4864 + /* CURRENT_FH: file */
4865 + stateid4 stateid;
4866 + offset4 offset;
4867 + count4 count;
4868 +};
4869 +
4870 +.P
4871 +.B Methods defined here:
4872 +---------------------
4873 +.P
4874 +.B __init__(self, unpack)
4875 +Constructor
4876 +
4877 +Initialize object's private data according to the arguments given.
4878 +Arguments can be given as positional, named arguments or a
4879 +combination of both.
4880 +.fi
4881 +.SS class READ_PLUS4res(baseobj.BaseObj)
4882 +.nf
4883 +READ_PLUS4res(unpack)
4884 +
4885 +union switch READ_PLUS4res (nfsstat4 status) {
4886 + case const.NFS4_OK:
4887 + read_plus_res4 resok;
4888 + default:
4889 + void;
4890 +};
4891 +
4892 +.P
4893 +.B Methods defined here:
4894 +---------------------
4895 +.P
4896 +.B __init__(self, unpack)
4897 +Constructor
4898 +
4899 +Initialize object's private data according to the arguments given.
4900 +Arguments can be given as positional, named arguments or a
4901 +combination of both.
4902 +.fi
4903 +.SS class RECLAIM_COMPLETE4args(baseobj.BaseObj)
4904 +.nf
4905 +RECLAIM_COMPLETE4args(unpack)
4906 +
4907 +union switch RECLAIM_COMPLETE4args (bool one_fs) {
4908 + case const.TRUE:
4909 + /*
4910 + * If one_fs TRUE,
4911 + * CURRENT_FH: object in filesystem reclaim is complete for.
4912 + */
4913 + void;
4914 + default:
4915 + void;
4916 +};
4917 +
4918 +.P
4919 +.B Methods defined here:
4920 +---------------------
4921 +.P
4922 +.B __init__(self, unpack)
4923 +Constructor
4924 +
4925 +Initialize object's private data according to the arguments given.
4926 +Arguments can be given as positional, named arguments or a
4927 +combination of both.
4928 +.fi
4929 +.SS class RECLAIM_COMPLETE4res(baseobj.BaseObj)
4930 +.nf
4931 +RECLAIM_COMPLETE4res(unpack)
4932 +
4933 +struct RECLAIM_COMPLETE4res {
4934 + nfsstat4 status;
4935 +};
4936 +
4937 +.P
4938 +.B Methods defined here:
4939 +---------------------
4940 +.P
4941 +.B __init__(self, unpack)
4942 +Constructor
4943 +
4944 +Initialize object's private data according to the arguments given.
4945 +Arguments can be given as positional, named arguments or a
4946 +combination of both.
4947 +.fi
4948 +.SS class RELEASE_LOCKOWNER4args(baseobj.BaseObj)
4949 +.nf
4950 +RELEASE_LOCKOWNER4args(unpack)
4951 +
4952 +struct RELEASE_LOCKOWNER4args {
4953 + lock_owner4 owner;
4954 +};
4955 +
4956 +.P
4957 +.B Methods defined here:
4958 +---------------------
4959 +.P
4960 +.B __init__(self, unpack)
4961 +Constructor
4962 +
4963 +Initialize object's private data according to the arguments given.
4964 +Arguments can be given as positional, named arguments or a
4965 +combination of both.
4966 +.fi
4967 +.SS class RELEASE_LOCKOWNER4res(baseobj.BaseObj)
4968 +.nf
4969 +RELEASE_LOCKOWNER4res(unpack)
4970 +
4971 +struct RELEASE_LOCKOWNER4res {
4972 + nfsstat4 status;
4973 +};
4974 +
4975 +.P
4976 +.B Methods defined here:
4977 +---------------------
4978 +.P
4979 +.B __init__(self, unpack)
4980 +Constructor
4981 +
4982 +Initialize object's private data according to the arguments given.
4983 +Arguments can be given as positional, named arguments or a
4984 +combination of both.
4985 +.fi
4986 +.SS class REMOVE4args(baseobj.BaseObj)
4987 +.nf
4988 +REMOVE4args(unpack)
4989 +
4990 +struct REMOVE4args {
4991 + /* CURRENT_FH: directory */
4992 + component4 name;
4993 +};
4994 +
4995 +.P
4996 +.B Methods defined here:
4997 +---------------------
4998 +.P
4999 +.B __init__(self, unpack)
5000 +Constructor
5001 +
5002 +Initialize object's private data according to the arguments given.
5003 +Arguments can be given as positional, named arguments or a
5004 +combination of both.
5005 +.fi
5006 +.SS class REMOVE4res(baseobj.BaseObj)
5007 +.nf
5008 +REMOVE4res(unpack)
5009 +
5010 +union switch REMOVE4res (nfsstat4 status) {
5011 + case const.NFS4_OK:
5012 + REMOVE4resok resok;
5013 + default:
5014 + void;
5015 +};
5016 +
5017 +.P
5018 +.B Methods defined here:
5019 +---------------------
5020 +.P
5021 +.B __init__(self, unpack)
5022 +Constructor
5023 +
5024 +Initialize object's private data according to the arguments given.
5025 +Arguments can be given as positional, named arguments or a
5026 +combination of both.
5027 +.fi
5028 +.SS class REMOVE4resok(baseobj.BaseObj)
5029 +.nf
5030 +REMOVE4resok(unpack)
5031 +
5032 +struct REMOVE4resok {
5033 + change_info4 cinfo;
5034 +};
5035 +
5036 +.P
5037 +.B Methods defined here:
5038 +---------------------
5039 +.P
5040 +.B __init__(self, unpack)
5041 +Constructor
5042 +
5043 +Initialize object's private data according to the arguments given.
5044 +Arguments can be given as positional, named arguments or a
5045 +combination of both.
5046 +.fi
5047 +.SS class REMOVEXATTR4args(baseobj.BaseObj)
5048 +.nf
5049 +REMOVEXATTR4args(unpack)
5050 +
5051 +struct REMOVEXATTR4args {
5052 + /* CURRENT_FH: file */
5053 + xattrkey4 name;
5054 +};
5055 +
5056 +.P
5057 +.B Methods defined here:
5058 +---------------------
5059 +.P
5060 +.B __init__(self, unpack)
5061 +Constructor
5062 +
5063 +Initialize object's private data according to the arguments given.
5064 +Arguments can be given as positional, named arguments or a
5065 +combination of both.
5066 +.fi
5067 +.SS class REMOVEXATTR4res(baseobj.BaseObj)
5068 +.nf
5069 +REMOVEXATTR4res(unpack)
5070 +
5071 +union switch REMOVEXATTR4res (nfsstat4 status) {
5072 + case const.NFS4_OK:
5073 + change_info4 info;
5074 + default:
5075 + void;
5076 +};
5077 +
5078 +.P
5079 +.B Methods defined here:
5080 +---------------------
5081 +.P
5082 +.B __init__(self, unpack)
5083 +Constructor
5084 +
5085 +Initialize object's private data according to the arguments given.
5086 +Arguments can be given as positional, named arguments or a
5087 +combination of both.
5088 +.fi
5089 +.SS class RENAME4args(baseobj.BaseObj)
5090 +.nf
5091 +RENAME4args(unpack)
5092 +
5093 +struct RENAME4args {
5094 + /* SAVED_FH: source directory */
5095 + component4 name;
5096 + /* CURRENT_FH: target directory */
5097 + component4 newname;
5098 +};
5099 +
5100 +.P
5101 +.B Methods defined here:
5102 +---------------------
5103 +.P
5104 +.B __init__(self, unpack)
5105 +Constructor
5106 +
5107 +Initialize object's private data according to the arguments given.
5108 +Arguments can be given as positional, named arguments or a
5109 +combination of both.
5110 +.fi
5111 +.SS class RENAME4res(baseobj.BaseObj)
5112 +.nf
5113 +RENAME4res(unpack)
5114 +
5115 +union switch RENAME4res (nfsstat4 status) {
5116 + case const.NFS4_OK:
5117 + RENAME4resok resok;
5118 + default:
5119 + void;
5120 +};
5121 +
5122 +.P
5123 +.B Methods defined here:
5124 +---------------------
5125 +.P
5126 +.B __init__(self, unpack)
5127 +Constructor
5128 +
5129 +Initialize object's private data according to the arguments given.
5130 +Arguments can be given as positional, named arguments or a
5131 +combination of both.
5132 +.fi
5133 +.SS class RENAME4resok(baseobj.BaseObj)
5134 +.nf
5135 +RENAME4resok(unpack)
5136 +
5137 +struct RENAME4resok {
5138 + change_info4 source;
5139 + change_info4 target;
5140 +};
5141 +
5142 +.P
5143 +.B Methods defined here:
5144 +---------------------
5145 +.P
5146 +.B __init__(self, unpack)
5147 +Constructor
5148 +
5149 +Initialize object's private data according to the arguments given.
5150 +Arguments can be given as positional, named arguments or a
5151 +combination of both.
5152 +.fi
5153 +.SS class RENEW4args(baseobj.BaseObj)
5154 +.nf
5155 +RENEW4args(unpack)
5156 +
5157 +struct RENEW4args {
5158 + clientid4 clientid;
5159 +};
5160 +
5161 +.P
5162 +.B Methods defined here:
5163 +---------------------
5164 +.P
5165 +.B __init__(self, unpack)
5166 +Constructor
5167 +
5168 +Initialize object's private data according to the arguments given.
5169 +Arguments can be given as positional, named arguments or a
5170 +combination of both.
5171 +.fi
5172 +.SS class RENEW4res(baseobj.BaseObj)
5173 +.nf
5174 +RENEW4res(unpack)
5175 +
5176 +struct RENEW4res {
5177 + nfsstat4 status;
5178 +};
5179 +
5180 +.P
5181 +.B Methods defined here:
5182 +---------------------
5183 +.P
5184 +.B __init__(self, unpack)
5185 +Constructor
5186 +
5187 +Initialize object's private data according to the arguments given.
5188 +Arguments can be given as positional, named arguments or a
5189 +combination of both.
5190 +.fi
5191 +.SS class RESTOREFH4res(baseobj.BaseObj)
5192 +.nf
5193 +RESTOREFH4res(unpack)
5194 +
5195 +struct RESTOREFH4res {
5196 + /*
5197 + * If status is NFS4_OK,
5198 + * new CURRENT_FH: value of saved fh
5199 + */
5200 + nfsstat4 status;
5201 +};
5202 +
5203 +.P
5204 +.B Methods defined here:
5205 +---------------------
5206 +.P
5207 +.B __init__(self, unpack)
5208 +Constructor
5209 +
5210 +Initialize object's private data according to the arguments given.
5211 +Arguments can be given as positional, named arguments or a
5212 +combination of both.
5213 +.fi
5214 +.SS class SAVEFH4res(baseobj.BaseObj)
5215 +.nf
5216 +SAVEFH4res(unpack)
5217 +
5218 +struct SAVEFH4res {
5219 + /*
5220 + * If status is NFS4_OK,
5221 + * new SAVED_FH: value of current fh
5222 + */
5223 + nfsstat4 status;
5224 +};
5225 +
5226 +.P
5227 +.B Methods defined here:
5228 +---------------------
5229 +.P
5230 +.B __init__(self, unpack)
5231 +Constructor
5232 +
5233 +Initialize object's private data according to the arguments given.
5234 +Arguments can be given as positional, named arguments or a
5235 +combination of both.
5236 +.fi
5237 +.SS class SECINFO4args(baseobj.BaseObj)
5238 +.nf
5239 +SECINFO4args(unpack)
5240 +
5241 +struct SECINFO4args {
5242 + /* CURRENT_FH: directory */
5243 + component4 name;
5244 +};
5245 +
5246 +.P
5247 +.B Methods defined here:
5248 +---------------------
5249 +.P
5250 +.B __init__(self, unpack)
5251 +Constructor
5252 +
5253 +Initialize object's private data according to the arguments given.
5254 +Arguments can be given as positional, named arguments or a
5255 +combination of both.
5256 +.fi
5257 +.SS class SECINFO4res(baseobj.BaseObj)
5258 +.nf
5259 +SECINFO4res(unpack)
5260 +
5261 +union switch SECINFO4res (nfsstat4 status) {
5262 + case const.NFS4_OK:
5263 + /* CURRENTFH: consumed */
5264 + SECINFO4resok resok;
5265 + default:
5266 + void;
5267 +};
5268 +
5269 +.P
5270 +.B Methods defined here:
5271 +---------------------
5272 +.P
5273 +.B __init__(self, unpack)
5274 +Constructor
5275 +
5276 +Initialize object's private data according to the arguments given.
5277 +Arguments can be given as positional, named arguments or a
5278 +combination of both.
5279 +.fi
5280 +.SS class SECINFO_NO_NAME4args(baseobj.BaseObj)
5281 +.nf
5282 +SECINFO_NO_NAME4args(unpack)
5283 +
5284 +struct SECINFO_NO_NAME4args {
5285 + /* CURRENT_FH: object or child directory */
5286 + secinfo_style4 style;
5287 +};
5288 +
5289 +.P
5290 +.B Methods defined here:
5291 +---------------------
5292 +.P
5293 +.B __init__(self, unpack)
5294 +Constructor
5295 +
5296 +Initialize object's private data according to the arguments given.
5297 +Arguments can be given as positional, named arguments or a
5298 +combination of both.
5299 +.fi
5300 +.SS class SECINFO_NO_NAME4res(baseobj.BaseObj)
5301 +.nf
5302 +SECINFO_NO_NAME4res = class SECINFO4res(baseobj.BaseObj)
5303 +.fi
5304 +.SS class SEEK4args(baseobj.BaseObj)
5305 +.nf
5306 +SEEK4args(unpack)
5307 +
5308 +struct SEEK4args {
5309 + /* CURRENT_FH: file */
5310 + stateid4 stateid;
5311 + offset4 offset;
5312 + data_content4 what;
5313 +};
5314 +
5315 +.P
5316 +.B Methods defined here:
5317 +---------------------
5318 +.P
5319 +.B __init__(self, unpack)
5320 +Constructor
5321 +
5322 +Initialize object's private data according to the arguments given.
5323 +Arguments can be given as positional, named arguments or a
5324 +combination of both.
5325 +.fi
5326 +.SS class SEEK4res(baseobj.BaseObj)
5327 +.nf
5328 +SEEK4res(unpack)
5329 +
5330 +union switch SEEK4res (nfsstat4 status) {
5331 + case const.NFS4_OK:
5332 + seek_res4 resok;
5333 + default:
5334 + void;
5335 +};
5336 +
5337 +.P
5338 +.B Methods defined here:
5339 +---------------------
5340 +.P
5341 +.B __init__(self, unpack)
5342 +Constructor
5343 +
5344 +Initialize object's private data according to the arguments given.
5345 +Arguments can be given as positional, named arguments or a
5346 +combination of both.
5347 +.fi
5348 +.SS class SEQUENCE4args(baseobj.BaseObj)
5349 +.nf
5350 +SEQUENCE4args(unpack)
5351 +
5352 +struct SEQUENCE4args {
5353 + sessionid4 sessionid;
5354 + sequenceid4 sequenceid;
5355 + slotid4 slotid;
5356 + slotid4 highest_slotid;
5357 + bool cachethis;
5358 +};
5359 +
5360 +.P
5361 +.B Methods defined here:
5362 +---------------------
5363 +.P
5364 +.B __init__(self, unpack)
5365 +Constructor
5366 +
5367 +Initialize object's private data according to the arguments given.
5368 +Arguments can be given as positional, named arguments or a
5369 +combination of both.
5370 +.fi
5371 +.SS class SEQUENCE4res(baseobj.BaseObj)
5372 +.nf
5373 +SEQUENCE4res(unpack)
5374 +
5375 +union switch SEQUENCE4res (nfsstat4 status) {
5376 + case const.NFS4_OK:
5377 + SEQUENCE4resok resok;
5378 + default:
5379 + void;
5380 +};
5381 +
5382 +.P
5383 +.B Methods defined here:
5384 +---------------------
5385 +.P
5386 +.B __init__(self, unpack)
5387 +Constructor
5388 +
5389 +Initialize object's private data according to the arguments given.
5390 +Arguments can be given as positional, named arguments or a
5391 +combination of both.
5392 +.fi
5393 +.SS class SEQUENCE4resok(baseobj.BaseObj)
5394 +.nf
5395 +SEQUENCE4resok(unpack)
5396 +
5397 +struct SEQUENCE4resok {
5398 + sessionid4 sessionid;
5399 + sequenceid4 sequenceid;
5400 + slotid4 slotid;
5401 + slotid4 highest_slotid;
5402 + slotid4 target_highest_slotid;
5403 + uint32_t status_flags;
5404 +};
5405 +
5406 +.P
5407 +.B Methods defined here:
5408 +---------------------
5409 +.P
5410 +.B __init__(self, unpack)
5411 +Constructor
5412 +
5413 +Initialize object's private data according to the arguments given.
5414 +Arguments can be given as positional, named arguments or a
5415 +combination of both.
5416 +.fi
5417 +.SS class SETATTR4args(baseobj.BaseObj)
5418 +.nf
5419 +SETATTR4args(unpack)
5420 +
5421 +struct SETATTR4args {
5422 + /* CURRENT_FH: target object */
5423 + stateid4 stateid;
5424 + fattr4 attributes;
5425 +};
5426 +
5427 +.P
5428 +.B Methods defined here:
5429 +---------------------
5430 +.P
5431 +.B __init__(self, unpack)
5432 +Constructor
5433 +
5434 +Initialize object's private data according to the arguments given.
5435 +Arguments can be given as positional, named arguments or a
5436 +combination of both.
5437 +.fi
5438 +.SS class SETATTR4res(baseobj.BaseObj)
5439 +.nf
5440 +SETATTR4res(unpack)
5441 +
5442 +struct SETATTR4res {
5443 + nfsstat4 status;
5444 + bitmap4 attrset;
5445 +};
5446 +
5447 +.P
5448 +.B Methods defined here:
5449 +---------------------
5450 +.P
5451 +.B __init__(self, unpack)
5452 +Constructor
5453 +
5454 +Initialize object's private data according to the arguments given.
5455 +Arguments can be given as positional, named arguments or a
5456 +combination of both.
5457 +.fi
5458 +.SS class SETCLIENTID4args(baseobj.BaseObj)
5459 +.nf
5460 +SETCLIENTID4args(unpack)
5461 +
5462 +struct SETCLIENTID4args {
5463 + nfs_client_id4 client;
5464 + cb_client4 callback;
5465 + uint32_t callback_ident;
5466 +};
5467 +
5468 +.P
5469 +.B Methods defined here:
5470 +---------------------
5471 +.P
5472 +.B __init__(self, unpack)
5473 +Constructor
5474 +
5475 +Initialize object's private data according to the arguments given.
5476 +Arguments can be given as positional, named arguments or a
5477 +combination of both.
5478 +.fi
5479 +.SS class SETCLIENTID4res(baseobj.BaseObj)
5480 +.nf
5481 +SETCLIENTID4res(unpack)
5482 +
5483 +union switch SETCLIENTID4res (nfsstat4 status) {
5484 + case const.NFS4_OK:
5485 + SETCLIENTID4resok resok;
5486 + case const.NFS4ERR_CLID_INUSE:
5487 + clientaddr4 client;
5488 + default:
5489 + void;
5490 +};
5491 +
5492 +.P
5493 +.B Methods defined here:
5494 +---------------------
5495 +.P
5496 +.B __init__(self, unpack)
5497 +Constructor
5498 +
5499 +Initialize object's private data according to the arguments given.
5500 +Arguments can be given as positional, named arguments or a
5501 +combination of both.
5502 +.fi
5503 +.SS class SETCLIENTID4resok(baseobj.BaseObj)
5504 +.nf
5505 +SETCLIENTID4resok(unpack)
5506 +
5507 +struct SETCLIENTID4resok {
5508 + clientid4 clientid;
5509 + verifier4 verifier;
5510 +};
5511 +
5512 +.P
5513 +.B Methods defined here:
5514 +---------------------
5515 +.P
5516 +.B __init__(self, unpack)
5517 +Constructor
5518 +
5519 +Initialize object's private data according to the arguments given.
5520 +Arguments can be given as positional, named arguments or a
5521 +combination of both.
5522 +.fi
5523 +.SS class SETCLIENTID_CONFIRM4args(baseobj.BaseObj)
5524 +.nf
5525 +SETCLIENTID_CONFIRM4args(unpack)
5526 +
5527 +struct SETCLIENTID_CONFIRM4args {
5528 + clientid4 clientid;
5529 + verifier4 verifier;
5530 +};
5531 +
5532 +.P
5533 +.B Methods defined here:
5534 +---------------------
5535 +.P
5536 +.B __init__(self, unpack)
5537 +Constructor
5538 +
5539 +Initialize object's private data according to the arguments given.
5540 +Arguments can be given as positional, named arguments or a
5541 +combination of both.
5542 +.fi
5543 +.SS class SETCLIENTID_CONFIRM4res(baseobj.BaseObj)
5544 +.nf
5545 +SETCLIENTID_CONFIRM4res(unpack)
5546 +
5547 +struct SETCLIENTID_CONFIRM4res {
5548 + nfsstat4 status;
5549 +};
5550 +
5551 +.P
5552 +.B Methods defined here:
5553 +---------------------
5554 +.P
5555 +.B __init__(self, unpack)
5556 +Constructor
5557 +
5558 +Initialize object's private data according to the arguments given.
5559 +Arguments can be given as positional, named arguments or a
5560 +combination of both.
5561 +.fi
5562 +.SS class SETXATTR4args(baseobj.BaseObj)
5563 +.nf
5564 +SETXATTR4args(unpack)
5565 +
5566 +struct SETXATTR4args {
5567 + /* CURRENT_FH: file */
5568 + setxattr_option4 option;
5569 + xattrkey4 name;
5570 + xattrvalue4 value;
5571 +};
5572 +
5573 +.P
5574 +.B Methods defined here:
5575 +---------------------
5576 +.P
5577 +.B __init__(self, unpack)
5578 +Constructor
5579 +
5580 +Initialize object's private data according to the arguments given.
5581 +Arguments can be given as positional, named arguments or a
5582 +combination of both.
5583 +.fi
5584 +.SS class SETXATTR4res(baseobj.BaseObj)
5585 +.nf
5586 +SETXATTR4res(unpack)
5587 +
5588 +union switch SETXATTR4res (nfsstat4 status) {
5589 + case const.NFS4_OK:
5590 + change_info4 info;
5591 + default:
5592 + void;
5593 +};
5594 +
5595 +.P
5596 +.B Methods defined here:
5597 +---------------------
5598 +.P
5599 +.B __init__(self, unpack)
5600 +Constructor
5601 +
5602 +Initialize object's private data according to the arguments given.
5603 +Arguments can be given as positional, named arguments or a
5604 +combination of both.
5605 +.fi
5606 +.SS class SET_SSV4args(baseobj.BaseObj)
5607 +.nf
5608 +SET_SSV4args(unpack)
5609 +
5610 +struct SET_SSV4args {
5611 + opaque ssv<>;
5612 + opaque digest<>;
5613 +};
5614 +
5615 +.P
5616 +.B Methods defined here:
5617 +---------------------
5618 +.P
5619 +.B __init__(self, unpack)
5620 +Constructor
5621 +
5622 +Initialize object's private data according to the arguments given.
5623 +Arguments can be given as positional, named arguments or a
5624 +combination of both.
5625 +.fi
5626 +.SS class SET_SSV4res(baseobj.BaseObj)
5627 +.nf
5628 +SET_SSV4res(unpack)
5629 +
5630 +union switch SET_SSV4res (nfsstat4 status) {
5631 + case const.NFS4_OK:
5632 + SET_SSV4resok resok;
5633 + default:
5634 + void;
5635 +};
5636 +
5637 +.P
5638 +.B Methods defined here:
5639 +---------------------
5640 +.P
5641 +.B __init__(self, unpack)
5642 +Constructor
5643 +
5644 +Initialize object's private data according to the arguments given.
5645 +Arguments can be given as positional, named arguments or a
5646 +combination of both.
5647 +.fi
5648 +.SS class SET_SSV4resok(baseobj.BaseObj)
5649 +.nf
5650 +SET_SSV4resok(unpack)
5651 +
5652 +struct SET_SSV4resok {
5653 + opaque digest<>;
5654 +};
5655 +
5656 +.P
5657 +.B Methods defined here:
5658 +---------------------
5659 +.P
5660 +.B __init__(self, unpack)
5661 +Constructor
5662 +
5663 +Initialize object's private data according to the arguments given.
5664 +Arguments can be given as positional, named arguments or a
5665 +combination of both.
5666 +.fi
5667 +.SS class TEST_STATEID4args(baseobj.BaseObj)
5668 +.nf
5669 +TEST_STATEID4args(unpack)
5670 +
5671 +struct TEST_STATEID4args {
5672 + stateid4 stateids<>;
5673 +};
5674 +
5675 +.P
5676 +.B Methods defined here:
5677 +---------------------
5678 +.P
5679 +.B __init__(self, unpack)
5680 +Constructor
5681 +
5682 +Initialize object's private data according to the arguments given.
5683 +Arguments can be given as positional, named arguments or a
5684 +combination of both.
5685 +.fi
5686 +.SS class TEST_STATEID4res(baseobj.BaseObj)
5687 +.nf
5688 +TEST_STATEID4res(unpack)
5689 +
5690 +union switch TEST_STATEID4res (nfsstat4 status) {
5691 + case const.NFS4_OK:
5692 + TEST_STATEID4resok resok;
5693 + default:
5694 + void;
5695 +};
5696 +
5697 +.P
5698 +.B Methods defined here:
5699 +---------------------
5700 +.P
5701 +.B __init__(self, unpack)
5702 +Constructor
5703 +
5704 +Initialize object's private data according to the arguments given.
5705 +Arguments can be given as positional, named arguments or a
5706 +combination of both.
5707 +.fi
5708 +.SS class TEST_STATEID4resok(baseobj.BaseObj)
5709 +.nf
5710 +TEST_STATEID4resok(unpack)
5711 +
5712 +struct TEST_STATEID4resok {
5713 + nfsstat4 status_codes<>;
5714 +};
5715 +
5716 +.P
5717 +.B Methods defined here:
5718 +---------------------
5719 +.P
5720 +.B __init__(self, unpack)
5721 +Constructor
5722 +
5723 +Initialize object's private data according to the arguments given.
5724 +Arguments can be given as positional, named arguments or a
5725 +combination of both.
5726 +.fi
5727 +.SS class VERIFY4args(baseobj.BaseObj)
5728 +.nf
5729 +VERIFY4args(unpack)
5730 +
5731 +struct VERIFY4args {
5732 + /* CURRENT_FH: object */
5733 + fattr4 attributes;
5734 +};
5735 +
5736 +.P
5737 +.B Methods defined here:
5738 +---------------------
5739 +.P
5740 +.B __init__(self, unpack)
5741 +Constructor
5742 +
5743 +Initialize object's private data according to the arguments given.
5744 +Arguments can be given as positional, named arguments or a
5745 +combination of both.
5746 +.fi
5747 +.SS class VERIFY4res(baseobj.BaseObj)
5748 +.nf
5749 +VERIFY4res(unpack)
5750 +
5751 +struct VERIFY4res {
5752 + nfsstat4 status;
5753 +};
5754 +
5755 +.P
5756 +.B Methods defined here:
5757 +---------------------
5758 +.P
5759 +.B __init__(self, unpack)
5760 +Constructor
5761 +
5762 +Initialize object's private data according to the arguments given.
5763 +Arguments can be given as positional, named arguments or a
5764 +combination of both.
5765 +.fi
5766 +.SS class WANT_DELEGATION4args(baseobj.BaseObj)
5767 +.nf
5768 +WANT_DELEGATION4args(unpack)
5769 +
5770 +struct WANT_DELEGATION4args {
5771 + uint32_t want;
5772 + deleg_claim4 claim;
5773 +};
5774 +
5775 +.P
5776 +.B Methods defined here:
5777 +---------------------
5778 +.P
5779 +.B __init__(self, unpack)
5780 +Constructor
5781 +
5782 +Initialize object's private data according to the arguments given.
5783 +Arguments can be given as positional, named arguments or a
5784 +combination of both.
5785 +.fi
5786 +.SS class WANT_DELEGATION4res(baseobj.BaseObj)
5787 +.nf
5788 +WANT_DELEGATION4res(unpack)
5789 +
5790 +union switch WANT_DELEGATION4res (nfsstat4 status) {
5791 + case const.NFS4_OK:
5792 + open_delegation4 resok;
5793 + default:
5794 + void;
5795 +};
5796 +
5797 +.P
5798 +.B Methods defined here:
5799 +---------------------
5800 +.P
5801 +.B __init__(self, unpack)
5802 +Constructor
5803 +
5804 +Initialize object's private data according to the arguments given.
5805 +Arguments can be given as positional, named arguments or a
5806 +combination of both.
5807 +.fi
5808 +.SS class WRITE4args(baseobj.BaseObj)
5809 +.nf
5810 +WRITE4args(unpack)
5811 +
5812 +struct WRITE4args {
5813 + /* CURRENT_FH: file */
5814 + stateid4 stateid;
5815 + offset4 offset;
5816 + stable_how4 stable;
5817 + opaque data<>;
5818 +};
5819 +
5820 +.P
5821 +.B Methods defined here:
5822 +---------------------
5823 +.P
5824 +.B __init__(self, unpack)
5825 +Constructor
5826 +
5827 +Initialize object's private data according to the arguments given.
5828 +Arguments can be given as positional, named arguments or a
5829 +combination of both.
5830 +.fi
5831 +.SS class WRITE4res(baseobj.BaseObj)
5832 +.nf
5833 +WRITE4res(unpack)
5834 +
5835 +union switch WRITE4res (nfsstat4 status) {
5836 + case const.NFS4_OK:
5837 + WRITE4resok resok;
5838 + default:
5839 + void;
5840 +};
5841 +
5842 +.P
5843 +.B Methods defined here:
5844 +---------------------
5845 +.P
5846 +.B __init__(self, unpack)
5847 +Constructor
5848 +
5849 +Initialize object's private data according to the arguments given.
5850 +Arguments can be given as positional, named arguments or a
5851 +combination of both.
5852 +.fi
5853 +.SS class WRITE4resok(baseobj.BaseObj)
5854 +.nf
5855 +WRITE4resok(unpack)
5856 +
5857 +struct WRITE4resok {
5858 + count4 count;
5859 + stable_how4 committed;
5860 + verifier4 verifier;
5861 +};
5862 +
5863 +.P
5864 +.B Methods defined here:
5865 +---------------------
5866 +.P
5867 +.B __init__(self, unpack)
5868 +Constructor
5869 +
5870 +Initialize object's private data according to the arguments given.
5871 +Arguments can be given as positional, named arguments or a
5872 +combination of both.
5873 +.fi
5874 +.SS class WRITE_SAME4args(baseobj.BaseObj)
5875 +.nf
5876 +WRITE_SAME4args(unpack)
5877 +
5878 +struct WRITE_SAME4args {
5879 + /* CURRENT_FH: file */
5880 + stateid4 stateid;
5881 + stable_how4 stable;
5882 + app_data_block4 adb;
5883 +};
5884 +
5885 +.P
5886 +.B Methods defined here:
5887 +---------------------
5888 +.P
5889 +.B __init__(self, unpack)
5890 +Constructor
5891 +
5892 +Initialize object's private data according to the arguments given.
5893 +Arguments can be given as positional, named arguments or a
5894 +combination of both.
5895 +.fi
5896 +.SS class WRITE_SAME4res(baseobj.BaseObj)
5897 +.nf
5898 +WRITE_SAME4res(unpack)
5899 +
5900 +union switch WRITE_SAME4res (nfsstat4 status) {
5901 + case const.NFS4_OK:
5902 + write_response4 resok;
5903 + default:
5904 + void;
5905 +};
5906 +
5907 +.P
5908 +.B Methods defined here:
5909 +---------------------
5910 +.P
5911 +.B __init__(self, unpack)
5912 +Constructor
5913 +
5914 +Initialize object's private data according to the arguments given.
5915 +Arguments can be given as positional, named arguments or a
5916 +combination of both.
5917 +.fi
5918 +.SS class app_data_block4(baseobj.BaseObj)
5919 +.nf
5920 +app_data_block4(unpack)
5921 +
5922 +struct app_data_block4 {
5923 + offset4 offset;
5924 + length4 block_size;
5925 + length4 block_count;
5926 + length4 reloff_blocknum;
5927 + count4 block_num;
5928 + length4 reloff_pattern;
5929 + opaque pattern<>;
5930 +};
5931 +
5932 +.P
5933 +.B Methods defined here:
5934 +---------------------
5935 +.P
5936 +.B __init__(self, unpack)
5937 +Constructor
5938 +
5939 +Initialize object's private data according to the arguments given.
5940 +Arguments can be given as positional, named arguments or a
5941 +combination of both.
5942 +.fi
5943 +.SS class attr_notice4(baseobj.BaseObj)
5944 +.nf
5945 +attr_notice4 = class nfstime4(baseobj.BaseObj)
5946 +.fi
5947 +.SS class authsys_parms(baseobj.BaseObj)
5948 +.nf
5949 +authsys_parms(unpack)
5950 +
5951 +struct authsys_parms {
5952 + unsigned int stamp;
5953 + string machinename<255>;
5954 + unsigned int uid;
5955 + unsigned int gid;
5956 + unsigned int gids<16>;
5957 +};
5958 +
5959 +.P
5960 +.B Methods defined here:
5961 +---------------------
5962 +.P
5963 +.B __init__(self, unpack)
5964 +Constructor
5965 +
5966 +Initialize object's private data according to the arguments given.
5967 +Arguments can be given as positional, named arguments or a
5968 +combination of both.
5969 +.fi
5970 +.SS class bitmap4_list(baseobj.BaseObj)
5971 +.nf
5972 +bitmap4_list(unpack)
5973 +
5974 +struct bitmap4_list {
5975 + bitmap4 attrs;
5976 +};
5977 +
5978 +.P
5979 +.B Methods defined here:
5980 +---------------------
5981 +.P
5982 +.B __init__(self, unpack)
5983 +Constructor
5984 +
5985 +Initialize object's private data according to the arguments given.
5986 +Arguments can be given as positional, named arguments or a
5987 +combination of both.
5988 +.fi
5989 +.SS class callback_sec_parms4(baseobj.BaseObj)
5990 +.nf
5991 +callback_sec_parms4(unpack)
5992 +
5993 +union switch callback_sec_parms4 (nfs_secflavor4 flavor) {
5994 + case const.AUTH_NONE:
5995 + void;
5996 + case const.AUTH_SYS:
5997 + authsys_parms sys_cred; /* RFC 5531 */
5998 + case const.RPCSEC_GSS:
5999 + gss_cb_handles4 gss_handles;
6000 +};
6001 +
6002 +.P
6003 +.B Methods defined here:
6004 +---------------------
6005 +.P
6006 +.B __init__(self, unpack)
6007 +Constructor
6008 +
6009 +Initialize object's private data according to the arguments given.
6010 +Arguments can be given as positional, named arguments or a
6011 +combination of both.
6012 +.fi
6013 +.SS class cb_client4(baseobj.BaseObj)
6014 +.nf
6015 +cb_client4(unpack)
6016 +
6017 +struct cb_client4 {
6018 + uint32_t cb_program;
6019 + netaddr4 cb_location;
6020 +};
6021 +
6022 +.P
6023 +.B Methods defined here:
6024 +---------------------
6025 +.P
6026 +.B __init__(self, unpack)
6027 +Constructor
6028 +
6029 +Initialize object's private data according to the arguments given.
6030 +Arguments can be given as positional, named arguments or a
6031 +combination of both.
6032 +.fi
6033 +.SS class change_attr_type4(packet.utils.Enum)
6034 +.nf
6035 +change_attr_type4(unpack)
6036 +
6037 +enum change_attr_type4
6038 +
6039 +.fi
6040 +.SS class change_info4(baseobj.BaseObj)
6041 +.nf
6042 +change_info4(unpack)
6043 +
6044 +struct change_info4 {
6045 + bool atomic;
6046 + changeid4 before;
6047 + changeid4 after;
6048 +};
6049 +
6050 +.P
6051 +.B Methods defined here:
6052 +---------------------
6053 +.P
6054 +.B __init__(self, unpack)
6055 +Constructor
6056 +
6057 +Initialize object's private data according to the arguments given.
6058 +Arguments can be given as positional, named arguments or a
6059 +combination of both.
6060 +.fi
6061 +.SS class change_policy4(baseobj.BaseObj)
6062 +.nf
6063 +change_policy4(unpack)
6064 +
6065 +struct change_policy4 {
6066 + uint64_t major;
6067 + uint64_t minor;
6068 +};
6069 +
6070 +.P
6071 +.B Methods defined here:
6072 +---------------------
6073 +.P
6074 +.B __init__(self, unpack)
6075 +Constructor
6076 +
6077 +Initialize object's private data according to the arguments given.
6078 +Arguments can be given as positional, named arguments or a
6079 +combination of both.
6080 +.fi
6081 +.SS class channel_attrs4(baseobj.BaseObj)
6082 +.nf
6083 +channel_attrs4(unpack)
6084 +
6085 +struct channel_attrs4 {
6086 + count4 headerpadsize;
6087 + count4 maxrequestsize;
6088 + count4 maxresponsesize;
6089 + count4 maxresponsesize_cached;
6090 + count4 maxoperations;
6091 + count4 maxrequests;
6092 + uint32_t rdma_ird<1>;
6093 +};
6094 +
6095 +.P
6096 +.B Methods defined here:
6097 +---------------------
6098 +.P
6099 +.B __init__(self, unpack)
6100 +Constructor
6101 +
6102 +Initialize object's private data according to the arguments given.
6103 +Arguments can be given as positional, named arguments or a
6104 +combination of both.
6105 +.fi
6106 +.SS class channel_dir_from_client4(packet.utils.Enum)
6107 +.nf
6108 +channel_dir_from_client4(unpack)
6109 +
6110 +enum channel_dir_from_client4
6111 +
6112 +.fi
6113 +.SS class channel_dir_from_server4(packet.utils.Enum)
6114 +.nf
6115 +channel_dir_from_server4(unpack)
6116 +
6117 +enum channel_dir_from_server4
6118 +
6119 +.fi
6120 +.SS class client_owner4(baseobj.BaseObj)
6121 +.nf
6122 +client_owner4(unpack)
6123 +
6124 +struct client_owner4 {
6125 + verifier4 verifier;
6126 + opaque ownerid<NFS4_OPAQUE_LIMIT>;
6127 +};
6128 +
6129 +.P
6130 +.B Methods defined here:
6131 +---------------------
6132 +.P
6133 +.B __init__(self, unpack)
6134 +Constructor
6135 +
6136 +Initialize object's private data according to the arguments given.
6137 +Arguments can be given as positional, named arguments or a
6138 +combination of both.
6139 +.fi
6140 +.SS class clientaddr4(baseobj.BaseObj)
6141 +.nf
6142 +clientaddr4(unpack)
6143 +
6144 +struct clientaddr4 {
6145 + /* See struct rpcb in RFC 1833 */
6146 + string netid<>; /* network id */
6147 + string addr<>; /* universal address */
6148 +};
6149 +
6150 +.P
6151 +.B Methods defined here:
6152 +---------------------
6153 +.P
6154 +.B __init__(self, unpack)
6155 +Constructor
6156 +
6157 +Initialize object's private data according to the arguments given.
6158 +Arguments can be given as positional, named arguments or a
6159 +combination of both.
6160 +.fi
6161 +.SS class copy_confirm_auth_priv(baseobj.BaseObj)
6162 +.nf
6163 +copy_confirm_auth_priv(unpack)
6164 +
6165 +struct copy_confirm_auth_priv {
6166 + /* equal to GSS_GetMIC() of cfap_shared_secret */
6167 + opaque secret<>;
6168 + /* the NFSv4 user name that the user principal maps to */
6169 + utf8str_mixed username;
6170 +};
6171 +
6172 +.P
6173 +.B Methods defined here:
6174 +---------------------
6175 +.P
6176 +.B __init__(self, unpack)
6177 +Constructor
6178 +
6179 +Initialize object's private data according to the arguments given.
6180 +Arguments can be given as positional, named arguments or a
6181 +combination of both.
6182 +.fi
6183 +.SS class copy_from_auth_priv(baseobj.BaseObj)
6184 +.nf
6185 +copy_from_auth_priv(unpack)
6186 +
6187 +struct copy_from_auth_priv {
6188 + secret4 secret;
6189 + netloc4 destination;
6190 + /* the NFSv4 user name that the user principal maps to */
6191 + utf8str_mixed username;
6192 +};
6193 +
6194 +.P
6195 +.B Methods defined here:
6196 +---------------------
6197 +.P
6198 +.B __init__(self, unpack)
6199 +Constructor
6200 +
6201 +Initialize object's private data according to the arguments given.
6202 +Arguments can be given as positional, named arguments or a
6203 +combination of both.
6204 +.fi
6205 +.SS class copy_requirements4(baseobj.BaseObj)
6206 +.nf
6207 +copy_requirements4(unpack)
6208 +
6209 +struct copy_requirements4 {
6210 + bool consecutive;
6211 + bool synchronous;
6212 +};
6213 +
6214 +.P
6215 +.B Methods defined here:
6216 +---------------------
6217 +.P
6218 +.B __init__(self, unpack)
6219 +Constructor
6220 +
6221 +Initialize object's private data according to the arguments given.
6222 +Arguments can be given as positional, named arguments or a
6223 +combination of both.
6224 +.fi
6225 +.SS class copy_to_auth_priv(baseobj.BaseObj)
6226 +.nf
6227 +copy_to_auth_priv(unpack)
6228 +
6229 +struct copy_to_auth_priv {
6230 + /* equal to cfap_shared_secret */
6231 + secret4 secret;
6232 + netloc4 source<>;
6233 + /* the NFSv4 user name that the user principal maps to */
6234 + utf8str_mixed username;
6235 +};
6236 +
6237 +.P
6238 +.B Methods defined here:
6239 +---------------------
6240 +.P
6241 +.B __init__(self, unpack)
6242 +Constructor
6243 +
6244 +Initialize object's private data according to the arguments given.
6245 +Arguments can be given as positional, named arguments or a
6246 +combination of both.
6247 +.fi
6248 +.SS class createhow4(baseobj.BaseObj)
6249 +.nf
6250 +createhow4(unpack)
6251 +
6252 +union switch createhow4 (createmode4 mode) {
6253 + case const.UNCHECKED4:
6254 + case const.GUARDED4:
6255 + fattr4 attributes;
6256 + case const.EXCLUSIVE4:
6257 + verifier4 verifier;
6258 + case const.EXCLUSIVE4_1:
6259 + creatverfattr createboth;
6260 +};
6261 +
6262 +.P
6263 +.B Methods defined here:
6264 +---------------------
6265 +.P
6266 +.B __init__(self, unpack)
6267 +Constructor
6268 +
6269 +Initialize object's private data according to the arguments given.
6270 +Arguments can be given as positional, named arguments or a
6271 +combination of both.
6272 +.fi
6273 +.SS class createmode4(packet.utils.Enum)
6274 +.nf
6275 +createmode4(unpack)
6276 +
6277 +enum createmode4
6278 +
6279 +.fi
6280 +.SS class createtype4(baseobj.BaseObj)
6281 +.nf
6282 +createtype4(unpack)
6283 +
6284 +union switch createtype4 (nfs_ftype4 type) {
6285 + case const.NF4LNK:
6286 + linktext4 linkdata;
6287 + case const.NF4BLK:
6288 + case const.NF4CHR:
6289 + specdata4 devdata;
6290 + case const.NF4SOCK:
6291 + case const.NF4FIFO:
6292 + case const.NF4DIR:
6293 + void;
6294 + default:
6295 + void; /* server should return NFS4ERR_BADTYPE */
6296 +};
6297 +
6298 +.P
6299 +.B Methods defined here:
6300 +---------------------
6301 +.P
6302 +.B __init__(self, unpack)
6303 +Constructor
6304 +
6305 +Initialize object's private data according to the arguments given.
6306 +Arguments can be given as positional, named arguments or a
6307 +combination of both.
6308 +.fi
6309 +.SS class creatverfattr(baseobj.BaseObj)
6310 +.nf
6311 +creatverfattr(unpack)
6312 +
6313 +struct creatverfattr {
6314 + verifier4 verifier;
6315 + fattr4 attrs;
6316 +};
6317 +
6318 +.P
6319 +.B Methods defined here:
6320 +---------------------
6321 +.P
6322 +.B __init__(self, unpack)
6323 +Constructor
6324 +
6325 +Initialize object's private data according to the arguments given.
6326 +Arguments can be given as positional, named arguments or a
6327 +combination of both.
6328 +.fi
6329 +.SS class data4(baseobj.BaseObj)
6330 +.nf
6331 +data4(unpack)
6332 +
6333 +struct data4 {
6334 + offset4 offset;
6335 + opaque data<>;
6336 +};
6337 +
6338 +.P
6339 +.B Methods defined here:
6340 +---------------------
6341 +.P
6342 +.B __init__(self, unpack)
6343 +Constructor
6344 +
6345 +Initialize object's private data according to the arguments given.
6346 +Arguments can be given as positional, named arguments or a
6347 +combination of both.
6348 +.fi
6349 +.SS class data_content4(packet.utils.Enum)
6350 +.nf
6351 +data_content4(unpack)
6352 +
6353 +enum data_content4
6354 +
6355 +.fi
6356 +.SS class data_info4(baseobj.BaseObj)
6357 +.nf
6358 +data_info4(unpack)
6359 +
6360 +struct data_info4 {
6361 + offset4 offset;
6362 + length4 count;
6363 +};
6364 +
6365 +.P
6366 +.B Methods defined here:
6367 +---------------------
6368 +.P
6369 +.B __init__(self, unpack)
6370 +Constructor
6371 +
6372 +Initialize object's private data according to the arguments given.
6373 +Arguments can be given as positional, named arguments or a
6374 +combination of both.
6375 +.fi
6376 +.SS class deleg_claim4(baseobj.BaseObj)
6377 +.nf
6378 +deleg_claim4(unpack)
6379 +
6380 +union switch deleg_claim4 (open_claim_type4 claim) {
6381 + /*
6382 + * No special rights to object. Ordinary delegation
6383 + * request of the specified object. Object identified
6384 + * by filehandle.
6385 + */
6386 + case const.CLAIM_FH:
6387 + void;
6388 + /*
6389 + * Right to file based on a delegation granted
6390 + * to a previous boot instance of the client.
6391 + * File is specified by filehandle.
6392 + */
6393 + case const.CLAIM_DELEG_PREV_FH:
6394 + /* CURRENT_FH: object being delegated */
6395 + void;
6396 + /*
6397 + * Right to the file established by an open previous
6398 + * to server reboot. File identified by filehandle.
6399 + * Used during server reclaim grace period.
6400 + */
6401 + case const.CLAIM_PREVIOUS:
6402 + /* CURRENT_FH: object being reclaimed */
6403 + open_delegation_type4 deleg_type;
6404 +};
6405 +
6406 +.P
6407 +.B Methods defined here:
6408 +---------------------
6409 +.P
6410 +.B __init__(self, unpack)
6411 +Constructor
6412 +
6413 +Initialize object's private data according to the arguments given.
6414 +Arguments can be given as positional, named arguments or a
6415 +combination of both.
6416 +.fi
6417 +.SS class device_addr4(baseobj.BaseObj)
6418 +.nf
6419 +device_addr4(unpack)
6420 +
6421 +union switch device_addr4 (layouttype4 type) {
6422 + case const.LAYOUT4_NFSV4_1_FILES:
6423 + nfsv4_1_file_layout_ds_addr4 body;
6424 + case const.LAYOUT4_FLEX_FILES:
6425 + ff_device_addr4 body;
6426 + default:
6427 + /* All other types are not supported yet */
6428 + opaque body<>;
6429 +};
6430 +
6431 +.P
6432 +.B Methods defined here:
6433 +---------------------
6434 +.P
6435 +.B __init__(self, unpack)
6436 +Constructor
6437 +
6438 +Initialize object's private data according to the arguments given.
6439 +Arguments can be given as positional, named arguments or a
6440 +combination of both.
6441 +.fi
6442 +.SS class device_error4(baseobj.BaseObj)
6443 +.nf
6444 +device_error4(unpack)
6445 +
6446 +struct device_error4 {
6447 + deviceid4 deviceid;
6448 + nfsstat4 status;
6449 + nfs_opnum4 opnum;
6450 +};
6451 +
6452 +.P
6453 +.B Methods defined here:
6454 +---------------------
6455 +.P
6456 +.B __init__(self, unpack)
6457 +Constructor
6458 +
6459 +Initialize object's private data according to the arguments given.
6460 +Arguments can be given as positional, named arguments or a
6461 +combination of both.
6462 +.fi
6463 +.SS class dirlist4(baseobj.BaseObj)
6464 +.nf
6465 +dirlist4(unpack)
6466 +
6467 +struct dirlist4 {
6468 + entry4 *entries;
6469 + bool eof;
6470 +};
6471 +
6472 +.P
6473 +.B Methods defined here:
6474 +---------------------
6475 +.P
6476 +.B __init__(self, unpack)
6477 +Constructor
6478 +
6479 +Initialize object's private data according to the arguments given.
6480 +Arguments can be given as positional, named arguments or a
6481 +combination of both.
6482 +.fi
6483 +.SS class entry4(baseobj.BaseObj)
6484 +.nf
6485 +entry4(unpack)
6486 +
6487 +struct entry4 {
6488 + nfs_cookie4 cookie;
6489 + component4 name;
6490 + fattr4 attrs;
6491 + entry4 *nextentry;
6492 +};
6493 +
6494 +.P
6495 +.B Methods defined here:
6496 +---------------------
6497 +.P
6498 +.B __init__(self, unpack)
6499 +Constructor
6500 +
6501 +Initialize object's private data according to the arguments given.
6502 +Arguments can be given as positional, named arguments or a
6503 +combination of both.
6504 +.fi
6505 +.SS class exist_lock_owner4(baseobj.BaseObj)
6506 +.nf
6507 +exist_lock_owner4(unpack)
6508 +
6509 +struct exist_lock_owner4 {
6510 + stateid4 stateid;
6511 + seqid4 seqid;
6512 +};
6513 +
6514 +.P
6515 +.B Methods defined here:
6516 +---------------------
6517 +.P
6518 +.B __init__(self, unpack)
6519 +Constructor
6520 +
6521 +Initialize object's private data according to the arguments given.
6522 +Arguments can be given as positional, named arguments or a
6523 +combination of both.
6524 +.fi
6525 +.SS class fattr4_archive(packet.utils.Enum)
6526 +.nf
6527 +fattr4_archive = class nfs_bool(packet.utils.Enum)
6528 +.fi
6529 +.SS class fattr4_cansettime(packet.utils.Enum)
6530 +.nf
6531 +fattr4_cansettime = class nfs_bool(packet.utils.Enum)
6532 +.fi
6533 +.SS class fattr4_case_insensitive(packet.utils.Enum)
6534 +.nf
6535 +fattr4_case_insensitive = class nfs_bool(packet.utils.Enum)
6536 +.fi
6537 +.SS class fattr4_case_preserving(packet.utils.Enum)
6538 +.nf
6539 +fattr4_case_preserving = class nfs_bool(packet.utils.Enum)
6540 +.fi
6541 +.SS class fattr4_change_attr_type(packet.utils.Enum)
6542 +.nf
6543 +fattr4_change_attr_type = class change_attr_type4(packet.utils.Enum)
6544 +.fi
6545 +.SS class fattr4_change_policy(baseobj.BaseObj)
6546 +.nf
6547 +fattr4_change_policy = class change_policy4(baseobj.BaseObj)
6548 +.fi
6549 +.SS class fattr4_chown_restricted(packet.utils.Enum)
6550 +.nf
6551 +fattr4_chown_restricted = class nfs_bool(packet.utils.Enum)
6552 +.fi
6553 +.SS class fattr4_dacl(baseobj.BaseObj)
6554 +.nf
6555 +fattr4_dacl = class nfsacl41(baseobj.BaseObj)
6556 +.fi
6557 +.SS class fattr4_dir_notif_delay(baseobj.BaseObj)
6558 +.nf
6559 +fattr4_dir_notif_delay = class nfstime4(baseobj.BaseObj)
6560 +.fi
6561 +.SS class fattr4_dirent_notif_delay(baseobj.BaseObj)
6562 +.nf
6563 +fattr4_dirent_notif_delay = class nfstime4(baseobj.BaseObj)
6564 +.fi
6565 +.SS class fattr4_fs_locations(baseobj.BaseObj)
6566 +.nf
6567 +fattr4_fs_locations = class fs_locations4(baseobj.BaseObj)
6568 +.fi
6569 +.SS class fattr4_fs_locations_info(baseobj.BaseObj)
6570 +.nf
6571 +fattr4_fs_locations_info = class fs_locations_info4(baseobj.BaseObj)
6572 +.fi
6573 +.SS class fattr4_fs_status(baseobj.BaseObj)
6574 +.nf
6575 +fattr4_fs_status = class fs4_status(baseobj.BaseObj)
6576 +.fi
6577 +.SS class fattr4_fsid(baseobj.BaseObj)
6578 +.nf
6579 +fattr4_fsid = class fsid4(baseobj.BaseObj)
6580 +.fi
6581 +.SS class fattr4_hidden(packet.utils.Enum)
6582 +.nf
6583 +fattr4_hidden = class nfs_bool(packet.utils.Enum)
6584 +.fi
6585 +.SS class fattr4_homogeneous(packet.utils.Enum)
6586 +.nf
6587 +fattr4_homogeneous = class nfs_bool(packet.utils.Enum)
6588 +.fi
6589 +.SS class fattr4_layout_hint(baseobj.BaseObj)
6590 +.nf
6591 +fattr4_layout_hint = class layouthint4(baseobj.BaseObj)
6592 +.fi
6593 +.SS class fattr4_link_support(packet.utils.Enum)
6594 +.nf
6595 +fattr4_link_support = class nfs_bool(packet.utils.Enum)
6596 +.fi
6597 +.SS class fattr4_mdsthreshold(baseobj.BaseObj)
6598 +.nf
6599 +fattr4_mdsthreshold = class mdsthreshold4(baseobj.BaseObj)
6600 +.fi
6601 +.SS class fattr4_mode_set_masked(baseobj.BaseObj)
6602 +.nf
6603 +fattr4_mode_set_masked = class mode_masked4(baseobj.BaseObj)
6604 +.fi
6605 +.SS class fattr4_mode_umask(baseobj.BaseObj)
6606 +.nf
6607 +fattr4_mode_umask = class mode_umask4(baseobj.BaseObj)
6608 +.fi
6609 +.SS class fattr4_named_attr(packet.utils.Enum)
6610 +.nf
6611 +fattr4_named_attr = class nfs_bool(packet.utils.Enum)
6612 +.fi
6613 +.SS class fattr4_no_trunc(packet.utils.Enum)
6614 +.nf
6615 +fattr4_no_trunc = class nfs_bool(packet.utils.Enum)
6616 +.fi
6617 +.SS class fattr4_rawdev(baseobj.BaseObj)
6618 +.nf
6619 +fattr4_rawdev = class specdata4(baseobj.BaseObj)
6620 +.fi
6621 +.SS class fattr4_rdattr_error(packet.utils.Enum)
6622 +.nf
6623 +fattr4_rdattr_error = class nfsstat4(packet.utils.Enum)
6624 +.fi
6625 +.SS class fattr4_retentevt_get(baseobj.BaseObj)
6626 +.nf
6627 +fattr4_retentevt_get = class retention_get4(baseobj.BaseObj)
6628 +.fi
6629 +.SS class fattr4_retentevt_set(baseobj.BaseObj)
6630 +.nf
6631 +fattr4_retentevt_set = class retention_set4(baseobj.BaseObj)
6632 +.fi
6633 +.SS class fattr4_retention_get(baseobj.BaseObj)
6634 +.nf
6635 +fattr4_retention_get = class retention_get4(baseobj.BaseObj)
6636 +.fi
6637 +.SS class fattr4_retention_set(baseobj.BaseObj)
6638 +.nf
6639 +fattr4_retention_set = class retention_set4(baseobj.BaseObj)
6640 +.fi
6641 +.SS class fattr4_sacl(baseobj.BaseObj)
6642 +.nf
6643 +fattr4_sacl = class nfsacl41(baseobj.BaseObj)
6644 +.fi
6645 +.SS class fattr4_sec_label(baseobj.BaseObj)
6646 +.nf
6647 +fattr4_sec_label = class sec_label4(baseobj.BaseObj)
6648 +.fi
6649 +.SS class fattr4_suppattr_exclcreat(baseobj.BaseObj)
6650 +.nf
6651 +fattr4_suppattr_exclcreat = class bitmap4_list(baseobj.BaseObj)
6652 +.fi
6653 +.SS class fattr4_supported_attrs(baseobj.BaseObj)
6654 +.nf
6655 +fattr4_supported_attrs = class bitmap4_list(baseobj.BaseObj)
6656 +.fi
6657 +.SS class fattr4_symlink_support(packet.utils.Enum)
6658 +.nf
6659 +fattr4_symlink_support = class nfs_bool(packet.utils.Enum)
6660 +.fi
6661 +.SS class fattr4_system(packet.utils.Enum)
6662 +.nf
6663 +fattr4_system = class nfs_bool(packet.utils.Enum)
6664 +.fi
6665 +.SS class fattr4_time_access(baseobj.BaseObj)
6666 +.nf
6667 +fattr4_time_access = class nfstime4(baseobj.BaseObj)
6668 +.fi
6669 +.SS class fattr4_time_access_set(baseobj.BaseObj)
6670 +.nf
6671 +fattr4_time_access_set = class settime4(baseobj.BaseObj)
6672 +.fi
6673 +.SS class fattr4_time_backup(baseobj.BaseObj)
6674 +.nf
6675 +fattr4_time_backup = class nfstime4(baseobj.BaseObj)
6676 +.fi
6677 +.SS class fattr4_time_create(baseobj.BaseObj)
6678 +.nf
6679 +fattr4_time_create = class nfstime4(baseobj.BaseObj)
6680 +.fi
6681 +.SS class fattr4_time_delta(baseobj.BaseObj)
6682 +.nf
6683 +fattr4_time_delta = class nfstime4(baseobj.BaseObj)
6684 +.fi
6685 +.SS class fattr4_time_metadata(baseobj.BaseObj)
6686 +.nf
6687 +fattr4_time_metadata = class nfstime4(baseobj.BaseObj)
6688 +.fi
6689 +.SS class fattr4_time_modify(baseobj.BaseObj)
6690 +.nf
6691 +fattr4_time_modify = class nfstime4(baseobj.BaseObj)
6692 +.fi
6693 +.SS class fattr4_time_modify_set(baseobj.BaseObj)
6694 +.nf
6695 +fattr4_time_modify_set = class settime4(baseobj.BaseObj)
6696 +.fi
6697 +.SS class fattr4_type(packet.utils.Enum)
6698 +.nf
6699 +fattr4_type = class nfs_ftype4(packet.utils.Enum)
6700 +.fi
6701 +.SS class fattr4_unique_handles(packet.utils.Enum)
6702 +.nf
6703 +fattr4_unique_handles = class nfs_bool(packet.utils.Enum)
6704 +.fi
6705 +.SS class fattr4_xattr_support(packet.utils.Enum)
6706 +.nf
6707 +fattr4_xattr_support = class nfs_bool(packet.utils.Enum)
6708 +.fi
6709 +.SS class ff_cb_recall_any_mask(packet.utils.Enum)
6710 +.nf
6711 +ff_cb_recall_any_mask(unpack)
6712 +
6713 +enum ff_cb_recall_any_mask
6714 +
6715 +.fi
6716 +.SS class ff_data_server4(baseobj.BaseObj)
6717 +.nf
6718 +ff_data_server4(unpack)
6719 +
6720 +struct ff_data_server4 {
6721 + deviceid4 deviceid;
6722 + uint32_t efficiency;
6723 + stateid4 stateid;
6724 + nfs_fh4 fh_list<>;
6725 + fattr4_owner user;
6726 + fattr4_owner_group group;
6727 +};
6728 +
6729 +.P
6730 +.B Methods defined here:
6731 +---------------------
6732 +.P
6733 +.B __init__(self, unpack)
6734 +Constructor
6735 +
6736 +Initialize object's private data according to the arguments given.
6737 +Arguments can be given as positional, named arguments or a
6738 +combination of both.
6739 +.fi
6740 +.SS class ff_device_addr4(baseobj.BaseObj)
6741 +.nf
6742 +ff_device_addr4(unpack)
6743 +
6744 +struct ff_device_addr4 {
6745 + uint32_t size; /* opaque size from device_addr4 */
6746 + multipath_list4 netaddrs;
6747 + ff_device_versions4 versions<>;
6748 +};
6749 +
6750 +.P
6751 +.B Methods defined here:
6752 +---------------------
6753 +.P
6754 +.B __init__(self, unpack)
6755 +Constructor
6756 +
6757 +Initialize object's private data according to the arguments given.
6758 +Arguments can be given as positional, named arguments or a
6759 +combination of both.
6760 +.fi
6761 +.SS class ff_device_versions4(baseobj.BaseObj)
6762 +.nf
6763 +ff_device_versions4(unpack)
6764 +
6765 +struct ff_device_versions4 {
6766 + uint32_t version;
6767 + uint32_t minorversion;
6768 + uint32_t rsize;
6769 + uint32_t wsize;
6770 + bool tightly_coupled;
6771 +};
6772 +
6773 +.P
6774 +.B Methods defined here:
6775 +---------------------
6776 +.P
6777 +.B __init__(self, unpack)
6778 +Constructor
6779 +
6780 +Initialize object's private data according to the arguments given.
6781 +Arguments can be given as positional, named arguments or a
6782 +combination of both.
6783 +.fi
6784 +.SS class ff_io_latency4(baseobj.BaseObj)
6785 +.nf
6786 +ff_io_latency4(unpack)
6787 +
6788 +struct ff_io_latency4 {
6789 + uint64_t ops_requested;
6790 + uint64_t bytes_requested;
6791 + uint64_t ops_completed;
6792 + uint64_t bytes_completed;
6793 + uint64_t bytes_not_delivered;
6794 + nfstime4 total_busy_time;
6795 + nfstime4 aggregate_completion_time;
6796 +};
6797 +
6798 +.P
6799 +.B Methods defined here:
6800 +---------------------
6801 +.P
6802 +.B __init__(self, unpack)
6803 +Constructor
6804 +
6805 +Initialize object's private data according to the arguments given.
6806 +Arguments can be given as positional, named arguments or a
6807 +combination of both.
6808 +.fi
6809 +.SS class ff_ioerr4(baseobj.BaseObj)
6810 +.nf
6811 +ff_ioerr4(unpack)
6812 +
6813 +struct ff_ioerr4 {
6814 + offset4 offset;
6815 + length4 length;
6816 + stateid4 stateid;
6817 + device_error4 errors<>;
6818 +};
6819 +
6820 +.P
6821 +.B Methods defined here:
6822 +---------------------
6823 +.P
6824 +.B __init__(self, unpack)
6825 +Constructor
6826 +
6827 +Initialize object's private data according to the arguments given.
6828 +Arguments can be given as positional, named arguments or a
6829 +combination of both.
6830 +.fi
6831 +.SS class ff_iostats4(baseobj.BaseObj)
6832 +.nf
6833 +ff_iostats4(unpack)
6834 +
6835 +struct ff_iostats4 {
6836 + offset4 offset;
6837 + length4 length;
6838 + stateid4 stateid;
6839 + io_info4 read;
6840 + io_info4 write;
6841 + deviceid4 deviceid;
6842 + ff_layoutupdate4 layoutupdate;
6843 +};
6844 +
6845 +.P
6846 +.B Methods defined here:
6847 +---------------------
6848 +.P
6849 +.B __init__(self, unpack)
6850 +Constructor
6851 +
6852 +Initialize object's private data according to the arguments given.
6853 +Arguments can be given as positional, named arguments or a
6854 +combination of both.
6855 +.fi
6856 +.SS class ff_layout4(baseobj.BaseObj)
6857 +.nf
6858 +ff_layout4(unpack)
6859 +
6860 +struct ff_layout4 {
6861 + uint32_t size; /* opaque size from layout_content4 */
6862 + length4 stripe_unit;
6863 + ff_mirror4 mirrors<>;
6864 + ff_flags4 flags;
6865 + uint32_t stats_hint;
6866 +};
6867 +
6868 +.P
6869 +.B Methods defined here:
6870 +---------------------
6871 +.P
6872 +.B __init__(self, unpack)
6873 +Constructor
6874 +
6875 +Initialize object's private data according to the arguments given.
6876 +Arguments can be given as positional, named arguments or a
6877 +combination of both.
6878 +.fi
6879 +.SS class ff_layouthint4(baseobj.BaseObj)
6880 +.nf
6881 +ff_layouthint4(unpack)
6882 +
6883 +struct ff_layouthint4 {
6884 + ff_mirrors_hint mirrors_hint;
6885 +};
6886 +
6887 +.P
6888 +.B Methods defined here:
6889 +---------------------
6890 +.P
6891 +.B __init__(self, unpack)
6892 +Constructor
6893 +
6894 +Initialize object's private data according to the arguments given.
6895 +Arguments can be given as positional, named arguments or a
6896 +combination of both.
6897 +.fi
6898 +.SS class ff_layoutreturn4(baseobj.BaseObj)
6899 +.nf
6900 +ff_layoutreturn4(unpack)
6901 +
6902 +struct ff_layoutreturn4 {
6903 + uint32_t size; /* opaque size from layoutreturn_file4 */
6904 + ff_ioerr4 ioerr_report<>;
6905 + ff_iostats4 iostats_report<>;
6906 +};
6907 +
6908 +.P
6909 +.B Methods defined here:
6910 +---------------------
6911 +.P
6912 +.B __init__(self, unpack)
6913 +Constructor
6914 +
6915 +Initialize object's private data according to the arguments given.
6916 +Arguments can be given as positional, named arguments or a
6917 +combination of both.
6918 +.fi
6919 +.SS class ff_layoutupdate4(baseobj.BaseObj)
6920 +.nf
6921 +ff_layoutupdate4(unpack)
6922 +
6923 +struct ff_layoutupdate4 {
6924 + netaddr4 addr;
6925 + nfs_fh4 fh;
6926 + ff_io_latency4 read;
6927 + ff_io_latency4 write;
6928 + nfstime4 duration;
6929 + bool local;
6930 +};
6931 +
6932 +.P
6933 +.B Methods defined here:
6934 +---------------------
6935 +.P
6936 +.B __init__(self, unpack)
6937 +Constructor
6938 +
6939 +Initialize object's private data according to the arguments given.
6940 +Arguments can be given as positional, named arguments or a
6941 +combination of both.
6942 +.fi
6943 +.SS class ff_mirror4(baseobj.BaseObj)
6944 +.nf
6945 +ff_mirror4(unpack)
6946 +
6947 +struct ff_mirror4 {
6948 + ff_data_server4 data_servers<>;
6949 +};
6950 +
6951 +.P
6952 +.B Methods defined here:
6953 +---------------------
6954 +.P
6955 +.B __init__(self, unpack)
6956 +Constructor
6957 +
6958 +Initialize object's private data according to the arguments given.
6959 +Arguments can be given as positional, named arguments or a
6960 +combination of both.
6961 +.fi
6962 +.SS class ff_mirrors_hint(baseobj.BaseObj)
6963 +.nf
6964 +ff_mirrors_hint(unpack)
6965 +
6966 +union switch ff_mirrors_hint (bool valid) {
6967 + case const.TRUE:
6968 + uint32_t mirrors;
6969 + case const.FALSE:
6970 + void;
6971 +};
6972 +
6973 +.P
6974 +.B Methods defined here:
6975 +---------------------
6976 +.P
6977 +.B __init__(self, unpack)
6978 +Constructor
6979 +
6980 +Initialize object's private data according to the arguments given.
6981 +Arguments can be given as positional, named arguments or a
6982 +combination of both.
6983 +.fi
6984 +.SS class filelayout_hint_care4(packet.utils.Enum)
6985 +.nf
6986 +filelayout_hint_care4(unpack)
6987 +
6988 +enum filelayout_hint_care4
6989 +
6990 +.fi
6991 +.SS class fs4_status(baseobj.BaseObj)
6992 +.nf
6993 +fs4_status(unpack)
6994 +
6995 +struct fs4_status {
6996 + bool absent;
6997 + fs4_status_type type;
6998 + utf8str_cs source;
6999 + utf8str_cs current;
7000 + int32_t age;
7001 + nfstime4 version;
7002 +};
7003 +
7004 +.P
7005 +.B Methods defined here:
7006 +---------------------
7007 +.P
7008 +.B __init__(self, unpack)
7009 +Constructor
7010 +
7011 +Initialize object's private data according to the arguments given.
7012 +Arguments can be given as positional, named arguments or a
7013 +combination of both.
7014 +.fi
7015 +.SS class fs4_status_type(packet.utils.Enum)
7016 +.nf
7017 +fs4_status_type(unpack)
7018 +
7019 +enum fs4_status_type
7020 +
7021 +.fi
7022 +.SS class fs_location4(baseobj.BaseObj)
7023 +.nf
7024 +fs_location4(unpack)
7025 +
7026 +struct fs_location4 {
7027 + utf8str_cis server<>;
7028 + pathname4 root;
7029 +};
7030 +
7031 +.P
7032 +.B Methods defined here:
7033 +---------------------
7034 +.P
7035 +.B __init__(self, unpack)
7036 +Constructor
7037 +
7038 +Initialize object's private data according to the arguments given.
7039 +Arguments can be given as positional, named arguments or a
7040 +combination of both.
7041 +.fi
7042 +.SS class fs_locations4(baseobj.BaseObj)
7043 +.nf
7044 +fs_locations4(unpack)
7045 +
7046 +struct fs_locations4 {
7047 + pathname4 root;
7048 + fs_location4 locations<>;
7049 +};
7050 +
7051 +.P
7052 +.B Methods defined here:
7053 +---------------------
7054 +.P
7055 +.B __init__(self, unpack)
7056 +Constructor
7057 +
7058 +Initialize object's private data according to the arguments given.
7059 +Arguments can be given as positional, named arguments or a
7060 +combination of both.
7061 +.fi
7062 +.SS class fs_locations_info4(baseobj.BaseObj)
7063 +.nf
7064 +fs_locations_info4(unpack)
7065 +
7066 +struct fs_locations_info4 {
7067 + uint32_t flags;
7068 + int32_t valid_for;
7069 + pathname4 root;
7070 + fs_locations_item4 items<>;
7071 +};
7072 +
7073 +.P
7074 +.B Methods defined here:
7075 +---------------------
7076 +.P
7077 +.B __init__(self, unpack)
7078 +Constructor
7079 +
7080 +Initialize object's private data according to the arguments given.
7081 +Arguments can be given as positional, named arguments or a
7082 +combination of both.
7083 +.fi
7084 +.SS class fs_locations_item4(baseobj.BaseObj)
7085 +.nf
7086 +fs_locations_item4(unpack)
7087 +
7088 +struct fs_locations_item4 {
7089 + fs_locations_server4 entries<>;
7090 + pathname4 root;
7091 +};
7092 +
7093 +.P
7094 +.B Methods defined here:
7095 +---------------------
7096 +.P
7097 +.B __init__(self, unpack)
7098 +Constructor
7099 +
7100 +Initialize object's private data according to the arguments given.
7101 +Arguments can be given as positional, named arguments or a
7102 +combination of both.
7103 +.fi
7104 +.SS class fs_locations_server4(baseobj.BaseObj)
7105 +.nf
7106 +fs_locations_server4(unpack)
7107 +
7108 +struct fs_locations_server4 {
7109 + int32_t currency;
7110 + opaque info<>;
7111 + utf8str_cis server;
7112 +};
7113 +
7114 +.P
7115 +.B Methods defined here:
7116 +---------------------
7117 +.P
7118 +.B __init__(self, unpack)
7119 +Constructor
7120 +
7121 +Initialize object's private data according to the arguments given.
7122 +Arguments can be given as positional, named arguments or a
7123 +combination of both.
7124 +.fi
7125 +.SS class fsid4(baseobj.BaseObj)
7126 +.nf
7127 +fsid4(unpack)
7128 +
7129 +struct fsid4 {
7130 + uint64_t major;
7131 + uint64_t minor;
7132 +};
7133 +
7134 +.P
7135 +.B Methods defined here:
7136 +---------------------
7137 +.P
7138 +.B __init__(self, unpack)
7139 +Constructor
7140 +
7141 +Initialize object's private data according to the arguments given.
7142 +Arguments can be given as positional, named arguments or a
7143 +combination of both.
7144 +.fi
7145 +.SS class gddrnf4_status(packet.utils.Enum)
7146 +.nf
7147 +gddrnf4_status(unpack)
7148 +
7149 +enum gddrnf4_status
7150 +
7151 +.fi
7152 +.SS class gss_cb_handles4(baseobj.BaseObj)
7153 +.nf
7154 +gss_cb_handles4(unpack)
7155 +
7156 +struct gss_cb_handles4 {
7157 + rpc_gss_svc_t service; /* RFC 2203 */
7158 + gsshandle4_t server_handle;
7159 + gsshandle4_t client_handle;
7160 +};
7161 +
7162 +.P
7163 +.B Methods defined here:
7164 +---------------------
7165 +.P
7166 +.B __init__(self, unpack)
7167 +Constructor
7168 +
7169 +Initialize object's private data according to the arguments given.
7170 +Arguments can be given as positional, named arguments or a
7171 +combination of both.
7172 +.fi
7173 +.SS class io_info4(baseobj.BaseObj)
7174 +.nf
7175 +io_info4(unpack)
7176 +
7177 +struct io_info4 {
7178 + uint64_t count;
7179 + uint64_t bytes;
7180 +};
7181 +
7182 +.P
7183 +.B Methods defined here:
7184 +---------------------
7185 +.P
7186 +.B __init__(self, unpack)
7187 +Constructor
7188 +
7189 +Initialize object's private data according to the arguments given.
7190 +Arguments can be given as positional, named arguments or a
7191 +combination of both.
7192 +.fi
7193 +.SS class labelformat_spec4(baseobj.BaseObj)
7194 +.nf
7195 +labelformat_spec4(unpack)
7196 +
7197 +struct labelformat_spec4 {
7198 + policy4 lfs;
7199 + policy4 pi;
7200 +};
7201 +
7202 +.P
7203 +.B Methods defined here:
7204 +---------------------
7205 +.P
7206 +.B __init__(self, unpack)
7207 +Constructor
7208 +
7209 +Initialize object's private data according to the arguments given.
7210 +Arguments can be given as positional, named arguments or a
7211 +combination of both.
7212 +.fi
7213 +.SS class layout4(baseobj.BaseObj)
7214 +.nf
7215 +layout4(unpack)
7216 +
7217 +struct layout4 {
7218 + offset4 offset;
7219 + length4 length;
7220 + layoutiomode4 iomode;
7221 + layout_content4 content;
7222 +};
7223 +
7224 +.P
7225 +.B Methods defined here:
7226 +---------------------
7227 +.P
7228 +.B __init__(self, unpack)
7229 +Constructor
7230 +
7231 +Initialize object's private data according to the arguments given.
7232 +Arguments can be given as positional, named arguments or a
7233 +combination of both.
7234 +.fi
7235 +.SS class layout_content4(baseobj.BaseObj)
7236 +.nf
7237 +layout_content4(unpack)
7238 +
7239 +union switch layout_content4 (layouttype4 type) {
7240 + case const.LAYOUT4_NFSV4_1_FILES:
7241 + nfsv4_1_file_layout4 body;
7242 + case const.LAYOUT4_FLEX_FILES:
7243 + ff_layout4 body;
7244 + default:
7245 + /* All other types are not supported yet */
7246 + opaque body<>;
7247 +};
7248 +
7249 +.P
7250 +.B Methods defined here:
7251 +---------------------
7252 +.P
7253 +.B __init__(self, unpack)
7254 +Constructor
7255 +
7256 +Initialize object's private data according to the arguments given.
7257 +Arguments can be given as positional, named arguments or a
7258 +combination of both.
7259 +.fi
7260 +.SS class layouthint4(baseobj.BaseObj)
7261 +.nf
7262 +layouthint4(unpack)
7263 +
7264 +union switch layouthint4 (layouttype4 type) {
7265 + case const.LAYOUT4_NFSV4_1_FILES:
7266 + nfsv4_1_file_layouthint4 body;
7267 + case const.LAYOUT4_FLEX_FILES:
7268 + ff_layouthint4 body;
7269 + default:
7270 + /* All other types are not supported yet */
7271 + opaque body<>;
7272 +};
7273 +
7274 +.P
7275 +.B Methods defined here:
7276 +---------------------
7277 +.P
7278 +.B __init__(self, unpack)
7279 +Constructor
7280 +
7281 +Initialize object's private data according to the arguments given.
7282 +Arguments can be given as positional, named arguments or a
7283 +combination of both.
7284 +.fi
7285 +.SS class layoutiomode4(packet.utils.Enum)
7286 +.nf
7287 +layoutiomode4(unpack)
7288 +
7289 +enum layoutiomode4
7290 +
7291 +.fi
7292 +.SS class layoutrecall4(baseobj.BaseObj)
7293 +.nf
7294 +layoutrecall4(unpack)
7295 +
7296 +union switch layoutrecall4 (layoutrecall_type4 recalltype) {
7297 + case const.LAYOUTRECALL4_FILE:
7298 + layoutrecall_file4 layout;
7299 + case const.LAYOUTRECALL4_FSID:
7300 + fsid4 fsid;
7301 + case const.LAYOUTRECALL4_ALL:
7302 + void;
7303 +};
7304 +
7305 +.P
7306 +.B Methods defined here:
7307 +---------------------
7308 +.P
7309 +.B __init__(self, unpack)
7310 +Constructor
7311 +
7312 +Initialize object's private data according to the arguments given.
7313 +Arguments can be given as positional, named arguments or a
7314 +combination of both.
7315 +.fi
7316 +.SS class layoutrecall_file4(baseobj.BaseObj)
7317 +.nf
7318 +layoutrecall_file4(unpack)
7319 +
7320 +struct layoutrecall_file4 {
7321 + nfs_fh4 fh;
7322 + offset4 offset;
7323 + length4 length;
7324 + stateid4 stateid;
7325 +};
7326 +
7327 +.P
7328 +.B Methods defined here:
7329 +---------------------
7330 +.P
7331 +.B __init__(self, unpack)
7332 +Constructor
7333 +
7334 +Initialize object's private data according to the arguments given.
7335 +Arguments can be given as positional, named arguments or a
7336 +combination of both.
7337 +.fi
7338 +.SS class layoutrecall_type4(packet.utils.Enum)
7339 +.nf
7340 +layoutrecall_type4(unpack)
7341 +
7342 +enum layoutrecall_type4
7343 +
7344 +.fi
7345 +.SS class layoutreturn4(baseobj.BaseObj)
7346 +.nf
7347 +layoutreturn4(unpack)
7348 +
7349 +union switch layoutreturn4 (layoutreturn_type4 returntype) {
7350 + case const.LAYOUTRETURN4_FILE:
7351 + layoutreturn_file4 layout;
7352 + default:
7353 + void;
7354 +};
7355 +
7356 +.P
7357 +.B Methods defined here:
7358 +---------------------
7359 +.P
7360 +.B __init__(self, unpack)
7361 +Constructor
7362 +
7363 +Initialize object's private data according to the arguments given.
7364 +Arguments can be given as positional, named arguments or a
7365 +combination of both.
7366 +.fi
7367 +.SS class layoutreturn_file4(baseobj.BaseObj)
7368 +.nf
7369 +layoutreturn_file4(unpack)
7370 +
7371 +struct layoutreturn_file4 {
7372 + offset4 offset;
7373 + length4 length;
7374 + stateid4 stateid;
7375 + /* layouttype4 specific data */
7376 + layoutreturn_file_body4 data;
7377 +};
7378 +
7379 +.P
7380 +.B Methods defined here:
7381 +---------------------
7382 +.P
7383 +.B __init__(self, unpack)
7384 +Constructor
7385 +
7386 +Initialize object's private data according to the arguments given.
7387 +Arguments can be given as positional, named arguments or a
7388 +combination of both.
7389 +.fi
7390 +.SS class layoutreturn_file_body4(baseobj.BaseObj)
7391 +.nf
7392 +layoutreturn_file_body4(unpack)
7393 +
7394 +union switch layoutreturn_file_body4 (layouttype4 nfs4_layouttype) {
7395 + case const.LAYOUT4_FLEX_FILES:
7396 + ff_layoutreturn4 body;
7397 + default:
7398 + /* All other types are not supported yet or not used */
7399 + opaque body<>;
7400 +};
7401 +
7402 +.P
7403 +.B Methods defined here:
7404 +---------------------
7405 +.P
7406 +.B __init__(self, unpack)
7407 +Constructor
7408 +
7409 +Initialize object's private data according to the arguments given.
7410 +Arguments can be given as positional, named arguments or a
7411 +combination of both.
7412 +.fi
7413 +.SS class layoutreturn_stateid(baseobj.BaseObj)
7414 +.nf
7415 +layoutreturn_stateid(unpack)
7416 +
7417 +union switch layoutreturn_stateid (bool present) {
7418 + case const.TRUE:
7419 + stateid4 stateid;
7420 + case const.FALSE:
7421 + void;
7422 +};
7423 +
7424 +.P
7425 +.B Methods defined here:
7426 +---------------------
7427 +.P
7428 +.B __init__(self, unpack)
7429 +Constructor
7430 +
7431 +Initialize object's private data according to the arguments given.
7432 +Arguments can be given as positional, named arguments or a
7433 +combination of both.
7434 +.fi
7435 +.SS class layoutreturn_type4(packet.utils.Enum)
7436 +.nf
7437 +layoutreturn_type4(unpack)
7438 +
7439 +enum layoutreturn_type4
7440 +
7441 +.fi
7442 +.SS class layouttype4(packet.utils.Enum)
7443 +.nf
7444 +layouttype4(unpack)
7445 +
7446 +enum layouttype4
7447 +
7448 +.fi
7449 +.SS class layoutupdate4(baseobj.BaseObj)
7450 +.nf
7451 +layoutupdate4(unpack)
7452 +
7453 +struct layoutupdate4 {
7454 + layouttype4 type;
7455 + opaque body<>;
7456 +};
7457 +
7458 +.P
7459 +.B Methods defined here:
7460 +---------------------
7461 +.P
7462 +.B __init__(self, unpack)
7463 +Constructor
7464 +
7465 +Initialize object's private data according to the arguments given.
7466 +Arguments can be given as positional, named arguments or a
7467 +combination of both.
7468 +.fi
7469 +.SS class limit_by4(packet.utils.Enum)
7470 +.nf
7471 +limit_by4(unpack)
7472 +
7473 +enum limit_by4
7474 +
7475 +.fi
7476 +.SS class lock_owner4(baseobj.BaseObj)
7477 +.nf
7478 +lock_owner4 = class state_owner4(baseobj.BaseObj)
7479 +.fi
7480 +.SS class locker4(baseobj.BaseObj)
7481 +.nf
7482 +locker4(unpack)
7483 +
7484 +union switch locker4 (bool new_lock_owner) {
7485 + case const.TRUE:
7486 + open_to_lock_owner4 open_owner;
7487 + case const.FALSE:
7488 + exist_lock_owner4 lock_owner;
7489 +};
7490 +
7491 +.P
7492 +.B Methods defined here:
7493 +---------------------
7494 +.P
7495 +.B __init__(self, unpack)
7496 +Constructor
7497 +
7498 +Initialize object's private data according to the arguments given.
7499 +Arguments can be given as positional, named arguments or a
7500 +combination of both.
7501 +.fi
7502 +.SS class mdsthreshold4(baseobj.BaseObj)
7503 +.nf
7504 +mdsthreshold4(unpack)
7505 +
7506 +struct mdsthreshold4 {
7507 + threshold_item4 hints<>;
7508 +};
7509 +
7510 +.P
7511 +.B Methods defined here:
7512 +---------------------
7513 +.P
7514 +.B __init__(self, unpack)
7515 +Constructor
7516 +
7517 +Initialize object's private data according to the arguments given.
7518 +Arguments can be given as positional, named arguments or a
7519 +combination of both.
7520 +.fi
7521 +.SS class mode_masked4(baseobj.BaseObj)
7522 +.nf
7523 +mode_masked4(unpack)
7524 +
7525 +struct mode_masked4 {
7526 + mode4 values; /* Values of bits to set or reset in mode. */
7527 + mode4 mask; /* Mask of bits to set or reset in mode. */
7528 +};
7529 +
7530 +.P
7531 +.B Methods defined here:
7532 +---------------------
7533 +.P
7534 +.B __init__(self, unpack)
7535 +Constructor
7536 +
7537 +Initialize object's private data according to the arguments given.
7538 +Arguments can be given as positional, named arguments or a
7539 +combination of both.
7540 +.fi
7541 +.SS class mode_umask4(baseobj.BaseObj)
7542 +.nf
7543 +mode_umask4(unpack)
7544 +
7545 +struct mode_umask4 {
7546 + mode4 mode;
7547 + mode4 umask;
7548 +};
7549 +
7550 +.P
7551 +.B Methods defined here:
7552 +---------------------
7553 +.P
7554 +.B __init__(self, unpack)
7555 +Constructor
7556 +
7557 +Initialize object's private data according to the arguments given.
7558 +Arguments can be given as positional, named arguments or a
7559 +combination of both.
7560 +.fi
7561 +.SS class netaddr4(baseobj.BaseObj)
7562 +.nf
7563 +netaddr4 = class clientaddr4(baseobj.BaseObj)
7564 +.fi
7565 +.SS class netloc4(baseobj.BaseObj)
7566 +.nf
7567 +netloc4(unpack)
7568 +
7569 +union switch netloc4 (netloc_type4 type) {
7570 + case const.NL4_NAME:
7571 + utf8str_cis name;
7572 + case const.NL4_URL:
7573 + utf8str_cis url;
7574 + case const.NL4_NETADDR:
7575 + netaddr4 addr;
7576 +};
7577 +
7578 +.P
7579 +.B Methods defined here:
7580 +---------------------
7581 +.P
7582 +.B __init__(self, unpack)
7583 +Constructor
7584 +
7585 +Initialize object's private data according to the arguments given.
7586 +Arguments can be given as positional, named arguments or a
7587 +combination of both.
7588 +.fi
7589 +.SS class netloc_type4(packet.utils.Enum)
7590 +.nf
7591 +netloc_type4(unpack)
7592 +
7593 +enum netloc_type4
7594 +
7595 +.fi
7596 +.SS class newoffset4(baseobj.BaseObj)
7597 +.nf
7598 +newoffset4(unpack)
7599 +
7600 +union switch newoffset4 (bool newoffset) {
7601 + case const.TRUE:
7602 + offset4 offset;
7603 + case const.FALSE:
7604 + void;
7605 +};
7606 +
7607 +.P
7608 +.B Methods defined here:
7609 +---------------------
7610 +.P
7611 +.B __init__(self, unpack)
7612 +Constructor
7613 +
7614 +Initialize object's private data according to the arguments given.
7615 +Arguments can be given as positional, named arguments or a
7616 +combination of both.
7617 +.fi
7618 +.SS class newsize4(baseobj.BaseObj)
7619 +.nf
7620 +newsize4(unpack)
7621 +
7622 +union switch newsize4 (bool sizechanged) {
7623 + case const.TRUE:
7624 + length4 size;
7625 + case const.FALSE:
7626 + void;
7627 +};
7628 +
7629 +.P
7630 +.B Methods defined here:
7631 +---------------------
7632 +.P
7633 +.B __init__(self, unpack)
7634 +Constructor
7635 +
7636 +Initialize object's private data according to the arguments given.
7637 +Arguments can be given as positional, named arguments or a
7638 +combination of both.
7639 +.fi
7640 +.SS class newtime4(baseobj.BaseObj)
7641 +.nf
7642 +newtime4(unpack)
7643 +
7644 +union switch newtime4 (bool timechanged) {
7645 + case const.TRUE:
7646 + nfstime4 time;
7647 + case const.FALSE:
7648 + void;
7649 +};
7650 +
7651 +.P
7652 +.B Methods defined here:
7653 +---------------------
7654 +.P
7655 +.B __init__(self, unpack)
7656 +Constructor
7657 +
7658 +Initialize object's private data according to the arguments given.
7659 +Arguments can be given as positional, named arguments or a
7660 +combination of both.
7661 +.fi
7662 +.SS class nfs_argop4(baseobj.BaseObj)
7663 +.nf
7664 +nfs_argop4(unpack)
7665 +
7666 +union switch nfs_argop4 (nfs_opnum4 argop) {
7667 + case const.OP_ACCESS:
7668 + ACCESS4args opaccess;
7669 + case const.OP_CLOSE:
7670 + CLOSE4args opclose;
7671 + case const.OP_COMMIT:
7672 + COMMIT4args opcommit;
7673 + case const.OP_CREATE:
7674 + CREATE4args opcreate;
7675 + case const.OP_DELEGPURGE:
7676 + DELEGPURGE4args opdelegpurge;
7677 + case const.OP_DELEGRETURN:
7678 + DELEGRETURN4args opdelegreturn;
7679 + case const.OP_GETATTR:
7680 + GETATTR4args opgetattr;
7681 + case const.OP_GETFH:
7682 + void;
7683 + case const.OP_LINK:
7684 + LINK4args oplink;
7685 + case const.OP_LOCK:
7686 + LOCK4args oplock;
7687 + case const.OP_LOCKT:
7688 + LOCKT4args oplockt;
7689 + case const.OP_LOCKU:
7690 + LOCKU4args oplocku;
7691 + case const.OP_LOOKUP:
7692 + LOOKUP4args oplookup;
7693 + case const.OP_LOOKUPP:
7694 + void;
7695 + case const.OP_NVERIFY:
7696 + NVERIFY4args opnverify;
7697 + case const.OP_OPEN:
7698 + OPEN4args opopen;
7699 + case const.OP_OPENATTR:
7700 + OPENATTR4args opopenattr;
7701 + case const.OP_OPEN_CONFIRM:
7702 + /* Not used in NFSv4.1 */
7703 + OPEN_CONFIRM4args opopen_confirm;
7704 + case const.OP_OPEN_DOWNGRADE:
7705 + OPEN_DOWNGRADE4args opopen_downgrade;
7706 + case const.OP_PUTFH:
7707 + PUTFH4args opputfh;
7708 + case const.OP_PUTPUBFH:
7709 + void;
7710 + case const.OP_PUTROOTFH:
7711 + void;
7712 + case const.OP_READ:
7713 + READ4args opread;
7714 + case const.OP_READDIR:
7715 + READDIR4args opreaddir;
7716 + case const.OP_READLINK:
7717 + void;
7718 + case const.OP_REMOVE:
7719 + REMOVE4args opremove;
7720 + case const.OP_RENAME:
7721 + RENAME4args oprename;
7722 + case const.OP_RENEW:
7723 + /* Not used in NFSv4.1 */
7724 + RENEW4args oprenew;
7725 + case const.OP_RESTOREFH:
7726 + void;
7727 + case const.OP_SAVEFH:
7728 + void;
7729 + case const.OP_SECINFO:
7730 + SECINFO4args opsecinfo;
7731 + case const.OP_SETATTR:
7732 + SETATTR4args opsetattr;
7733 + case const.OP_SETCLIENTID:
7734 + /* Not used in NFSv4.1 */
7735 + SETCLIENTID4args opsetclientid;
7736 + case const.OP_SETCLIENTID_CONFIRM:
7737 + /* Not used in NFSv4.1 */
7738 + SETCLIENTID_CONFIRM4args opsetclientid_confirm;
7739 + case const.OP_VERIFY:
7740 + VERIFY4args opverify;
7741 + case const.OP_WRITE:
7742 + WRITE4args opwrite;
7743 + case const.OP_RELEASE_LOCKOWNER:
7744 + /* Not used in NFSv4.1 */
7745 + RELEASE_LOCKOWNER4args oprelease_lockowner;
7746 + /*
7747 + * New to NFSv4.1
7748 + */
7749 + case const.OP_BACKCHANNEL_CTL:
7750 + BACKCHANNEL_CTL4args opbackchannel_ctl;
7751 + case const.OP_BIND_CONN_TO_SESSION:
7752 + BIND_CONN_TO_SESSION4args opbind_conn_to_session;
7753 + case const.OP_EXCHANGE_ID:
7754 + EXCHANGE_ID4args opexchange_id;
7755 + case const.OP_CREATE_SESSION:
7756 + CREATE_SESSION4args opcreate_session;
7757 + case const.OP_DESTROY_SESSION:
7758 + DESTROY_SESSION4args opdestroy_session;
7759 + case const.OP_FREE_STATEID:
7760 + FREE_STATEID4args opfree_stateid;
7761 + case const.OP_GET_DIR_DELEGATION:
7762 + GET_DIR_DELEGATION4args opget_dir_delegation;
7763 + case const.OP_GETDEVICEINFO:
7764 + GETDEVICEINFO4args opgetdeviceinfo;
7765 + case const.OP_GETDEVICELIST:
7766 + /* Not used in NFSv4.2 */
7767 + GETDEVICELIST4args opgetdevicelist;
7768 + case const.OP_LAYOUTCOMMIT:
7769 + LAYOUTCOMMIT4args oplayoutcommit;
7770 + case const.OP_LAYOUTGET:
7771 + LAYOUTGET4args oplayoutget;
7772 + case const.OP_LAYOUTRETURN:
7773 + LAYOUTRETURN4args oplayoutreturn;
7774 + case const.OP_SECINFO_NO_NAME:
7775 + SECINFO_NO_NAME4args opsecinfo_no_name;
7776 + case const.OP_SEQUENCE:
7777 + SEQUENCE4args opsequence;
7778 + case const.OP_SET_SSV:
7779 + SET_SSV4args opset_ssv;
7780 + case const.OP_TEST_STATEID:
7781 + TEST_STATEID4args optest_stateid;
7782 + case const.OP_WANT_DELEGATION:
7783 + WANT_DELEGATION4args opwant_delegation;
7784 + case const.OP_DESTROY_CLIENTID:
7785 + DESTROY_CLIENTID4args opdestroy_clientid;
7786 + case const.OP_RECLAIM_COMPLETE:
7787 + RECLAIM_COMPLETE4args opreclaim_complete;
7788 + /*
7789 + * New to NFSv4.2
7790 + */
7791 + case const.OP_ALLOCATE:
7792 + ALLOCATE4args opallocate;
7793 + case const.OP_COPY:
7794 + COPY4args opcopy;
7795 + case const.OP_COPY_NOTIFY:
7796 + COPY_NOTIFY4args opcopy_notify;
7797 + case const.OP_DEALLOCATE:
7798 + DEALLOCATE4args opdeallocate;
7799 + case const.OP_IO_ADVISE:
7800 + IO_ADVISE4args opio_advise;
7801 + case const.OP_LAYOUTERROR:
7802 + LAYOUTERROR4args oplayouterror;
7803 + case const.OP_LAYOUTSTATS:
7804 + LAYOUTSTATS4args oplayoutstats;
7805 + case const.OP_OFFLOAD_CANCEL:
7806 + OFFLOAD_CANCEL4args opoffload_cancel;
7807 + case const.OP_OFFLOAD_STATUS:
7808 + OFFLOAD_STATUS4args opoffload_status;
7809 + case const.OP_READ_PLUS:
7810 + READ_PLUS4args opread_plus;
7811 + case const.OP_SEEK:
7812 + SEEK4args opseek;
7813 + case const.OP_WRITE_SAME:
7814 + WRITE_SAME4args opwrite_same;
7815 + case const.OP_CLONE:
7816 + CLONE4args opclone;
7817 + /*
7818 + * RFC 8276
7819 + */
7820 + case const.OP_GETXATTR:
7821 + GETXATTR4args opgetxattr;
7822 + case const.OP_SETXATTR:
7823 + SETXATTR4args opsetxattr;
7824 + case const.OP_LISTXATTRS:
7825 + LISTXATTRS4args oplistxattrs;
7826 + case const.OP_REMOVEXATTR:
7827 + REMOVEXATTR4args opremovexattr;
7828 + case const.OP_ILLEGAL:
7829 + /* Illegal operation */
7830 + void;
7831 +};
7832 +
7833 +.P
7834 +.B Methods defined here:
7835 +---------------------
7836 +.P
7837 +.B __init__(self, unpack)
7838 +Constructor
7839 +
7840 +Initialize object's private data according to the arguments given.
7841 +Arguments can be given as positional, named arguments or a
7842 +combination of both.
7843 +.fi
7844 +.SS class nfs_bool(packet.utils.Enum)
7845 +.nf
7846 +nfs_bool(unpack)
7847 +
7848 +enum nfs_bool
7849 +
7850 +.fi
7851 +.SS class nfs_cb_argop4(baseobj.BaseObj)
7852 +.nf
7853 +nfs_cb_argop4(unpack)
7854 +
7855 +union switch nfs_cb_argop4 (nfs_cb_opnum4 argop) {
7856 + case const.OP_CB_GETATTR:
7857 + CB_GETATTR4args opcbgetattr;
7858 + case const.OP_CB_RECALL:
7859 + CB_RECALL4args opcbrecall;
7860 + /*
7861 + * New to NFSv4.1
7862 + */
7863 + case const.OP_CB_LAYOUTRECALL:
7864 + CB_LAYOUTRECALL4args opcblayoutrecall;
7865 + case const.OP_CB_NOTIFY:
7866 + CB_NOTIFY4args opcbnotify;
7867 + case const.OP_CB_PUSH_DELEG:
7868 + CB_PUSH_DELEG4args opcbpush_deleg;
7869 + case const.OP_CB_RECALL_ANY:
7870 + CB_RECALL_ANY4args opcbrecall_any;
7871 + case const.OP_CB_RECALLABLE_OBJ_AVAIL:
7872 + CB_RECALLABLE_OBJ_AVAIL4args opcbrecallable_obj_avail;
7873 + case const.OP_CB_RECALL_SLOT:
7874 + CB_RECALL_SLOT4args opcbrecall_slot;
7875 + case const.OP_CB_SEQUENCE:
7876 + CB_SEQUENCE4args opcbsequence;
7877 + case const.OP_CB_WANTS_CANCELLED:
7878 + CB_WANTS_CANCELLED4args opcbwants_cancelled;
7879 + case const.OP_CB_NOTIFY_LOCK:
7880 + CB_NOTIFY_LOCK4args opcbnotify_lock;
7881 + case const.OP_CB_NOTIFY_DEVICEID:
7882 + CB_NOTIFY_DEVICEID4args opcbnotify_deviceid;
7883 + /*
7884 + * New to NFSv4.2
7885 + */
7886 + case const.OP_CB_OFFLOAD:
7887 + CB_OFFLOAD4args opcboffload;
7888 + case const.OP_CB_ILLEGAL:
7889 + /* Illegal callback operation */
7890 + void;
7891 +};
7892 +
7893 +.P
7894 +.B Methods defined here:
7895 +---------------------
7896 +.P
7897 +.B __init__(self, unpack)
7898 +Constructor
7899 +
7900 +Initialize object's private data according to the arguments given.
7901 +Arguments can be given as positional, named arguments or a
7902 +combination of both.
7903 +.fi
7904 +.SS class nfs_cb_opnum4(packet.utils.Enum)
7905 +.nf
7906 +nfs_cb_opnum4(unpack)
7907 +
7908 +enum nfs_cb_opnum4
7909 +
7910 +.fi
7911 +.SS class nfs_cb_resop4(baseobj.BaseObj)
7912 +.nf
7913 +nfs_cb_resop4(unpack)
7914 +
7915 +union switch nfs_cb_resop4 (nfs_cb_opnum4 resop) {
7916 + case const.OP_CB_GETATTR:
7917 + CB_GETATTR4res opcbgetattr;
7918 + case const.OP_CB_RECALL:
7919 + CB_RECALL4res opcbrecall;
7920 + /*
7921 + * New to NFSv4.1
7922 + */
7923 + case const.OP_CB_LAYOUTRECALL:
7924 + CB_LAYOUTRECALL4res opcblayoutrecall;
7925 + case const.OP_CB_NOTIFY:
7926 + CB_NOTIFY4res opcbnotify;
7927 + case const.OP_CB_PUSH_DELEG:
7928 + CB_PUSH_DELEG4res opcbpush_deleg;
7929 + case const.OP_CB_RECALL_ANY:
7930 + CB_RECALL_ANY4res opcbrecall_any;
7931 + case const.OP_CB_RECALLABLE_OBJ_AVAIL:
7932 + CB_RECALLABLE_OBJ_AVAIL4res opcbrecallable_obj_avail;
7933 + case const.OP_CB_RECALL_SLOT:
7934 + CB_RECALL_SLOT4res opcbrecall_slot;
7935 + case const.OP_CB_SEQUENCE:
7936 + CB_SEQUENCE4res opcbsequence;
7937 + case const.OP_CB_WANTS_CANCELLED:
7938 + CB_WANTS_CANCELLED4res opcbwants_cancelled;
7939 + case const.OP_CB_NOTIFY_LOCK:
7940 + CB_NOTIFY_LOCK4res opcbnotify_lock;
7941 + case const.OP_CB_NOTIFY_DEVICEID:
7942 + CB_NOTIFY_DEVICEID4res opcbnotify_deviceid;
7943 + /*
7944 + * New to NFSv4.2
7945 + */
7946 + case const.OP_CB_OFFLOAD:
7947 + CB_OFFLOAD4res opcboffload;
7948 + case const.OP_CB_ILLEGAL:
7949 + /* Illegal callback operation */
7950 + CB_ILLEGAL4res opcbillegal;
7951 +};
7952 +
7953 +.P
7954 +.B Methods defined here:
7955 +---------------------
7956 +.P
7957 +.B __init__(self, unpack)
7958 +Constructor
7959 +
7960 +Initialize object's private data according to the arguments given.
7961 +Arguments can be given as positional, named arguments or a
7962 +combination of both.
7963 +.fi
7964 +.SS class nfs_client_id4(baseobj.BaseObj)
7965 +.nf
7966 +nfs_client_id4(unpack)
7967 +
7968 +struct nfs_client_id4 {
7969 + verifier4 verifier;
7970 + opaque id<NFS4_OPAQUE_LIMIT>;
7971 +};
7972 +
7973 +.P
7974 +.B Methods defined here:
7975 +---------------------
7976 +.P
7977 +.B __init__(self, unpack)
7978 +Constructor
7979 +
7980 +Initialize object's private data according to the arguments given.
7981 +Arguments can be given as positional, named arguments or a
7982 +combination of both.
7983 +.fi
7984 +.SS class nfs_fattr4(packet.utils.Enum)
7985 +.nf
7986 +nfs_fattr4(unpack)
7987 +
7988 +enum nfs_fattr4
7989 +
7990 +.fi
7991 +.SS class nfs_ftype4(packet.utils.Enum)
7992 +.nf
7993 +nfs_ftype4(unpack)
7994 +
7995 +enum nfs_ftype4
7996 +
7997 +.fi
7998 +.SS class nfs_impl_id4(baseobj.BaseObj)
7999 +.nf
8000 +nfs_impl_id4(unpack)
8001 +
8002 +struct nfs_impl_id4 {
8003 + utf8str_cis domain;
8004 + utf8str_cs name;
8005 + nfstime4 date;
8006 +};
8007 +
8008 +.P
8009 +.B Methods defined here:
8010 +---------------------
8011 +.P
8012 +.B __init__(self, unpack)
8013 +Constructor
8014 +
8015 +Initialize object's private data according to the arguments given.
8016 +Arguments can be given as positional, named arguments or a
8017 +combination of both.
8018 +.fi
8019 +.SS class nfs_lock_type4(packet.utils.Enum)
8020 +.nf
8021 +nfs_lock_type4(unpack)
8022 +
8023 +enum nfs_lock_type4
8024 +
8025 +.fi
8026 +.SS class nfs_modified_limit4(baseobj.BaseObj)
8027 +.nf
8028 +nfs_modified_limit4(unpack)
8029 +
8030 +struct nfs_modified_limit4 {
8031 + uint32_t num_blocks;
8032 + uint32_t bytes_per_block;
8033 +};
8034 +
8035 +.P
8036 +.B Methods defined here:
8037 +---------------------
8038 +.P
8039 +.B __init__(self, unpack)
8040 +Constructor
8041 +
8042 +Initialize object's private data according to the arguments given.
8043 +Arguments can be given as positional, named arguments or a
8044 +combination of both.
8045 +.fi
8046 +.SS class nfs_opnum4(packet.utils.Enum)
8047 +.nf
8048 +nfs_opnum4(unpack)
8049 +
8050 +enum nfs_opnum4
8051 +
8052 +.fi
8053 +.SS class nfs_resop4(baseobj.BaseObj)
8054 +.nf
8055 +nfs_resop4(unpack)
8056 +
8057 +union switch nfs_resop4 (nfs_opnum4 resop) {
8058 + case const.OP_ACCESS:
8059 + ACCESS4res opaccess;
8060 + case const.OP_CLOSE:
8061 + CLOSE4res opclose;
8062 + case const.OP_COMMIT:
8063 + COMMIT4res opcommit;
8064 + case const.OP_CREATE:
8065 + CREATE4res opcreate;
8066 + case const.OP_DELEGPURGE:
8067 + DELEGPURGE4res opdelegpurge;
8068 + case const.OP_DELEGRETURN:
8069 + DELEGRETURN4res opdelegreturn;
8070 + case const.OP_GETATTR:
8071 + GETATTR4res opgetattr;
8072 + case const.OP_GETFH:
8073 + GETFH4res opgetfh;
8074 + case const.OP_LINK:
8075 + LINK4res oplink;
8076 + case const.OP_LOCK:
8077 + LOCK4res oplock;
8078 + case const.OP_LOCKT:
8079 + LOCKT4res oplockt;
8080 + case const.OP_LOCKU:
8081 + LOCKU4res oplocku;
8082 + case const.OP_LOOKUP:
8083 + LOOKUP4res oplookup;
8084 + case const.OP_LOOKUPP:
8085 + LOOKUPP4res oplookupp;
8086 + case const.OP_NVERIFY:
8087 + NVERIFY4res opnverify;
8088 + case const.OP_OPEN:
8089 + OPEN4res opopen;
8090 + case const.OP_OPENATTR:
8091 + OPENATTR4res opopenattr;
8092 + case const.OP_OPEN_CONFIRM:
8093 + /* Not used in NFSv4.1 */
8094 + OPEN_CONFIRM4res opopen_confirm;
8095 + case const.OP_OPEN_DOWNGRADE:
8096 + OPEN_DOWNGRADE4res opopen_downgrade;
8097 + case const.OP_PUTFH:
8098 + PUTFH4res opputfh;
8099 + case const.OP_PUTPUBFH:
8100 + PUTPUBFH4res opputpubfh;
8101 + case const.OP_PUTROOTFH:
8102 + PUTROOTFH4res opputrootfh;
8103 + case const.OP_READ:
8104 + READ4res opread;
8105 + case const.OP_READDIR:
8106 + READDIR4res opreaddir;
8107 + case const.OP_READLINK:
8108 + READLINK4res opreadlink;
8109 + case const.OP_REMOVE:
8110 + REMOVE4res opremove;
8111 + case const.OP_RENAME:
8112 + RENAME4res oprename;
8113 + case const.OP_RENEW:
8114 + /* Not used in NFSv4.1 */
8115 + RENEW4res oprenew;
8116 + case const.OP_RESTOREFH:
8117 + RESTOREFH4res oprestorefh;
8118 + case const.OP_SAVEFH:
8119 + SAVEFH4res opsavefh;
8120 + case const.OP_SECINFO:
8121 + SECINFO4res opsecinfo;
8122 + case const.OP_SETATTR:
8123 + SETATTR4res opsetattr;
8124 + case const.OP_SETCLIENTID:
8125 + /* Not used in NFSv4.1 */
8126 + SETCLIENTID4res opsetclientid;
8127 + case const.OP_SETCLIENTID_CONFIRM:
8128 + /* Not used in NFSv4.1 */
8129 + SETCLIENTID_CONFIRM4res opsetclientid_confirm;
8130 + case const.OP_VERIFY:
8131 + VERIFY4res opverify;
8132 + case const.OP_WRITE:
8133 + WRITE4res opwrite;
8134 + case const.OP_RELEASE_LOCKOWNER:
8135 + /* Not used in NFSv4.1 */
8136 + RELEASE_LOCKOWNER4res oprelease_lockowner;
8137 + /*
8138 + * New to NFSv4.1
8139 + */
8140 + case const.OP_BACKCHANNEL_CTL:
8141 + BACKCHANNEL_CTL4res opbackchannel_ctl;
8142 + case const.OP_BIND_CONN_TO_SESSION:
8143 + BIND_CONN_TO_SESSION4res opbind_conn_to_session;
8144 + case const.OP_EXCHANGE_ID:
8145 + EXCHANGE_ID4res opexchange_id;
8146 + case const.OP_CREATE_SESSION:
8147 + CREATE_SESSION4res opcreate_session;
8148 + case const.OP_DESTROY_SESSION:
8149 + DESTROY_SESSION4res opdestroy_session;
8150 + case const.OP_FREE_STATEID:
8151 + FREE_STATEID4res opfree_stateid;
8152 + case const.OP_GET_DIR_DELEGATION:
8153 + GET_DIR_DELEGATION4res opget_dir_delegation;
8154 + case const.OP_GETDEVICEINFO:
8155 + GETDEVICEINFO4res opgetdeviceinfo;
8156 + case const.OP_GETDEVICELIST:
8157 + /* Not used in NFSv4.2 */
8158 + GETDEVICELIST4res opgetdevicelist;
8159 + case const.OP_LAYOUTCOMMIT:
8160 + LAYOUTCOMMIT4res oplayoutcommit;
8161 + case const.OP_LAYOUTGET:
8162 + LAYOUTGET4res oplayoutget;
8163 + case const.OP_LAYOUTRETURN:
8164 + LAYOUTRETURN4res oplayoutreturn;
8165 + case const.OP_SECINFO_NO_NAME:
8166 + SECINFO_NO_NAME4res opsecinfo_no_name;
8167 + case const.OP_SEQUENCE:
8168 + SEQUENCE4res opsequence;
8169 + case const.OP_SET_SSV:
8170 + SET_SSV4res opset_ssv;
8171 + case const.OP_TEST_STATEID:
8172 + TEST_STATEID4res optest_stateid;
8173 + case const.OP_WANT_DELEGATION:
8174 + WANT_DELEGATION4res opwant_delegation;
8175 + case const.OP_DESTROY_CLIENTID:
8176 + DESTROY_CLIENTID4res opdestroy_clientid;
8177 + case const.OP_RECLAIM_COMPLETE:
8178 + RECLAIM_COMPLETE4res opreclaim_complete;
8179 + /*
8180 + * New to NFSv4.2
8181 + */
8182 + case const.OP_ALLOCATE:
8183 + ALLOCATE4res opallocate;
8184 + case const.OP_COPY:
8185 + COPY4res opcopy;
8186 + case const.OP_COPY_NOTIFY:
8187 + COPY_NOTIFY4res opcopy_notify;
8188 + case const.OP_DEALLOCATE:
8189 + DEALLOCATE4res opdeallocate;
8190 + case const.OP_IO_ADVISE:
8191 + IO_ADVISE4res opio_advise;
8192 + case const.OP_LAYOUTERROR:
8193 + LAYOUTERROR4res oplayouterror;
8194 + case const.OP_LAYOUTSTATS:
8195 + LAYOUTSTATS4res oplayoutstats;
8196 + case const.OP_OFFLOAD_CANCEL:
8197 + OFFLOAD_CANCEL4res opoffload_cancel;
8198 + case const.OP_OFFLOAD_STATUS:
8199 + OFFLOAD_STATUS4res opoffload_status;
8200 + case const.OP_READ_PLUS:
8201 + READ_PLUS4res opread_plus;
8202 + case const.OP_SEEK:
8203 + SEEK4res opseek;
8204 + case const.OP_WRITE_SAME:
8205 + WRITE_SAME4res opwrite_same;
8206 + case const.OP_CLONE:
8207 + CLONE4res opclone;
8208 + /*
8209 + * RFC 8276
8210 + */
8211 + case const.OP_GETXATTR:
8212 + GETXATTR4res opgetxattr;
8213 + case const.OP_SETXATTR:
8214 + SETXATTR4res opsetxattr;
8215 + case const.OP_LISTXATTRS:
8216 + LISTXATTRS4res oplistxattrs;
8217 + case const.OP_REMOVEXATTR:
8218 + REMOVEXATTR4res opremovexattr;
8219 + case const.OP_ILLEGAL:
8220 + /* Illegal operation */
8221 + ILLEGAL4res opillegal;
8222 +};
8223 +
8224 +.P
8225 +.B Methods defined here:
8226 +---------------------
8227 +.P
8228 +.B __init__(self, unpack)
8229 +Constructor
8230 +
8231 +Initialize object's private data according to the arguments given.
8232 +Arguments can be given as positional, named arguments or a
8233 +combination of both.
8234 +.fi
8235 +.SS class nfs_secflavor4(packet.utils.Enum)
8236 +.nf
8237 +nfs_secflavor4(unpack)
8238 +
8239 +enum nfs_secflavor4
8240 +
8241 +.fi
8242 +.SS class nfs_space_limit4(baseobj.BaseObj)
8243 +.nf
8244 +nfs_space_limit4(unpack)
8245 +
8246 +union switch nfs_space_limit4 (limit_by4 limitby) {
8247 + /* limit specified as file size */
8248 + case const.NFS_LIMIT_SIZE:
8249 + uint64_t filesize;
8250 + /* limit specified by number of blocks */
8251 + case const.NFS_LIMIT_BLOCKS:
8252 + nfs_modified_limit4 mod_blocks;
8253 +};
8254 +
8255 +.P
8256 +.B Methods defined here:
8257 +---------------------
8258 +.P
8259 +.B __init__(self, unpack)
8260 +Constructor
8261 +
8262 +Initialize object's private data according to the arguments given.
8263 +Arguments can be given as positional, named arguments or a
8264 +combination of both.
8265 +.fi
8266 +.SS class nfsace4(baseobj.BaseObj)
8267 +.nf
8268 +nfsace4(unpack)
8269 +
8270 +struct nfsace4 {
8271 + acetype4 type;
8272 + aceflag4 flag;
8273 + acemask4 mask;
8274 + utf8str_mixed who;
8275 +};
8276 +
8277 +.P
8278 +.B Methods defined here:
8279 +---------------------
8280 +.P
8281 +.B __init__(self, unpack)
8282 +Constructor
8283 +
8284 +Initialize object's private data according to the arguments given.
8285 +Arguments can be given as positional, named arguments or a
8286 +combination of both.
8287 +.fi
8288 +.SS class nfsacl41(baseobj.BaseObj)
8289 +.nf
8290 +nfsacl41(unpack)
8291 +
8292 +struct nfsacl41 {
8293 + aclflag4 flag;
8294 + nfsace4 aces<>;
8295 +};
8296 +
8297 +.P
8298 +.B Methods defined here:
8299 +---------------------
8300 +.P
8301 +.B __init__(self, unpack)
8302 +Constructor
8303 +
8304 +Initialize object's private data according to the arguments given.
8305 +Arguments can be given as positional, named arguments or a
8306 +combination of both.
8307 +.fi
8308 +.SS class nfsstat4(packet.utils.Enum)
8309 +.nf
8310 +nfsstat4(unpack)
8311 +
8312 +enum nfsstat4
8313 +
8314 +.fi
8315 +.SS class nfstime4(baseobj.BaseObj)
8316 +.nf
8317 +nfstime4(unpack)
8318 +
8319 +struct nfstime4 {
8320 + int64_t seconds;
8321 + uint32_t nseconds;
8322 +};
8323 +
8324 +.P
8325 +.B Methods defined here:
8326 +---------------------
8327 +.P
8328 +.B __init__(self, unpack)
8329 +Constructor
8330 +
8331 +Initialize object's private data according to the arguments given.
8332 +Arguments can be given as positional, named arguments or a
8333 +combination of both.
8334 +.fi
8335 +.SS class nfsv4_1_file_layout4(baseobj.BaseObj)
8336 +.nf
8337 +nfsv4_1_file_layout4(unpack)
8338 +
8339 +struct nfsv4_1_file_layout4 {
8340 + uint32_t size; /* opaque size from layout_content4 */
8341 + deviceid4 deviceid;
8342 + nfl_util4 nfl_util;
8343 + uint32_t first_stripe_index;
8344 + offset4 pattern_offset;
8345 + nfs_fh4 fh_list<>;
8346 +};
8347 +
8348 +.P
8349 +.B Methods defined here:
8350 +---------------------
8351 +.P
8352 +.B __init__(self, unpack)
8353 +Constructor
8354 +
8355 +Initialize object's private data according to the arguments given.
8356 +Arguments can be given as positional, named arguments or a
8357 +combination of both.
8358 +.fi
8359 +.SS class nfsv4_1_file_layout_ds_addr4(baseobj.BaseObj)
8360 +.nf
8361 +nfsv4_1_file_layout_ds_addr4(unpack)
8362 +
8363 +struct nfsv4_1_file_layout_ds_addr4 {
8364 + uint32_t size; /* opaque size from device_addr4 */
8365 + uint32_t stripe_indices<>;
8366 + multipath_list4 multipath_ds_list<>;
8367 +};
8368 +
8369 +.P
8370 +.B Methods defined here:
8371 +---------------------
8372 +.P
8373 +.B __init__(self, unpack)
8374 +Constructor
8375 +
8376 +Initialize object's private data according to the arguments given.
8377 +Arguments can be given as positional, named arguments or a
8378 +combination of both.
8379 +.fi
8380 +.SS class nfsv4_1_file_layouthint4(baseobj.BaseObj)
8381 +.nf
8382 +nfsv4_1_file_layouthint4(unpack)
8383 +
8384 +struct nfsv4_1_file_layouthint4 {
8385 + uint32_t size; /* opaque size from layouthint4 */
8386 + uint32_t care;
8387 + nfl_util4 nfl_util;
8388 + count4 stripe_count;
8389 +};
8390 +
8391 +.P
8392 +.B Methods defined here:
8393 +---------------------
8394 +.P
8395 +.B __init__(self, unpack)
8396 +Constructor
8397 +
8398 +Initialize object's private data according to the arguments given.
8399 +Arguments can be given as positional, named arguments or a
8400 +combination of both.
8401 +.fi
8402 +.SS class nfsv4_1_file_th_items4(packet.utils.Enum)
8403 +.nf
8404 +nfsv4_1_file_th_items4(unpack)
8405 +
8406 +enum nfsv4_1_file_th_items4
8407 +
8408 +.fi
8409 +.SS class notify4(baseobj.BaseObj)
8410 +.nf
8411 +notify4(unpack)
8412 +
8413 +struct notify4 {
8414 + /* composed from notify_type4 or notify_deviceid_type4 */
8415 + bitmap4 mask;
8416 + notifylist4 values;
8417 +};
8418 +
8419 +.P
8420 +.B Methods defined here:
8421 +---------------------
8422 +.P
8423 +.B __init__(self, unpack)
8424 +Constructor
8425 +
8426 +Initialize object's private data according to the arguments given.
8427 +Arguments can be given as positional, named arguments or a
8428 +combination of both.
8429 +.fi
8430 +.SS class notify_add4(baseobj.BaseObj)
8431 +.nf
8432 +notify_add4(unpack)
8433 +
8434 +struct notify_add4 {
8435 + /*
8436 + * Information on object
8437 + * possibly renamed over.
8438 + */
8439 + notify_remove4 old_entry<1>;
8440 + notify_entry4 new_entry;
8441 + /* what READDIR would have returned for this entry */
8442 + nfs_cookie4 new_cookie<1>;
8443 + prev_entry4 prev_entry<1>;
8444 + bool last_entry;
8445 +};
8446 +
8447 +.P
8448 +.B Methods defined here:
8449 +---------------------
8450 +.P
8451 +.B __init__(self, unpack)
8452 +Constructor
8453 +
8454 +Initialize object's private data according to the arguments given.
8455 +Arguments can be given as positional, named arguments or a
8456 +combination of both.
8457 +.fi
8458 +.SS class notify_attr4(baseobj.BaseObj)
8459 +.nf
8460 +notify_attr4(unpack)
8461 +
8462 +struct notify_attr4 {
8463 + notify_entry4 entry;
8464 +};
8465 +
8466 +.P
8467 +.B Methods defined here:
8468 +---------------------
8469 +.P
8470 +.B __init__(self, unpack)
8471 +Constructor
8472 +
8473 +Initialize object's private data according to the arguments given.
8474 +Arguments can be given as positional, named arguments or a
8475 +combination of both.
8476 +.fi
8477 +.SS class notify_deviceid_change4(baseobj.BaseObj)
8478 +.nf
8479 +notify_deviceid_change4(unpack)
8480 +
8481 +struct notify_deviceid_change4 {
8482 + layouttype4 type;
8483 + deviceid4 deviceid;
8484 + bool immediate;
8485 +};
8486 +
8487 +.P
8488 +.B Methods defined here:
8489 +---------------------
8490 +.P
8491 +.B __init__(self, unpack)
8492 +Constructor
8493 +
8494 +Initialize object's private data according to the arguments given.
8495 +Arguments can be given as positional, named arguments or a
8496 +combination of both.
8497 +.fi
8498 +.SS class notify_deviceid_delete4(baseobj.BaseObj)
8499 +.nf
8500 +notify_deviceid_delete4(unpack)
8501 +
8502 +struct notify_deviceid_delete4 {
8503 + layouttype4 type;
8504 + deviceid4 deviceid;
8505 +};
8506 +
8507 +.P
8508 +.B Methods defined here:
8509 +---------------------
8510 +.P
8511 +.B __init__(self, unpack)
8512 +Constructor
8513 +
8514 +Initialize object's private data according to the arguments given.
8515 +Arguments can be given as positional, named arguments or a
8516 +combination of both.
8517 +.fi
8518 +.SS class notify_deviceid_type4(packet.utils.Enum)
8519 +.nf
8520 +notify_deviceid_type4(unpack)
8521 +
8522 +enum notify_deviceid_type4
8523 +
8524 +.fi
8525 +.SS class notify_entry4(baseobj.BaseObj)
8526 +.nf
8527 +notify_entry4(unpack)
8528 +
8529 +struct notify_entry4 {
8530 + component4 name;
8531 + fattr4 attrs;
8532 +};
8533 +
8534 +.P
8535 +.B Methods defined here:
8536 +---------------------
8537 +.P
8538 +.B __init__(self, unpack)
8539 +Constructor
8540 +
8541 +Initialize object's private data according to the arguments given.
8542 +Arguments can be given as positional, named arguments or a
8543 +combination of both.
8544 +.fi
8545 +.SS class notify_remove4(baseobj.BaseObj)
8546 +.nf
8547 +notify_remove4(unpack)
8548 +
8549 +struct notify_remove4 {
8550 + notify_entry4 entry;
8551 + nfs_cookie4 cookie;
8552 +};
8553 +
8554 +.P
8555 +.B Methods defined here:
8556 +---------------------
8557 +.P
8558 +.B __init__(self, unpack)
8559 +Constructor
8560 +
8561 +Initialize object's private data according to the arguments given.
8562 +Arguments can be given as positional, named arguments or a
8563 +combination of both.
8564 +.fi
8565 +.SS class notify_rename4(baseobj.BaseObj)
8566 +.nf
8567 +notify_rename4(unpack)
8568 +
8569 +struct notify_rename4 {
8570 + notify_remove4 old_entry;
8571 + notify_add4 new_entry;
8572 +};
8573 +
8574 +.P
8575 +.B Methods defined here:
8576 +---------------------
8577 +.P
8578 +.B __init__(self, unpack)
8579 +Constructor
8580 +
8581 +Initialize object's private data according to the arguments given.
8582 +Arguments can be given as positional, named arguments or a
8583 +combination of both.
8584 +.fi
8585 +.SS class notify_type4(packet.utils.Enum)
8586 +.nf
8587 +notify_type4(unpack)
8588 +
8589 +enum notify_type4
8590 +
8591 +.fi
8592 +.SS class notify_verifier4(baseobj.BaseObj)
8593 +.nf
8594 +notify_verifier4(unpack)
8595 +
8596 +struct notify_verifier4 {
8597 + verifier4 old_verifier;
8598 + verifier4 new_verifier;
8599 +};
8600 +
8601 +.P
8602 +.B Methods defined here:
8603 +---------------------
8604 +.P
8605 +.B __init__(self, unpack)
8606 +Constructor
8607 +
8608 +Initialize object's private data according to the arguments given.
8609 +Arguments can be given as positional, named arguments or a
8610 +combination of both.
8611 +.fi
8612 +.SS class offload_info4(baseobj.BaseObj)
8613 +.nf
8614 +offload_info4(unpack)
8615 +
8616 +union switch offload_info4 (nfsstat4 status) {
8617 + case const.NFS4_OK:
8618 + write_response4 resok;
8619 + default:
8620 + length4 count;
8621 +};
8622 +
8623 +.P
8624 +.B Methods defined here:
8625 +---------------------
8626 +.P
8627 +.B __init__(self, unpack)
8628 +Constructor
8629 +
8630 +Initialize object's private data according to the arguments given.
8631 +Arguments can be given as positional, named arguments or a
8632 +combination of both.
8633 +.fi
8634 +.SS class open_claim4(baseobj.BaseObj)
8635 +.nf
8636 +open_claim4(unpack)
8637 +
8638 +union switch open_claim4 (open_claim_type4 claim) {
8639 + /*
8640 + * No special rights to file.
8641 + * Ordinary OPEN of the specified file.
8642 + */
8643 + case const.CLAIM_NULL:
8644 + /* CURRENT_FH: directory */
8645 + component4 name;
8646 + /*
8647 + * Right to the file established by an
8648 + * open previous to server reboot. File
8649 + * identified by filehandle obtained at
8650 + * that time rather than by name.
8651 + */
8652 + case const.CLAIM_PREVIOUS:
8653 + /* CURRENT_FH: file being reclaimed */
8654 + open_delegation_type4 deleg_type;
8655 + /*
8656 + * Right to file based on a delegation
8657 + * granted by the server. File is
8658 + * specified by name.
8659 + */
8660 + case const.CLAIM_DELEGATE_CUR:
8661 + /* CURRENT_FH: directory */
8662 + open_claim_delegate_cur4 deleg_info;
8663 + /*
8664 + * Right to file based on a delegation
8665 + * granted to a previous boot instance
8666 + * of the client. File is specified by name.
8667 + */
8668 + case const.CLAIM_DELEGATE_PREV:
8669 + /* CURRENT_FH: directory */
8670 + component4 name;
8671 + /*
8672 + * Like CLAIM_NULL. No special rights
8673 + * to file. Ordinary OPEN of the
8674 + * specified file by current filehandle.
8675 + */
8676 + case const.CLAIM_FH: /* New to NFSv4.1 */
8677 + /* CURRENT_FH: regular file to open */
8678 + void;
8679 + /*
8680 + * Like CLAIM_DELEGATE_PREV. Right to file based on a
8681 + * delegation granted to a previous boot
8682 + * instance of the client. File is identified by
8683 + * by filehandle.
8684 + */
8685 + case const.CLAIM_DELEG_PREV_FH: /* New to NFSv4.1 */
8686 + /* CURRENT_FH: file being opened */
8687 + void;
8688 + /*
8689 + * Like CLAIM_DELEGATE_CUR. Right to file based on
8690 + * a delegation granted by the server.
8691 + * File is identified by filehandle.
8692 + */
8693 + case const.CLAIM_DELEG_CUR_FH: /* New to NFSv4.1 */
8694 + /* CURRENT_FH: file being opened */
8695 + stateid4 stateid;
8696 +};
8697 +
8698 +.P
8699 +.B Methods defined here:
8700 +---------------------
8701 +.P
8702 +.B __init__(self, unpack)
8703 +Constructor
8704 +
8705 +Initialize object's private data according to the arguments given.
8706 +Arguments can be given as positional, named arguments or a
8707 +combination of both.
8708 +.fi
8709 +.SS class open_claim_delegate_cur4(baseobj.BaseObj)
8710 +.nf
8711 +open_claim_delegate_cur4(unpack)
8712 +
8713 +struct open_claim_delegate_cur4 {
8714 + stateid4 stateid;
8715 + component4 name;
8716 +};
8717 +
8718 +.P
8719 +.B Methods defined here:
8720 +---------------------
8721 +.P
8722 +.B __init__(self, unpack)
8723 +Constructor
8724 +
8725 +Initialize object's private data according to the arguments given.
8726 +Arguments can be given as positional, named arguments or a
8727 +combination of both.
8728 +.fi
8729 +.SS class open_claim_type4(packet.utils.Enum)
8730 +.nf
8731 +open_claim_type4(unpack)
8732 +
8733 +enum open_claim_type4
8734 +
8735 +.fi
8736 +.SS class open_delegation4(baseobj.BaseObj)
8737 +.nf
8738 +open_delegation4(unpack)
8739 +
8740 +union switch open_delegation4 (open_delegation_type4 deleg_type) {
8741 + case const.OPEN_DELEGATE_NONE:
8742 + void;
8743 + case const.OPEN_DELEGATE_READ:
8744 + open_read_delegation4 read;
8745 + case const.OPEN_DELEGATE_WRITE:
8746 + open_write_delegation4 write;
8747 + case const.OPEN_DELEGATE_NONE_EXT: /* New to NFSv4.1 */
8748 + open_none_delegation4 whynone;
8749 +};
8750 +
8751 +.P
8752 +.B Methods defined here:
8753 +---------------------
8754 +.P
8755 +.B __init__(self, unpack)
8756 +Constructor
8757 +
8758 +Initialize object's private data according to the arguments given.
8759 +Arguments can be given as positional, named arguments or a
8760 +combination of both.
8761 +.fi
8762 +.SS class open_delegation_type4(packet.utils.Enum)
8763 +.nf
8764 +open_delegation_type4(unpack)
8765 +
8766 +enum open_delegation_type4
8767 +
8768 +.fi
8769 +.SS class open_none_delegation4(baseobj.BaseObj)
8770 +.nf
8771 +open_none_delegation4(unpack)
8772 +
8773 +union switch open_none_delegation4 (why_no_delegation4 why) {
8774 + case const.WND4_CONTENTION:
8775 + /* Server will push delegation */
8776 + bool push;
8777 + case const.WND4_RESOURCE:
8778 + /* Server will signal availability */
8779 + bool signal;
8780 + default:
8781 + void;
8782 +};
8783 +
8784 +.P
8785 +.B Methods defined here:
8786 +---------------------
8787 +.P
8788 +.B __init__(self, unpack)
8789 +Constructor
8790 +
8791 +Initialize object's private data according to the arguments given.
8792 +Arguments can be given as positional, named arguments or a
8793 +combination of both.
8794 +.fi
8795 +.SS class open_owner4(baseobj.BaseObj)
8796 +.nf
8797 +open_owner4 = class state_owner4(baseobj.BaseObj)
8798 +.fi
8799 +.SS class open_read_delegation4(baseobj.BaseObj)
8800 +.nf
8801 +open_read_delegation4(unpack)
8802 +
8803 +struct open_read_delegation4 {
8804 + stateid4 stateid; /* Stateid for delegation */
8805 + bool recall; /* Pre-recalled flag for delegations obtained by reclaim (CLAIM_PREVIOUS) */
8806 + nfsace4 permissions; /* Defines users who don't need an ACCESS call to open for read */
8807 +};
8808 +
8809 +.P
8810 +.B Methods defined here:
8811 +---------------------
8812 +.P
8813 +.B __init__(self, unpack)
8814 +Constructor
8815 +
8816 +Initialize object's private data according to the arguments given.
8817 +Arguments can be given as positional, named arguments or a
8818 +combination of both.
8819 +.fi
8820 +.SS class open_to_lock_owner4(baseobj.BaseObj)
8821 +.nf
8822 +open_to_lock_owner4(unpack)
8823 +
8824 +struct open_to_lock_owner4 {
8825 + seqid4 seqid;
8826 + stateid4 stateid;
8827 + seqid4 lock_seqid;
8828 + lock_owner4 lock_owner;
8829 +};
8830 +
8831 +.P
8832 +.B Methods defined here:
8833 +---------------------
8834 +.P
8835 +.B __init__(self, unpack)
8836 +Constructor
8837 +
8838 +Initialize object's private data according to the arguments given.
8839 +Arguments can be given as positional, named arguments or a
8840 +combination of both.
8841 +.fi
8842 +.SS class open_write_delegation4(baseobj.BaseObj)
8843 +.nf
8844 +open_write_delegation4(unpack)
8845 +
8846 +struct open_write_delegation4 {
8847 + stateid4 stateid; /* Stateid for delegation */
8848 + bool recall; /* Pre-recalled flag for delegations obtained by reclaim (CLAIM_PREVIOUS) */
8849 + nfs_space_limit4 space_limit; /* Defines condition that the client must check to determine whether the file needs to be flushed to the server on close. */
8850 + nfsace4 permissions; /* Defines users who don't need an ACCESS call as part of a delegated open. */
8851 +};
8852 +
8853 +.P
8854 +.B Methods defined here:
8855 +---------------------
8856 +.P
8857 +.B __init__(self, unpack)
8858 +Constructor
8859 +
8860 +Initialize object's private data according to the arguments given.
8861 +Arguments can be given as positional, named arguments or a
8862 +combination of both.
8863 +.fi
8864 +.SS class openflag4(baseobj.BaseObj)
8865 +.nf
8866 +openflag4(unpack)
8867 +
8868 +union switch openflag4 (opentype4 opentype) {
8869 + case const.OPEN4_CREATE:
8870 + createhow4 how;
8871 + default:
8872 + void;
8873 +};
8874 +
8875 +.P
8876 +.B Methods defined here:
8877 +---------------------
8878 +.P
8879 +.B __init__(self, unpack)
8880 +Constructor
8881 +
8882 +Initialize object's private data according to the arguments given.
8883 +Arguments can be given as positional, named arguments or a
8884 +combination of both.
8885 +.fi
8886 +.SS class opentype4(packet.utils.Enum)
8887 +.nf
8888 +opentype4(unpack)
8889 +
8890 +enum opentype4
8891 +
8892 +.fi
8893 +.SS class prev_entry4(baseobj.BaseObj)
8894 +.nf
8895 +prev_entry4(unpack)
8896 +
8897 +struct prev_entry4 {
8898 + notify_entry4 entry;
8899 + /* what READDIR returned for this entry */
8900 + nfs_cookie4 cookie;
8901 +};
8902 +
8903 +.P
8904 +.B Methods defined here:
8905 +---------------------
8906 +.P
8907 +.B __init__(self, unpack)
8908 +Constructor
8909 +
8910 +Initialize object's private data according to the arguments given.
8911 +Arguments can be given as positional, named arguments or a
8912 +combination of both.
8913 +.fi
8914 +.SS class read_plus_content(baseobj.BaseObj)
8915 +.nf
8916 +read_plus_content(unpack)
8917 +
8918 +union switch read_plus_content (data_content4 content) {
8919 + case const.NFS4_CONTENT_DATA:
8920 + data4 data;
8921 + case const.NFS4_CONTENT_HOLE:
8922 + data_info4 hole;
8923 + default:
8924 + void;
8925 +};
8926 +
8927 +.P
8928 +.B Methods defined here:
8929 +---------------------
8930 +.P
8931 +.B __init__(self, unpack)
8932 +Constructor
8933 +
8934 +Initialize object's private data according to the arguments given.
8935 +Arguments can be given as positional, named arguments or a
8936 +combination of both.
8937 +.fi
8938 +.SS class read_plus_res4(baseobj.BaseObj)
8939 +.nf
8940 +read_plus_res4(unpack)
8941 +
8942 +struct read_plus_res4 {
8943 + bool eof;
8944 + read_plus_content contents<>;
8945 +};
8946 +
8947 +.P
8948 +.B Methods defined here:
8949 +---------------------
8950 +.P
8951 +.B __init__(self, unpack)
8952 +Constructor
8953 +
8954 +Initialize object's private data according to the arguments given.
8955 +Arguments can be given as positional, named arguments or a
8956 +combination of both.
8957 +.fi
8958 +.SS class referring_call4(baseobj.BaseObj)
8959 +.nf
8960 +referring_call4(unpack)
8961 +
8962 +struct referring_call4 {
8963 + sequenceid4 sequenceid;
8964 + slotid4 slotid;
8965 +};
8966 +
8967 +.P
8968 +.B Methods defined here:
8969 +---------------------
8970 +.P
8971 +.B __init__(self, unpack)
8972 +Constructor
8973 +
8974 +Initialize object's private data according to the arguments given.
8975 +Arguments can be given as positional, named arguments or a
8976 +combination of both.
8977 +.fi
8978 +.SS class referring_call_list4(baseobj.BaseObj)
8979 +.nf
8980 +referring_call_list4(unpack)
8981 +
8982 +struct referring_call_list4 {
8983 + sessionid4 sessionid;
8984 + referring_call4 referring_calls<>;
8985 +};
8986 +
8987 +.P
8988 +.B Methods defined here:
8989 +---------------------
8990 +.P
8991 +.B __init__(self, unpack)
8992 +Constructor
8993 +
8994 +Initialize object's private data according to the arguments given.
8995 +Arguments can be given as positional, named arguments or a
8996 +combination of both.
8997 +.fi
8998 +.SS class retention_get4(baseobj.BaseObj)
8999 +.nf
9000 +retention_get4(unpack)
9001 +
9002 +struct retention_get4 {
9003 + uint64_t duration;
9004 + nfstime4 begin_time<1>;
9005 +};
9006 +
9007 +.P
9008 +.B Methods defined here:
9009 +---------------------
9010 +.P
9011 +.B __init__(self, unpack)
9012 +Constructor
9013 +
9014 +Initialize object's private data according to the arguments given.
9015 +Arguments can be given as positional, named arguments or a
9016 +combination of both.
9017 +.fi
9018 +.SS class retention_set4(baseobj.BaseObj)
9019 +.nf
9020 +retention_set4(unpack)
9021 +
9022 +struct retention_set4 {
9023 + bool enable;
9024 + uint64_t duration<1>;
9025 +};
9026 +
9027 +.P
9028 +.B Methods defined here:
9029 +---------------------
9030 +.P
9031 +.B __init__(self, unpack)
9032 +Constructor
9033 +
9034 +Initialize object's private data according to the arguments given.
9035 +Arguments can be given as positional, named arguments or a
9036 +combination of both.
9037 +.fi
9038 +.SS class rpc_gss_svc_t(packet.utils.Enum)
9039 +.nf
9040 +rpc_gss_svc_t(unpack)
9041 +
9042 +enum rpc_gss_svc_t
9043 +
9044 +.fi
9045 +.SS class rpcsec_gss_info(baseobj.BaseObj)
9046 +.nf
9047 +rpcsec_gss_info(unpack)
9048 +
9049 +struct rpcsec_gss_info {
9050 + sec_oid4 oid;
9051 + qop4 qop;
9052 + rpc_gss_svc_t service;
9053 +};
9054 +
9055 +.P
9056 +.B Methods defined here:
9057 +---------------------
9058 +.P
9059 +.B __init__(self, unpack)
9060 +Constructor
9061 +
9062 +Initialize object's private data according to the arguments given.
9063 +Arguments can be given as positional, named arguments or a
9064 +combination of both.
9065 +.fi
9066 +.SS class sec_label4(baseobj.BaseObj)
9067 +.nf
9068 +sec_label4(unpack)
9069 +
9070 +struct sec_label4 {
9071 + labelformat_spec4 lfs;
9072 + opaque data<>;
9073 +};
9074 +
9075 +.P
9076 +.B Methods defined here:
9077 +---------------------
9078 +.P
9079 +.B __init__(self, unpack)
9080 +Constructor
9081 +
9082 +Initialize object's private data according to the arguments given.
9083 +Arguments can be given as positional, named arguments or a
9084 +combination of both.
9085 +.fi
9086 +.SS class secinfo4(baseobj.BaseObj)
9087 +.nf
9088 +secinfo4(unpack)
9089 +
9090 +union switch secinfo4 (nfs_secflavor4 flavor) {
9091 + case const.RPCSEC_GSS:
9092 + rpcsec_gss_info info;
9093 + default:
9094 + void;
9095 +};
9096 +
9097 +.P
9098 +.B Methods defined here:
9099 +---------------------
9100 +.P
9101 +.B __init__(self, unpack)
9102 +Constructor
9103 +
9104 +Initialize object's private data according to the arguments given.
9105 +Arguments can be given as positional, named arguments or a
9106 +combination of both.
9107 +.fi
9108 +.SS class secinfo_style4(packet.utils.Enum)
9109 +.nf
9110 +secinfo_style4(unpack)
9111 +
9112 +enum secinfo_style4
9113 +
9114 +.fi
9115 +.SS class seek_res4(baseobj.BaseObj)
9116 +.nf
9117 +seek_res4(unpack)
9118 +
9119 +struct seek_res4 {
9120 + bool eof;
9121 + offset4 offset;
9122 +};
9123 +
9124 +.P
9125 +.B Methods defined here:
9126 +---------------------
9127 +.P
9128 +.B __init__(self, unpack)
9129 +Constructor
9130 +
9131 +Initialize object's private data according to the arguments given.
9132 +Arguments can be given as positional, named arguments or a
9133 +combination of both.
9134 +.fi
9135 +.SS class server_owner4(baseobj.BaseObj)
9136 +.nf
9137 +server_owner4(unpack)
9138 +
9139 +struct server_owner4 {
9140 + uint64_t minor_id;
9141 + opaque major_id<NFS4_OPAQUE_LIMIT>;
9142 +};
9143 +
9144 +.P
9145 +.B Methods defined here:
9146 +---------------------
9147 +.P
9148 +.B __init__(self, unpack)
9149 +Constructor
9150 +
9151 +Initialize object's private data according to the arguments given.
9152 +Arguments can be given as positional, named arguments or a
9153 +combination of both.
9154 +.fi
9155 +.SS class settime4(baseobj.BaseObj)
9156 +.nf
9157 +settime4(unpack)
9158 +
9159 +union switch settime4 (time_how4 set_it) {
9160 + case const.SET_TO_CLIENT_TIME4:
9161 + nfstime4 time;
9162 + default:
9163 + void;
9164 +};
9165 +
9166 +.P
9167 +.B Methods defined here:
9168 +---------------------
9169 +.P
9170 +.B __init__(self, unpack)
9171 +Constructor
9172 +
9173 +Initialize object's private data according to the arguments given.
9174 +Arguments can be given as positional, named arguments or a
9175 +combination of both.
9176 +.fi
9177 +.SS class setxattr_option4(packet.utils.Enum)
9178 +.nf
9179 +setxattr_option4(unpack)
9180 +
9181 +enum setxattr_option4
9182 +
9183 +.fi
9184 +.SS class specdata4(baseobj.BaseObj)
9185 +.nf
9186 +specdata4(unpack)
9187 +
9188 +struct specdata4 {
9189 + uint32_t specdata1; /* major device number */
9190 + uint32_t specdata2; /* minor device number */
9191 +};
9192 +
9193 +.P
9194 +.B Methods defined here:
9195 +---------------------
9196 +.P
9197 +.B __init__(self, unpack)
9198 +Constructor
9199 +
9200 +Initialize object's private data according to the arguments given.
9201 +Arguments can be given as positional, named arguments or a
9202 +combination of both.
9203 +.fi
9204 +.SS class ssa_digest_input4(baseobj.BaseObj)
9205 +.nf
9206 +ssa_digest_input4(unpack)
9207 +
9208 +struct ssa_digest_input4 {
9209 + SEQUENCE4args seqargs;
9210 +};
9211 +
9212 +.P
9213 +.B Methods defined here:
9214 +---------------------
9215 +.P
9216 +.B __init__(self, unpack)
9217 +Constructor
9218 +
9219 +Initialize object's private data according to the arguments given.
9220 +Arguments can be given as positional, named arguments or a
9221 +combination of both.
9222 +.fi
9223 +.SS class ssr_digest_input4(baseobj.BaseObj)
9224 +.nf
9225 +ssr_digest_input4(unpack)
9226 +
9227 +struct ssr_digest_input4 {
9228 + SEQUENCE4res seqres;
9229 +};
9230 +
9231 +.P
9232 +.B Methods defined here:
9233 +---------------------
9234 +.P
9235 +.B __init__(self, unpack)
9236 +Constructor
9237 +
9238 +Initialize object's private data according to the arguments given.
9239 +Arguments can be given as positional, named arguments or a
9240 +combination of both.
9241 +.fi
9242 +.SS class ssv_mic_plain_tkn4(baseobj.BaseObj)
9243 +.nf
9244 +ssv_mic_plain_tkn4(unpack)
9245 +
9246 +struct ssv_mic_plain_tkn4 {
9247 + uint32_t ssv_seq;
9248 + opaque orig_plain<>;
9249 +};
9250 +
9251 +.P
9252 +.B Methods defined here:
9253 +---------------------
9254 +.P
9255 +.B __init__(self, unpack)
9256 +Constructor
9257 +
9258 +Initialize object's private data according to the arguments given.
9259 +Arguments can be given as positional, named arguments or a
9260 +combination of both.
9261 +.fi
9262 +.SS class ssv_mic_tkn4(baseobj.BaseObj)
9263 +.nf
9264 +ssv_mic_tkn4(unpack)
9265 +
9266 +struct ssv_mic_tkn4 {
9267 + uint32_t ssv_seq;
9268 + opaque hmac<>;
9269 +};
9270 +
9271 +.P
9272 +.B Methods defined here:
9273 +---------------------
9274 +.P
9275 +.B __init__(self, unpack)
9276 +Constructor
9277 +
9278 +Initialize object's private data according to the arguments given.
9279 +Arguments can be given as positional, named arguments or a
9280 +combination of both.
9281 +.fi
9282 +.SS class ssv_prot_info4(baseobj.BaseObj)
9283 +.nf
9284 +ssv_prot_info4(unpack)
9285 +
9286 +struct ssv_prot_info4 {
9287 + state_protect_ops4 ops;
9288 + uint32_t hash_alg;
9289 + uint32_t encr_alg;
9290 + uint32_t ssv_len;
9291 + uint32_t window;
9292 + gsshandle4_t handles<>;
9293 +};
9294 +
9295 +.P
9296 +.B Methods defined here:
9297 +---------------------
9298 +.P
9299 +.B __init__(self, unpack)
9300 +Constructor
9301 +
9302 +Initialize object's private data according to the arguments given.
9303 +Arguments can be given as positional, named arguments or a
9304 +combination of both.
9305 +.fi
9306 +.SS class ssv_seal_cipher_tkn4(baseobj.BaseObj)
9307 +.nf
9308 +ssv_seal_cipher_tkn4(unpack)
9309 +
9310 +struct ssv_seal_cipher_tkn4 {
9311 + uint32_t ssv_seq;
9312 + opaque iv<>;
9313 + opaque encr_data<>;
9314 + opaque hmac<>;
9315 +};
9316 +
9317 +.P
9318 +.B Methods defined here:
9319 +---------------------
9320 +.P
9321 +.B __init__(self, unpack)
9322 +Constructor
9323 +
9324 +Initialize object's private data according to the arguments given.
9325 +Arguments can be given as positional, named arguments or a
9326 +combination of both.
9327 +.fi
9328 +.SS class ssv_seal_plain_tkn4(baseobj.BaseObj)
9329 +.nf
9330 +ssv_seal_plain_tkn4(unpack)
9331 +
9332 +struct ssv_seal_plain_tkn4 {
9333 + opaque confounder<>;
9334 + uint32_t ssv_seq;
9335 + opaque orig_plain<>;
9336 + opaque pad<>;
9337 +};
9338 +
9339 +.P
9340 +.B Methods defined here:
9341 +---------------------
9342 +.P
9343 +.B __init__(self, unpack)
9344 +Constructor
9345 +
9346 +Initialize object's private data according to the arguments given.
9347 +Arguments can be given as positional, named arguments or a
9348 +combination of both.
9349 +.fi
9350 +.SS class ssv_sp_parms4(baseobj.BaseObj)
9351 +.nf
9352 +ssv_sp_parms4(unpack)
9353 +
9354 +struct ssv_sp_parms4 {
9355 + state_protect_ops4 ops;
9356 + sec_oid4 hash_algs<>;
9357 + sec_oid4 encr_algs<>;
9358 + uint32_t window;
9359 + uint32_t num_gss_handles;
9360 +};
9361 +
9362 +.P
9363 +.B Methods defined here:
9364 +---------------------
9365 +.P
9366 +.B __init__(self, unpack)
9367 +Constructor
9368 +
9369 +Initialize object's private data according to the arguments given.
9370 +Arguments can be given as positional, named arguments or a
9371 +combination of both.
9372 +.fi
9373 +.SS class ssv_subkey4(packet.utils.Enum)
9374 +.nf
9375 +ssv_subkey4(unpack)
9376 +
9377 +enum ssv_subkey4
9378 +
9379 +.fi
9380 +.SS class stable_how4(packet.utils.Enum)
9381 +.nf
9382 +stable_how4(unpack)
9383 +
9384 +enum stable_how4
9385 +
9386 +.fi
9387 +.SS class state_owner4(baseobj.BaseObj)
9388 +.nf
9389 +state_owner4(unpack)
9390 +
9391 +struct state_owner4 {
9392 + clientid4 clientid;
9393 + opaque owner<NFS4_OPAQUE_LIMIT>;
9394 +};
9395 +
9396 +.P
9397 +.B Methods defined here:
9398 +---------------------
9399 +.P
9400 +.B __init__(self, unpack)
9401 +Constructor
9402 +
9403 +Initialize object's private data according to the arguments given.
9404 +Arguments can be given as positional, named arguments or a
9405 +combination of both.
9406 +.fi
9407 +.SS class state_protect4_a(baseobj.BaseObj)
9408 +.nf
9409 +state_protect4_a(unpack)
9410 +
9411 +union switch state_protect4_a (state_protect_how4 how) {
9412 + case const.SP4_NONE:
9413 + void;
9414 + case const.SP4_MACH_CRED:
9415 + state_protect_ops4 mach_ops;
9416 + case const.SP4_SSV:
9417 + ssv_sp_parms4 ssv_parms;
9418 +};
9419 +
9420 +.P
9421 +.B Methods defined here:
9422 +---------------------
9423 +.P
9424 +.B __init__(self, unpack)
9425 +Constructor
9426 +
9427 +Initialize object's private data according to the arguments given.
9428 +Arguments can be given as positional, named arguments or a
9429 +combination of both.
9430 +.fi
9431 +.SS class state_protect4_r(baseobj.BaseObj)
9432 +.nf
9433 +state_protect4_r(unpack)
9434 +
9435 +union switch state_protect4_r (state_protect_how4 how) {
9436 + case const.SP4_NONE:
9437 + void;
9438 + case const.SP4_MACH_CRED:
9439 + state_protect_ops4 mach_ops;
9440 + case const.SP4_SSV:
9441 + ssv_prot_info4 ssv_info;
9442 +};
9443 +
9444 +.P
9445 +.B Methods defined here:
9446 +---------------------
9447 +.P
9448 +.B __init__(self, unpack)
9449 +Constructor
9450 +
9451 +Initialize object's private data according to the arguments given.
9452 +Arguments can be given as positional, named arguments or a
9453 +combination of both.
9454 +.fi
9455 +.SS class state_protect_how4(packet.utils.Enum)
9456 +.nf
9457 +state_protect_how4(unpack)
9458 +
9459 +enum state_protect_how4
9460 +
9461 +.fi
9462 +.SS class state_protect_ops4(baseobj.BaseObj)
9463 +.nf
9464 +state_protect_ops4(unpack)
9465 +
9466 +struct state_protect_ops4 {
9467 + bitmap4 enforce_mask;
9468 + bitmap4 allow_mask;
9469 +};
9470 +
9471 +.P
9472 +.B Methods defined here:
9473 +---------------------
9474 +.P
9475 +.B __init__(self, unpack)
9476 +Constructor
9477 +
9478 +Initialize object's private data according to the arguments given.
9479 +Arguments can be given as positional, named arguments or a
9480 +combination of both.
9481 +.fi
9482 +.SS class stateid4(baseobj.BaseObj)
9483 +.nf
9484 +stateid4(unpack)
9485 +
9486 +struct stateid4 {
9487 + uint32_t seqid;
9488 + opaque other[NFS4_OTHER_SIZE];
9489 +};
9490 +
9491 +.P
9492 +.B Methods defined here:
9493 +---------------------
9494 +.P
9495 +.B __init__(self, unpack)
9496 +Constructor
9497 +
9498 +Initialize object's private data according to the arguments given.
9499 +Arguments can be given as positional, named arguments or a
9500 +combination of both.
9501 +.fi
9502 +.SS class th_item4(baseobj.BaseObj)
9503 +.nf
9504 +th_item4(unpack)
9505 +
9506 +struct th_item4 {
9507 + bitmap4 mask;
9508 + opaque values<>;
9509 +};
9510 +
9511 +.P
9512 +.B Methods defined here:
9513 +---------------------
9514 +.P
9515 +.B __init__(self, unpack)
9516 +Constructor
9517 +
9518 +Initialize object's private data according to the arguments given.
9519 +Arguments can be given as positional, named arguments or a
9520 +combination of both.
9521 +.fi
9522 +.SS class threshold_item4(baseobj.BaseObj)
9523 +.nf
9524 +threshold_item4(unpack)
9525 +
9526 +union switch threshold_item4 (layouttype4 type) {
9527 + case const.LAYOUT4_NFSV4_1_FILES:
9528 + nfsv4_1_file_th_item4 items;
9529 + default:
9530 + th_item4 items;
9531 +};
9532 +
9533 +.P
9534 +.B Methods defined here:
9535 +---------------------
9536 +.P
9537 +.B __init__(self, unpack)
9538 +Constructor
9539 +
9540 +Initialize object's private data according to the arguments given.
9541 +Arguments can be given as positional, named arguments or a
9542 +combination of both.
9543 +.fi
9544 +.SS class time_how4(packet.utils.Enum)
9545 +.nf
9546 +time_how4(unpack)
9547 +
9548 +enum time_how4
9549 +
9550 +.fi
9551 +.SS class why_no_delegation4(packet.utils.Enum)
9552 +.nf
9553 +why_no_delegation4(unpack)
9554 +
9555 +enum why_no_delegation4
9556 +
9557 +.fi
9558 +.SS class write_response4(baseobj.BaseObj)
9559 +.nf
9560 +write_response4(unpack)
9561 +
9562 +struct write_response4 {
9563 + stateid4 stateid<1>;
9564 + length4 count;
9565 + stable_how4 committed;
9566 + verifier4 verifier;
9567 +};
9568 +
9569 +.P
9570 +.B Methods defined here:
9571 +---------------------
9572 +.P
9573 +.B __init__(self, unpack)
9574 +Constructor
9575 +
9576 +Initialize object's private data according to the arguments given.
9577 +Arguments can be given as positional, named arguments or a
9578 +combination of both.
9579 +.fi
9580 +.SH FUNCTIONS
9581 +.nf
9582 +.B SECINFO4resok(unpack)
9583 +.P
9584 +.B aceflag4(unpack)
9585 +.P
9586 +.B acemask4(unpack)
9587 +.P
9588 +.B acetype4(unpack)
9589 +.P
9590 +.B aclflag4(unpack)
9591 +.P
9592 +.B bitmap4(unpack)
9593 +.P
9594 +.B changeid4(unpack)
9595 +.P
9596 +.B clientid4(unpack)
9597 +.P
9598 +.B deviceid4(unpack)
9599 +.P
9600 +.B fattr4(unpack)
9601 +struct fattr4 {
9602 + bitmap4 mask;
9603 + attrlist4 values;
9604 +};
9605 +.P
9606 +.B fattr4_acl(unpack)
9607 +.P
9608 +.B fattr4_change(unpack)
9609 +.P
9610 +.B fattr4_filehandle(unpack)
9611 +.P
9612 +.B fattr4_fs_layout_types(unpack)
9613 +.P
9614 +.B fattr4_layout_types(unpack)
9615 +.P
9616 +.B gsshandle4_t(unpack)
9617 +.P
9618 +.B multipath_list4(unpack)
9619 +.P
9620 +.B nfl_util4(unpack)
9621 +.P
9622 +.B nfs_fh4(unpack)
9623 +.P
9624 +.B nfsv4_1_file_th_item4(unpack)
9625 +struct nfsv4_1_file_th_item4 {
9626 + bitmap4 mask;
9627 + opaque values<>;
9628 +};
9629 +.P
9630 +.B notifylist4(unpack)
9631 + Objects of type notify_<>4 and
9632 + notify_device_<>4 are encoded in this.
9633 +.P
9634 +.B pathname4(unpack)
9635 +.P
9636 +.B sec_oid4(unpack)
9637 +.P
9638 +.B sessionid4(unpack)
9639 +.P
9640 +.B verifier4(unpack)
9641 +.SH SEE ALSO
9642 +.BR baseobj(3),
9643 +.BR packet.nfs.nfs4_const(3),
9644 +.BR packet.nfs.nfsbase(3),
9645 +.BR packet.unpack(3),
9646 +.BR packet.utils(3)
9647 +
9648 +.SH BUGS
9649 +No known bugs.
9650 +.SH AUTHOR
9651 +Jorge Mora ([email protected])
9652 --- /dev/null
9653 +++ nfstest-3.2/man/packet.transport.ib.3
9654 @@ -0,0 +1,470 @@
9655 +.\" DO NOT MODIFY THIS FILE! It was generated by setup.py 1.2.
9656 +.TH IB 3 "31 May 2026" "NFStest 3.2" "ib 1.2"
9657 +.SH NAME
9658 +packet.transport.ib - InfiniBand module
9659 +.SH DESCRIPTION
9660 +
9661 +Decode InfiniBand layer.
9662 +Reference: IB Specification Vol 1-Release-1.3-2015-03-03.pdf
9663 +.SH CLASSES
9664 +.SS class AETH(baseobj.BaseObj)
9665 +.nf
9666 +AETH(unpack)
9667 +
9668 +ACK EXTENDED TRANSPORT HEADER (AETH) - 4 BYTES
9669 +
9670 +ACK Extended Transport Header contains the additional transport fields
9671 +for ACK packets. The AETH is only in Acknowledge, RDMA READ Response
9672 +First, RDMA READ Response Last, and RDMA READ Response Only packets
9673 +as indicated by the Base Transport Header OpCode field.
9674 +
9675 +AETH(
9676 + syndrome = int, # Syndrome indicates if this is an ACK or NAK
9677 + # packet plus additional information about the
9678 + # ACK or NAK
9679 + msn = int, # Message Sequence Number indicates the sequence
9680 + # number of the last message completed at the
9681 + # responder
9682 +)
9683 +
9684 +.P
9685 +.B Methods defined here:
9686 +---------------------
9687 +.P
9688 +.B __init__(self, unpack)
9689 +Constructor
9690 +
9691 +Initialize object's private data according to the arguments given.
9692 +Arguments can be given as positional, named arguments or a
9693 +combination of both.
9694 +.fi
9695 +.SS class AtomicAckETH(baseobj.BaseObj)
9696 +.nf
9697 +AtomicAckETH(unpack)
9698 +
9699 +ATOMIC ACKNOWLEDGE EXTENDED TRANSPORT HEADER (ATOMICACKETH) - 8 BYTES
9700 +
9701 +Atomic ACK Extended Transport Header contains the additional transport
9702 +fields for AtomicACK packets. The AtomicAckETH is only in Atomic
9703 +Acknowledge packets as indicated by the Base Transport Header OpCode
9704 +field.
9705 +
9706 +AtomicAckETH(
9707 + orig_rem_dt = int, # Original Remote Data is the return operand
9708 + # in atomic operations and contains the data
9709 + # in the remote memory location before the
9710 + # atomic operation
9711 +)
9712 +
9713 +.P
9714 +.B Methods defined here:
9715 +---------------------
9716 +.P
9717 +.B __init__(self, unpack)
9718 +Constructor
9719 +
9720 +Initialize object's private data according to the arguments given.
9721 +Arguments can be given as positional, named arguments or a
9722 +combination of both.
9723 +.fi
9724 +.SS class AtomicETH(baseobj.BaseObj)
9725 +.nf
9726 +AtomicETH(unpack)
9727 +
9728 +ATOMIC EXTENDED TRANSPORT HEADER (ATOMICETH) - 28 BYTES
9729 +
9730 +Atomic Extended Transport Header contains the additional transport
9731 +fields for Atomic packets. The AtomicETH is only in Atomic packets
9732 +as indicated by the Base Transport Header OpCode field.
9733 +
9734 +AtomicETH(
9735 + va = int, # Virtual Address: the remote virtual address
9736 + r_key = int, # Remote Key that authorizes access to the remote
9737 + # virtual address
9738 + swap_dt = int, # Swap/Add Data is an operand in atomic operations
9739 + cmp_dt = int, # Compare Data is an operand in CmpSwap atomic
9740 + # operation
9741 +)
9742 +
9743 +.P
9744 +.B Methods defined here:
9745 +---------------------
9746 +.P
9747 +.B __init__(self, unpack)
9748 +Constructor
9749 +
9750 +Initialize object's private data according to the arguments given.
9751 +Arguments can be given as positional, named arguments or a
9752 +combination of both.
9753 +.fi
9754 +.SS class BTH(baseobj.BaseObj)
9755 +.nf
9756 +BTH(unpack)
9757 +
9758 +BASE TRANSPORT HEADER (BTH) - 12 BYTES
9759 +
9760 +Base Transport Header contains the fields for IBA transports.
9761 +The presence of BTH is indicated by the Next Header field of
9762 +the last previous header (i.e., either LRH:lnh or GRH:nxthdr
9763 +depending on which was the last previous header).
9764 +
9765 +BTH(
9766 + opcode = int, # OpCode indicates the IBA packet type. It also
9767 + # specifies which extension headers follow the BTH
9768 + se = int, # Solicited Event, this bit indicates that an event
9769 + # should be generated by the responder
9770 + migreq = int, # This bit is used to communicate migration state
9771 + padcnt = int, # Pad Count indicates how many extra bytes are added
9772 + # to the payload to align to a 4 byte boundary
9773 + tver = int, # Transport Header Version indicates the version of
9774 + # the IBA Transport Headers
9775 + pkey = int, # Partition Key indicates which logical Partition is
9776 + # associated with this packet
9777 + destqp = int, # Destination QP indicates the Work Queue Pair Number
9778 + # (QP) at the destination
9779 + ackreq = int, # Acknowledge Request, this bit is used to indicate
9780 + # that an acknowledge (for this packet) should be
9781 + # scheduled by the responder
9782 + psn = int, # Packet Sequence Number is used to detect a missing
9783 + # or duplicate Packet
9784 +)
9785 +
9786 +.P
9787 +.B Methods defined here:
9788 +---------------------
9789 +.P
9790 +.B __init__(self, unpack)
9791 +Constructor
9792 +
9793 +Initialize object's private data according to the arguments given.
9794 +Arguments can be given as positional, named arguments or a
9795 +combination of both.
9796 +.fi
9797 +.SS class DETH(baseobj.BaseObj)
9798 +.nf
9799 +DETH(unpack)
9800 +
9801 +DATAGRAM EXTENDED TRANSPORT HEADER (DETH) - 8 BYTES
9802 +
9803 +Datagram Extended Transport Header contains the additional transport
9804 +fields for datagram service. The DETH is only in datagram packets if
9805 +indicated by the Base Transport Header OpCode field.
9806 +
9807 +DETH(
9808 + q_key = int, # Queue Key is required to authorize access to the
9809 + # receive queue
9810 + src_qp = int, # Source QP indicates the Work Queue Pair Number (QP)
9811 + # at the source.
9812 +)
9813 +
9814 +.P
9815 +.B Methods defined here:
9816 +---------------------
9817 +.P
9818 +.B __init__(self, unpack)
9819 +Constructor
9820 +
9821 +Initialize object's private data according to the arguments given.
9822 +Arguments can be given as positional, named arguments or a
9823 +combination of both.
9824 +.fi
9825 +.SS class GRH(baseobj.BaseObj)
9826 +.nf
9827 +GRH(unpack)
9828 +
9829 +GLOBAL ROUTE HEADER (GRH) - 40 BYTES
9830 +
9831 +Global Route Header contains fields for routing the packet between
9832 +subnets. The presence of the GRH is indicated by the Link Next
9833 +Header (LNH) field in the LRH. The layout of the GRH is the same as
9834 +the IPv6 Header defined in RFC 2460. Note, however, that IBA does not
9835 +define a relationship between a device GID and IPv6 address
9836 +(i.e., there is no defined mapping between GID and IPv6 address for
9837 +any IB device or port).
9838 +
9839 +GRH(
9840 + ipver = int, # IP Version indicates version of the GRH
9841 + tclass = int, # Traffic Class is used by IBA to communicate
9842 + # global service level
9843 + flabel = int, # Flow Label identifies sequences of packets
9844 + # requiring special handling
9845 + paylen = int, # Payload length specifies the number of bytes
9846 + # starting from the first byte after the GRH,
9847 + # up to and including the last byte of the ICRC
9848 + nxthdr = int, # Next Header identifies the header following the
9849 + # GRH. This field is included for compatibility with
9850 + # IPV6 headers. It should indicate IBA transport
9851 + hoplmt = int, # Hop Limit sets a strict bound on the number of
9852 + # hops between subnets a packet can make before
9853 + # being discarded. This is enforced only by routers
9854 + sgid = IPv6Addr, # Source GID identifies the Global Identifier
9855 + # (GID) for the port which injected the packet
9856 + # into the network
9857 + dgid = IPv6Addr, # Destination GID identifies the GID for the port
9858 + # which will consume the packet from the network
9859 +)
9860 +
9861 +.P
9862 +.B Methods defined here:
9863 +---------------------
9864 +.P
9865 +.B __init__(self, unpack)
9866 +Constructor
9867 +
9868 +Initialize object's private data according to the arguments given.
9869 +Arguments can be given as positional, named arguments or a
9870 +combination of both.
9871 +.fi
9872 +.SS class IB(baseobj.BaseObj)
9873 +.nf
9874 +IB(pktt)
9875 +
9876 +InfiniBand (IB) object
9877 +
9878 +Usage:
9879 + from packet.transport.ib import IB
9880 +
9881 + x = IB(pktt)
9882 +
9883 +Object definition:
9884 +
9885 +IB(
9886 + lrh = LRH, # Local Route Header
9887 + grh = GRH, # Global Route Header
9888 + bth = BTH, # Base Transport Header
9889 + rdeth = RDETH, # Reliable Datagram Extended Transport Header
9890 + deth = DETH, # Datagram Extended Transport Header
9891 + xrceth = XRCETH, # XRC Extended Transport Header
9892 + reth = RETH, # RDMA Extended Transport Header
9893 + atomiceth = AtomicETH, # Atomic Extended Transport Header
9894 + aeth = AETH, # ACK Extended Transport Header
9895 + atomicacketh = AtomicAckETH, # Atomic Acknowledge Extended Transport Header
9896 + immdt = ImmDt, # Immediate Extended Transport Header
9897 + ieth = IETH, # Invalidate Extended Transport Header
9898 + psize = int, # Payload data size
9899 + icrc = int, # Invariant CRC
9900 + vcrc = int, # Variant CRC
9901 +)
9902 +
9903 +.P
9904 +.B Methods defined here:
9905 +---------------------
9906 +.P
9907 +.B __bool__(self)
9908 +Truth value testing for the built-in operation bool()
9909 +.P
9910 +.B __init__(self, pktt)
9911 +Constructor
9912 +
9913 +Initialize object's private data.
9914 +
9915 +.RS
9916 +.TP
9917 +.B
9918 +pktt:
9919 +Packet trace object (packet.pktt.Pktt) so this layer has
9920 +access to the parent layers.
9921 +.RE
9922 +.fi
9923 +.SS class IETH(baseobj.BaseObj)
9924 +.nf
9925 +IETH(unpack)
9926 +
9927 +INVALIDATE EXTENDED TRANSPORT HEADER (IETH) - 4 BYTES
9928 +
9929 +The Invalidate Extended Transport Header contains an R_Key field which
9930 +is used by the responder to invalidate a memory region or memory window
9931 +once it receives and executes the SEND with Invalidate request.
9932 +
9933 +IETH(
9934 + r_key = int, # The SEND with Invalidate operation carries with it
9935 + # an R_Key field. This R_Key is used by the responder
9936 + # to invalidate a memory region or memory window once
9937 + # it receives and executes the SEND with Invalidate
9938 + # request
9939 +)
9940 +
9941 +.P
9942 +.B Methods defined here:
9943 +---------------------
9944 +.P
9945 +.B __init__(self, unpack)
9946 +Constructor
9947 +
9948 +Initialize object's private data according to the arguments given.
9949 +Arguments can be given as positional, named arguments or a
9950 +combination of both.
9951 +.fi
9952 +.SS class ImmDt(baseobj.BaseObj)
9953 +.nf
9954 +ImmDt(unpack)
9955 +
9956 +IMMEDIATE DATA EXTENDED TRANSPORT HEADER (IMMDT) - 4 BYTES
9957 +
9958 +Immediate DataExtended Transport Header contains the additional data
9959 +that is placed in the receive Completion Queue Element (CQE).
9960 +The ImmDt is only in Send or RDMA-Write packets with Immediate Data
9961 +if indicated by the Base Transport Header OpCode.
9962 +
9963 +Note, the terms Immediate Data Extended Transport Header and Immediate
9964 +Data Header are used synonymously in the specification.
9965 +
9966 +ImmDt(
9967 + imm_dt = int, # Immediate Data contains data that is placed in the
9968 + # receive Completion Queue Element (CQE). The ImmDt is
9969 + # only allowed in SEND or RDMA WRITE packets with
9970 + # Immediate Data
9971 +)
9972 +
9973 +.P
9974 +.B Methods defined here:
9975 +---------------------
9976 +.P
9977 +.B __init__(self, unpack)
9978 +Constructor
9979 +
9980 +Initialize object's private data according to the arguments given.
9981 +Arguments can be given as positional, named arguments or a
9982 +combination of both.
9983 +.fi
9984 +.SS class LRH(baseobj.BaseObj)
9985 +.nf
9986 +LRH(unpack)
9987 +
9988 +LOCAL ROUTE HEADER (LRH) - 8 BYTES
9989 +
9990 +The Local Routing Header contains fields used for local routing
9991 +by switches within a IBA subnet.
9992 +
9993 +LRH(
9994 + vl = int, # Virtual Lane that the packet is using
9995 + lver = int, # Link Version of LRH
9996 + sl = int, # Service Level the packet is requesting within the subnet
9997 + lnh = int, # Link Next Header identifies the headers following the LRH
9998 + dlid = int, # Destination Local ID identifies the destination port
9999 + # and path (data sink) on the local subnet
10000 + plen = int, # Packet Length identifies the size of the packet in
10001 + # four-byte words. This field includes the first byte of
10002 + # LRH to the last byte before the variant CRC
10003 + slid = int, # Source Local ID identifies the source port
10004 + # (injection point) on the local subnet
10005 +)
10006 +
10007 +.P
10008 +.B Methods defined here:
10009 +---------------------
10010 +.P
10011 +.B __init__(self, unpack)
10012 +Constructor
10013 +
10014 +Initialize object's private data according to the arguments given.
10015 +Arguments can be given as positional, named arguments or a
10016 +combination of both.
10017 +.fi
10018 +.SS class OpCode(builtins.int)
10019 +.nf
10020 +OpCode object, this is an integer in which its informal
10021 +string representation is given as the OpCode name
10022 +
10023 +.P
10024 +.B Methods defined here:
10025 +---------------------
10026 +.P
10027 +.B __str__(self)
10028 +Return str(self).
10029 +.fi
10030 +.SS class RDETH(baseobj.BaseObj)
10031 +.nf
10032 +RDETH(unpack)
10033 +
10034 +RELIABLE DATAGRAM EXTENDED TRANSPORT HEADER (RDETH) - 4 BYTES
10035 +
10036 +Reliable Datagram Extended Transport Header contains the additional
10037 +transport fields for reliable datagram service. The RDETH is only
10038 +in Reliable Datagram packets as indicated by the Base Transport Header
10039 +OpCode field.
10040 +
10041 +RDETH(
10042 + ee_context = int, # EE-Context indicates which End-to-End Context
10043 + # should be used for this Reliable Datagram packet
10044 +)
10045 +
10046 +.P
10047 +.B Methods defined here:
10048 +---------------------
10049 +.P
10050 +.B __init__(self, unpack)
10051 +Constructor
10052 +
10053 +Initialize object's private data according to the arguments given.
10054 +Arguments can be given as positional, named arguments or a
10055 +combination of both.
10056 +.fi
10057 +.SS class RETH(baseobj.BaseObj)
10058 +.nf
10059 +RETH(unpack)
10060 +
10061 +RDMA EXTENDED TRANSPORT HEADER (RETH) - 16 BYTES
10062 +
10063 +RDMA Extended Transport Header contains the additional transport fields
10064 +for RDMA operations. The RETH is present in only the first (or only)
10065 +packet of an RDMA Request as indicated by the Base Transport Header
10066 +OpCode field.
10067 +
10068 +RETH(
10069 + va = int, # Virtual Address of the RDMA operation
10070 + r_key = int, # Remote Key that authorizes access for the RDMA
10071 + # operation
10072 + dma_len = int, # DMA Length indicates the length (in Bytes) of
10073 + # the DMA operation.
10074 +)
10075 +
10076 +.P
10077 +.B Methods defined here:
10078 +---------------------
10079 +.P
10080 +.B __init__(self, unpack)
10081 +Constructor
10082 +
10083 +Initialize object's private data according to the arguments given.
10084 +Arguments can be given as positional, named arguments or a
10085 +combination of both.
10086 +.fi
10087 +.SS class XRCETH(baseobj.BaseObj)
10088 +.nf
10089 +XRCETH(unpack)
10090 +
10091 +XRC EXTENDED TRANSPORT HEADER (XRCETH)
10092 +
10093 +XRC Extended Transport Header contains the Destination XRC SRQ
10094 +identifier.
10095 +XRCETH(
10096 + xrcsrq = int, # XRC Shared Receive Queue indicates the XRC Shared
10097 + # Receive Queue number to be used by the responder
10098 + # for this packet
10099 +)
10100 +
10101 +.P
10102 +.B Methods defined here:
10103 +---------------------
10104 +.P
10105 +.B __init__(self, unpack)
10106 +Constructor
10107 +
10108 +Initialize object's private data according to the arguments given.
10109 +Arguments can be given as positional, named arguments or a
10110 +combination of both.
10111 +.fi
10112 +.SH SEE ALSO
10113 +.BR baseobj(3),
10114 +.BR packet.application.rpc(3),
10115 +.BR packet.application.rpcordma(3),
10116 +.BR packet.application.rpcordma_const(3),
10117 +.BR packet.internet.ipv6addr(3),
10118 +.BR packet.unpack(3),
10119 +.BR packet.utils(3)
10120 +
10121 +.SH BUGS
10122 +No known bugs.
10123 +.SH AUTHOR
10124 +Jorge Mora ([email protected])
10125 --- /dev/null
10126 +++ nfstest-3.2/man/packet.transport.rdmap.3
10127 @@ -0,0 +1,82 @@
10128 +.\" DO NOT MODIFY THIS FILE! It was generated by setup.py 1.2.
10129 +.TH RDMAP 3 "31 May 2026" "NFStest 3.2" "rdmap 1.0"
10130 +.SH NAME
10131 +packet.transport.rdmap - RDMAP module
10132 +.SH DESCRIPTION
10133 +
10134 +Decode RDMAP layer.
10135 +
10136 +RFC 5040 Remote Direct Memory Access Protocol Specification
10137 +.SH CLASSES
10138 +.SS class OpCode(packet.utils.Enum)
10139 +.nf
10140 +OpCode(unpack)
10141 +
10142 +enum OpCode
10143 +
10144 +.fi
10145 +.SS class RDMAP(baseobj.BaseObj)
10146 +.nf
10147 +RDMAP(pktt, pinfo)
10148 +
10149 +RDMAP object
10150 +
10151 +Usage:
10152 + from packet.transport.rdmap import RDMAP
10153 +
10154 + x = RDMAP(pktt, pinfo)
10155 +
10156 +Object definition:
10157 +
10158 +RDMAP(
10159 + version = int, # RDMA Protocol version
10160 + opcode = int, # RDMA OpCode
10161 + psize = int, # Payload Size
10162 + [ # Only valid for Send with Invalidate and Send with Solicited Event
10163 + # and Invalidate Messages
10164 + istag = int, # Invalidate STag
10165 + ]
10166 + [ # RDMA Read Request Header
10167 + sinkstag = int, # Data Sink STag
10168 + sinksto = int, # Data Sink Tagged Offset
10169 + dma_len = int, # RDMA Read Message Size
10170 + srcstag = int, # Data Source STag
10171 + srcsto = int, # Data Source Tagged Offset
10172 + ]
10173 +)
10174 +
10175 +.P
10176 +.B Methods defined here:
10177 +---------------------
10178 +.P
10179 +.B __init__(self, pktt, pinfo)
10180 + Constructor
10181 +
10182 + Initialize object's private data.
10183 +
10184 + pktt:
10185 + Packet trace object (packet.pktt.Pktt) so this layer has
10186 + access to the parent layers.
10187 + pinfo:
10188 + List of two integers: [RDMAP control, Invalidate STag].
10189 +
10190 +Readonly properties defined here:
10191 +
10192 +lastfl
10193 +
10194 +offset
10195 +
10196 +stag
10197 +.fi
10198 +.SH SEE ALSO
10199 +.BR baseobj(3),
10200 +.BR packet.application.rpc(3),
10201 +.BR packet.application.rpcordma(3),
10202 +.BR packet.application.rpcordma_const(3),
10203 +.BR packet.unpack(3),
10204 +.BR packet.utils(3)
10205 +
10206 +.SH BUGS
10207 +No known bugs.
10208 +.SH AUTHOR
10209 +Jorge Mora ([email protected])
10210 --- nfstest-3.2.orig/packet/pktt.py
10211 +++ nfstest-3.2/packet/pktt.py
10212 @@ -902,7 +902,7 @@ class Pktt(BaseObj):
10213 Returns:
10214 "self.match_nfs('crc32(nfs.fh) == 257433321')"
10215
10216 - expr = "re.search(r'192\..*', ip.src)"
10217 + expr = r"re.search(r'192\\..*', ip.src)"
10218 data = self._convert_match(expr)
10219 Returns:
10220 "self.match_pkt(\"re.search('192\\\\..*', self.pkt.ip.src)\")"
10221 @@ -1071,7 +1071,7 @@ class Pktt(BaseObj):
10222
10223 # Find all packets coming from subnet 192.168.1.0/24 using
10224 # a regular expression
10225 - while x.match(r"re.search('192\.168\.1\.\d*', IP.src)"):
10226 + while x.match(r"re.search('192\\.168\\.1\\.\\d+', IP.src)"):
10227 print x.pkt.tcp
10228
10229 # Find packet having a GETATTR asking for FATTR4_FS_LAYOUT_TYPES(bit 62)