1NFS3(3) nfs3 3.0 NFS3(3)
2
3
4
6 packet.nfs.nfs3 - NFSv3 decoding module
7
9 class ACCESS3args(baseobj.BaseObj)
10 struct ACCESS3args {
11 nfs_fh3 fh;
12 access3 access;
13 };
14
15
16 Methods defined here:
17 ---------------------
18
19 __init__(self, unpack)
20
21 class ACCESS3res(baseobj.BaseObj)
22 union switch ACCESS3res (nfsstat3 status) {
23 case const.NFS3_OK:
24 ACCESS3resok resok;
25 default:
26 ACCESS3resfail resfail;
27 };
28
29
30 Methods defined here:
31 ---------------------
32
33 __init__(self, unpack)
34
35 class ACCESS3resfail(baseobj.BaseObj)
36 struct ACCESS3resfail {
37 post_op_attr attributes;
38 };
39
40
41 Methods defined here:
42 ---------------------
43
44 __init__(self, unpack)
45
46 class ACCESS3resok(baseobj.BaseObj)
47 struct ACCESS3resok {
48 post_op_attr attributes;
49 access3 access;
50 };
51
52
53 Methods defined here:
54 ---------------------
55
56 __init__(self, unpack)
57
58 class COMMIT3args(baseobj.BaseObj)
59 struct COMMIT3args {
60 nfs_fh3 fh;
61 offset3 offset;
62 count3 count;
63 };
64
65
66 Methods defined here:
67 ---------------------
68
69 __init__(self, unpack)
70
71 class COMMIT3res(baseobj.BaseObj)
72 union switch COMMIT3res (nfsstat3 status) {
73 case const.NFS3_OK:
74 COMMIT3resok resok;
75 default:
76 COMMIT3resfail resfail;
77 };
78
79
80 Methods defined here:
81 ---------------------
82
83 __init__(self, unpack)
84
85 class COMMIT3resfail(baseobj.BaseObj)
86 struct COMMIT3resfail {
87 wcc_data wcc;
88 };
89
90
91 Methods defined here:
92 ---------------------
93
94 __init__(self, unpack)
95
96 class COMMIT3resok(baseobj.BaseObj)
97 struct COMMIT3resok {
98 wcc_data wcc;
99 writeverf3 verifier;
100 };
101
102
103 Methods defined here:
104 ---------------------
105
106 __init__(self, unpack)
107
108 class CREATE3args(baseobj.BaseObj)
109 struct CREATE3args {
110 diropargs3 where;
111 createhow3 how;
112 };
113
114
115 Methods defined here:
116 ---------------------
117
118 __init__(self, unpack)
119
120 class CREATE3res(baseobj.BaseObj)
121 union switch CREATE3res (nfsstat3 status) {
122 case const.NFS3_OK:
123 CREATE3resok resok;
124 default:
125 CREATE3resfail resfail;
126 };
127
128
129 Methods defined here:
130 ---------------------
131
132 __init__(self, unpack)
133
134 class CREATE3resfail(baseobj.BaseObj)
135 struct CREATE3resfail {
136 wcc_data wcc;
137 };
138
139
140 Methods defined here:
141 ---------------------
142
143 __init__(self, unpack)
144
145 class CREATE3resok(baseobj.BaseObj)
146 struct CREATE3resok {
147 post_op_fh3 obj;
148 post_op_attr attributes;
149 wcc_data wcc;
150 };
151
152
153 Methods defined here:
154 ---------------------
155
156 __init__(self, unpack)
157
158 class FSINFO3args(baseobj.BaseObj)
159 struct FSINFO3args {
160 nfs_fh3 fh;
161 };
162
163
164 Methods defined here:
165 ---------------------
166
167 __init__(self, unpack)
168
169 class FSINFO3res(baseobj.BaseObj)
170 union switch FSINFO3res (nfsstat3 status) {
171 case const.NFS3_OK:
172 FSINFO3resok resok;
173 default:
174 FSINFO3resfail resfail;
175 };
176
177
178 Methods defined here:
179 ---------------------
180
181 __init__(self, unpack)
182
183 class FSINFO3resfail(baseobj.BaseObj)
184 struct FSINFO3resfail {
185 post_op_attr attributes;
186 };
187
188
189 Methods defined here:
190 ---------------------
191
192 __init__(self, unpack)
193
194 class FSINFO3resok(baseobj.BaseObj)
195 struct FSINFO3resok {
196 post_op_attr attributes;
197 uint32 rtmax;
198 uint32 rtpref;
199 uint32 rtmult;
200 uint32 wtmax;
201 uint32 wtpref;
202 uint32 wtmult;
203 uint32 dtpref;
204 size3 maxfilesize;
205 nfstime3 time_delta;
206 uint32 properties;
207 };
208
209
210 Methods defined here:
211 ---------------------
212
213 __init__(self, unpack)
214
215 class FSSTAT3args(baseobj.BaseObj)
216 struct FSSTAT3args {
217 nfs_fh3 fh;
218 };
219
220
221 Methods defined here:
222 ---------------------
223
224 __init__(self, unpack)
225
226 class FSSTAT3res(baseobj.BaseObj)
227 union switch FSSTAT3res (nfsstat3 status) {
228 case const.NFS3_OK:
229 FSSTAT3resok resok;
230 default:
231 FSSTAT3resfail resfail;
232 };
233
234
235 Methods defined here:
236 ---------------------
237
238 __init__(self, unpack)
239
240 class FSSTAT3resfail(baseobj.BaseObj)
241 struct FSSTAT3resfail {
242 post_op_attr attributes;
243 };
244
245
246 Methods defined here:
247 ---------------------
248
249 __init__(self, unpack)
250
251 class FSSTAT3resok(baseobj.BaseObj)
252 struct FSSTAT3resok {
253 post_op_attr attributes;
254 size3 tbytes;
255 size3 fbytes;
256 size3 abytes;
257 size3 tfiles;
258 size3 ffiles;
259 size3 afiles;
260 uint32 invarsec;
261 };
262
263
264 Methods defined here:
265 ---------------------
266
267 __init__(self, unpack)
268
269 class GETATTR3args(baseobj.BaseObj)
270 struct GETATTR3args {
271 nfs_fh3 fh;
272 };
273
274
275 Methods defined here:
276 ---------------------
277
278 __init__(self, unpack)
279
280 class GETATTR3res(baseobj.BaseObj)
281 union switch GETATTR3res (nfsstat3 status) {
282 case const.NFS3_OK:
283 GETATTR3resok resok;
284 default:
285 void;
286 };
287
288
289 Methods defined here:
290 ---------------------
291
292 __init__(self, unpack)
293
294 class GETATTR3resok(baseobj.BaseObj)
295 struct GETATTR3resok {
296 fattr3 attributes;
297 };
298
299
300 Methods defined here:
301 ---------------------
302
303 __init__(self, unpack)
304
305 class LINK3args(baseobj.BaseObj)
306 struct LINK3args {
307 nfs_fh3 fh;
308 diropargs3 link;
309 };
310
311
312 Methods defined here:
313 ---------------------
314
315 __init__(self, unpack)
316
317 class LINK3res(baseobj.BaseObj)
318 union switch LINK3res (nfsstat3 status) {
319 case const.NFS3_OK:
320 LINK3resok resok;
321 default:
322 LINK3resfail resfail;
323 };
324
325
326 Methods defined here:
327 ---------------------
328
329 __init__(self, unpack)
330
331 class LINK3resfail(baseobj.BaseObj)
332 struct LINK3resfail {
333 post_op_attr attributes;
334 wcc_data wcc;
335 };
336
337
338 Methods defined here:
339 ---------------------
340
341 __init__(self, unpack)
342
343 class LINK3resok(baseobj.BaseObj)
344 struct LINK3resok {
345 post_op_attr attributes;
346 wcc_data wcc;
347 };
348
349
350 Methods defined here:
351 ---------------------
352
353 __init__(self, unpack)
354
355 class LOOKUP3args(baseobj.BaseObj)
356 struct LOOKUP3args {
357 diropargs3 what;
358 };
359
360
361 Methods defined here:
362 ---------------------
363
364 __init__(self, unpack)
365
366 class LOOKUP3res(baseobj.BaseObj)
367 union switch LOOKUP3res (nfsstat3 status) {
368 case const.NFS3_OK:
369 LOOKUP3resok resok;
370 default:
371 LOOKUP3resfail resfail;
372 };
373
374
375 Methods defined here:
376 ---------------------
377
378 __init__(self, unpack)
379
380 class LOOKUP3resfail(baseobj.BaseObj)
381 struct LOOKUP3resfail {
382 post_op_attr dir_attributes;
383 };
384
385
386 Methods defined here:
387 ---------------------
388
389 __init__(self, unpack)
390
391 class LOOKUP3resok(baseobj.BaseObj)
392 struct LOOKUP3resok {
393 nfs_fh3 fh;
394 post_op_attr attributes;
395 post_op_attr dir_attributes;
396 };
397
398
399 Methods defined here:
400 ---------------------
401
402 __init__(self, unpack)
403
404 class MKDIR3args(baseobj.BaseObj)
405 struct MKDIR3args {
406 diropargs3 where;
407 sattr3 attributes;
408 };
409
410
411 Methods defined here:
412 ---------------------
413
414 __init__(self, unpack)
415
416 class MKDIR3res(baseobj.BaseObj)
417 union switch MKDIR3res (nfsstat3 status) {
418 case const.NFS3_OK:
419 MKDIR3resok resok;
420 default:
421 MKDIR3resfail resfail;
422 };
423
424
425 Methods defined here:
426 ---------------------
427
428 __init__(self, unpack)
429
430 class MKDIR3resfail(baseobj.BaseObj)
431 struct MKDIR3resfail {
432 wcc_data wcc;
433 };
434
435
436 Methods defined here:
437 ---------------------
438
439 __init__(self, unpack)
440
441 class MKDIR3resok(baseobj.BaseObj)
442 struct MKDIR3resok {
443 post_op_fh3 obj;
444 post_op_attr attributes;
445 wcc_data wcc;
446 };
447
448
449 Methods defined here:
450 ---------------------
451
452 __init__(self, unpack)
453
454 class MKNOD3args(baseobj.BaseObj)
455 struct MKNOD3args {
456 diropargs3 where;
457 mknoddata3 what;
458 };
459
460
461 Methods defined here:
462 ---------------------
463
464 __init__(self, unpack)
465
466 class MKNOD3res(baseobj.BaseObj)
467 union switch MKNOD3res (nfsstat3 status) {
468 case const.NFS3_OK:
469 MKNOD3resok resok;
470 default:
471 MKNOD3resfail resfail;
472 };
473
474
475 Methods defined here:
476 ---------------------
477
478 __init__(self, unpack)
479
480 class MKNOD3resfail(baseobj.BaseObj)
481 struct MKNOD3resfail {
482 wcc_data wcc;
483 };
484
485
486 Methods defined here:
487 ---------------------
488
489 __init__(self, unpack)
490
491 class MKNOD3resok(baseobj.BaseObj)
492 struct MKNOD3resok {
493 post_op_fh3 obj;
494 post_op_attr attributes;
495 wcc_data wcc;
496 };
497
498
499 Methods defined here:
500 ---------------------
501
502 __init__(self, unpack)
503
504 class NFS3args(packet.utils.RPCload)
505 union switch NFS3args (nfs_proc3 procedure) {
506 case const.NFSPROC3_NULL:
507 void;
508 case const.NFSPROC3_GETATTR:
509 GETATTR3args opgetattr;
510 case const.NFSPROC3_SETATTR:
511 SETATTR3args opsetattr;
512 case const.NFSPROC3_LOOKUP:
513 LOOKUP3args oplookup;
514 case const.NFSPROC3_ACCESS:
515 ACCESS3args opaccess;
516 case const.NFSPROC3_READLINK:
517 READLINK3args opreadlink;
518 case const.NFSPROC3_READ:
519 READ3args opread;
520 case const.NFSPROC3_WRITE:
521 WRITE3args opwrite;
522 case const.NFSPROC3_CREATE:
523 CREATE3args opcreate;
524 case const.NFSPROC3_MKDIR:
525 MKDIR3args opmkdir;
526 case const.NFSPROC3_SYMLINK:
527 SYMLINK3args opsymlink;
528 case const.NFSPROC3_MKNOD:
529 MKNOD3args opmknod;
530 case const.NFSPROC3_REMOVE:
531 REMOVE3args opremove;
532 case const.NFSPROC3_RMDIR:
533 RMDIR3args oprmdir;
534 case const.NFSPROC3_RENAME:
535 RENAME3args oprename;
536 case const.NFSPROC3_LINK:
537 LINK3args oplink;
538 case const.NFSPROC3_READDIR:
539 READDIR3args opreaddir;
540 case const.NFSPROC3_READDIRPLUS:
541 READDIRPLUS3args opreaddirplus;
542 case const.NFSPROC3_FSSTAT:
543 FSSTAT3args opfsstat;
544 case const.NFSPROC3_FSINFO:
545 FSINFO3args opfsinfo;
546 case const.NFSPROC3_PATHCONF:
547 PATHCONF3args oppathconf;
548 case const.NFSPROC3_COMMIT:
549 COMMIT3args opcommit;
550 };
551
552
553 Methods defined here:
554 ---------------------
555
556 __init__(self, unpack, procedure)
557
558 class NFS3res(packet.utils.RPCload)
559 union switch NFS3res (nfs_proc3 procedure) {
560 case const.NFSPROC3_NULL:
561 void;
562 case const.NFSPROC3_GETATTR:
563 GETATTR3res opgetattr;
564 case const.NFSPROC3_SETATTR:
565 SETATTR3res opsetattr;
566 case const.NFSPROC3_LOOKUP:
567 LOOKUP3res oplookup;
568 case const.NFSPROC3_ACCESS:
569 ACCESS3res opaccess;
570 case const.NFSPROC3_READLINK:
571 READLINK3res opreadlink;
572 case const.NFSPROC3_READ:
573 READ3res opread;
574 case const.NFSPROC3_WRITE:
575 WRITE3res opwrite;
576 case const.NFSPROC3_CREATE:
577 CREATE3res opcreate;
578 case const.NFSPROC3_MKDIR:
579 MKDIR3res opmkdir;
580 case const.NFSPROC3_SYMLINK:
581 SYMLINK3res opsymlink;
582 case const.NFSPROC3_MKNOD:
583 MKNOD3res opmknod;
584 case const.NFSPROC3_REMOVE:
585 REMOVE3res opremove;
586 case const.NFSPROC3_RMDIR:
587 RMDIR3res oprmdir;
588 case const.NFSPROC3_RENAME:
589 RENAME3res oprename;
590 case const.NFSPROC3_LINK:
591 LINK3res oplink;
592 case const.NFSPROC3_READDIR:
593 READDIR3res opreaddir;
594 case const.NFSPROC3_READDIRPLUS:
595 READDIRPLUS3res opreaddirplus;
596 case const.NFSPROC3_FSSTAT:
597 FSSTAT3res opfsstat;
598 case const.NFSPROC3_FSINFO:
599 FSINFO3res opfsinfo;
600 case const.NFSPROC3_PATHCONF:
601 PATHCONF3res oppathconf;
602 case const.NFSPROC3_COMMIT:
603 COMMIT3res opcommit;
604 };
605
606
607 Methods defined here:
608 ---------------------
609
610 __init__(self, unpack, procedure)
611
612 class PATHCONF3args(baseobj.BaseObj)
613 struct PATHCONF3args {
614 nfs_fh3 fh;
615 };
616
617
618 Methods defined here:
619 ---------------------
620
621 __init__(self, unpack)
622
623 class PATHCONF3res(baseobj.BaseObj)
624 union switch PATHCONF3res (nfsstat3 status) {
625 case const.NFS3_OK:
626 PATHCONF3resok resok;
627 default:
628 PATHCONF3resfail resfail;
629 };
630
631
632 Methods defined here:
633 ---------------------
634
635 __init__(self, unpack)
636
637 class PATHCONF3resfail(baseobj.BaseObj)
638 struct PATHCONF3resfail {
639 post_op_attr attributes;
640 };
641
642
643 Methods defined here:
644 ---------------------
645
646 __init__(self, unpack)
647
648 class PATHCONF3resok(baseobj.BaseObj)
649 struct PATHCONF3resok {
650 post_op_attr attributes;
651 uint32 linkmax;
652 uint32 name_max;
653 bool no_trunc;
654 bool chown_restricted;
655 bool case_insensitive;
656 bool case_preserving;
657 };
658
659
660 Methods defined here:
661 ---------------------
662
663 __init__(self, unpack)
664
665 class READ3args(baseobj.BaseObj)
666 struct READ3args {
667 nfs_fh3 fh;
668 offset3 offset;
669 count3 count;
670 };
671
672
673 Methods defined here:
674 ---------------------
675
676 __init__(self, unpack)
677
678 class READ3res(baseobj.BaseObj)
679 union switch READ3res (nfsstat3 status) {
680 case const.NFS3_OK:
681 READ3resok resok;
682 default:
683 READ3resfail resfail;
684 };
685
686
687 Methods defined here:
688 ---------------------
689
690 __init__(self, unpack)
691
692 class READ3resfail(baseobj.BaseObj)
693 struct READ3resfail {
694 post_op_attr file_attributes;
695 };
696
697
698 Methods defined here:
699 ---------------------
700
701 __init__(self, unpack)
702
703 class READ3resok(baseobj.BaseObj)
704 struct READ3resok {
705 post_op_attr attributes;
706 count3 count;
707 bool eof;
708 opaque data<>;
709 };
710
711
712 Methods defined here:
713 ---------------------
714
715 __init__(self, unpack)
716
717 class READDIR3args(baseobj.BaseObj)
718 struct READDIR3args {
719 nfs_fh3 fh;
720 cookie3 cookie;
721 cookieverf3 verifier;
722 count3 count;
723 };
724
725
726 Methods defined here:
727 ---------------------
728
729 __init__(self, unpack)
730
731 class READDIR3res(baseobj.BaseObj)
732 union switch READDIR3res (nfsstat3 status) {
733 case const.NFS3_OK:
734 READDIR3resok resok;
735 default:
736 READDIR3resfail resfail;
737 };
738
739
740 Methods defined here:
741 ---------------------
742
743 __init__(self, unpack)
744
745 class READDIR3resfail(baseobj.BaseObj)
746 struct READDIR3resfail {
747 post_op_attr attributes;
748 };
749
750
751 Methods defined here:
752 ---------------------
753
754 __init__(self, unpack)
755
756 class READDIR3resok(baseobj.BaseObj)
757 struct READDIR3resok {
758 post_op_attr attributes;
759 cookieverf3 verifier;
760 dirlist3 reply;
761 };
762
763
764 Methods defined here:
765 ---------------------
766
767 __init__(self, unpack)
768
769 class READDIRPLUS3args(baseobj.BaseObj)
770 struct READDIRPLUS3args {
771 nfs_fh3 fh;
772 cookie3 cookie;
773 cookieverf3 verifier;
774 count3 dircount;
775 count3 maxcount;
776 };
777
778
779 Methods defined here:
780 ---------------------
781
782 __init__(self, unpack)
783
784 class READDIRPLUS3res(baseobj.BaseObj)
785 union switch READDIRPLUS3res (nfsstat3 status) {
786 case const.NFS3_OK:
787 READDIRPLUS3resok resok;
788 default:
789 READDIRPLUS3resfail resfail;
790 };
791
792
793 Methods defined here:
794 ---------------------
795
796 __init__(self, unpack)
797
798 class READDIRPLUS3resfail(baseobj.BaseObj)
799 struct READDIRPLUS3resfail {
800 post_op_attr attributes;
801 };
802
803
804 Methods defined here:
805 ---------------------
806
807 __init__(self, unpack)
808
809 class READDIRPLUS3resok(baseobj.BaseObj)
810 struct READDIRPLUS3resok {
811 post_op_attr attributes;
812 cookieverf3 verifier;
813 dirlistplus3 reply;
814 };
815
816
817 Methods defined here:
818 ---------------------
819
820 __init__(self, unpack)
821
822 class READLINK3args(baseobj.BaseObj)
823 struct READLINK3args {
824 nfs_fh3 fh;
825 };
826
827
828 Methods defined here:
829 ---------------------
830
831 __init__(self, unpack)
832
833 class READLINK3res(baseobj.BaseObj)
834 union switch READLINK3res (nfsstat3 status) {
835 case const.NFS3_OK:
836 READLINK3resok resok;
837 default:
838 READLINK3resfail resfail;
839 };
840
841
842 Methods defined here:
843 ---------------------
844
845 __init__(self, unpack)
846
847 class READLINK3resfail(baseobj.BaseObj)
848 struct READLINK3resfail {
849 post_op_attr attributes;
850 };
851
852
853 Methods defined here:
854 ---------------------
855
856 __init__(self, unpack)
857
858 class READLINK3resok(baseobj.BaseObj)
859 struct READLINK3resok {
860 post_op_attr attributes;
861 nfspath3 link;
862 };
863
864
865 Methods defined here:
866 ---------------------
867
868 __init__(self, unpack)
869
870 class REMOVE3args(baseobj.BaseObj)
871 struct REMOVE3args {
872 diropargs3 object;
873 };
874
875
876 Methods defined here:
877 ---------------------
878
879 __init__(self, unpack)
880
881 class REMOVE3res(baseobj.BaseObj)
882 union switch REMOVE3res (nfsstat3 status) {
883 case const.NFS3_OK:
884 REMOVE3resok resok;
885 default:
886 REMOVE3resfail resfail;
887 };
888
889
890 Methods defined here:
891 ---------------------
892
893 __init__(self, unpack)
894
895 class REMOVE3resfail(baseobj.BaseObj)
896 struct REMOVE3resfail {
897 wcc_data wcc;
898 };
899
900
901 Methods defined here:
902 ---------------------
903
904 __init__(self, unpack)
905
906 class REMOVE3resok(baseobj.BaseObj)
907 struct REMOVE3resok {
908 wcc_data wcc;
909 };
910
911
912 Methods defined here:
913 ---------------------
914
915 __init__(self, unpack)
916
917 class RENAME3args(baseobj.BaseObj)
918 struct RENAME3args {
919 diropargs3 nfrom;
920 diropargs3 nto;
921 };
922
923
924 Methods defined here:
925 ---------------------
926
927 __init__(self, unpack)
928
929 class RENAME3res(baseobj.BaseObj)
930 union switch RENAME3res (nfsstat3 status) {
931 case const.NFS3_OK:
932 RENAME3resok resok;
933 default:
934 RENAME3resfail resfail;
935 };
936
937
938 Methods defined here:
939 ---------------------
940
941 __init__(self, unpack)
942
943 class RENAME3resfail(baseobj.BaseObj)
944 struct RENAME3resfail {
945 wcc_data fromdir_wcc;
946 wcc_data todir_wcc;
947 };
948
949
950 Methods defined here:
951 ---------------------
952
953 __init__(self, unpack)
954
955 class RENAME3resok(baseobj.BaseObj)
956 struct RENAME3resok {
957 wcc_data fromdir_wcc;
958 wcc_data todir_wcc;
959 };
960
961
962 Methods defined here:
963 ---------------------
964
965 __init__(self, unpack)
966
967 class RMDIR3args(baseobj.BaseObj)
968 struct RMDIR3args {
969 diropargs3 object;
970 };
971
972
973 Methods defined here:
974 ---------------------
975
976 __init__(self, unpack)
977
978 class RMDIR3res(baseobj.BaseObj)
979 union switch RMDIR3res (nfsstat3 status) {
980 case const.NFS3_OK:
981 RMDIR3resok resok;
982 default:
983 RMDIR3resfail resfail;
984 };
985
986
987 Methods defined here:
988 ---------------------
989
990 __init__(self, unpack)
991
992 class RMDIR3resfail(baseobj.BaseObj)
993 struct RMDIR3resfail {
994 wcc_data wcc;
995 };
996
997
998 Methods defined here:
999 ---------------------
1000
1001 __init__(self, unpack)
1002
1003 class RMDIR3resok(baseobj.BaseObj)
1004 struct RMDIR3resok {
1005 wcc_data wcc;
1006 };
1007
1008
1009 Methods defined here:
1010 ---------------------
1011
1012 __init__(self, unpack)
1013
1014 class SETATTR3args(baseobj.BaseObj)
1015 struct SETATTR3args {
1016 nfs_fh3 fh;
1017 sattr3 attributes;
1018 sattrguard3 guard;
1019 };
1020
1021
1022 Methods defined here:
1023 ---------------------
1024
1025 __init__(self, unpack)
1026
1027 class SETATTR3res(baseobj.BaseObj)
1028 union switch SETATTR3res (nfsstat3 status) {
1029 case const.NFS3_OK:
1030 SETATTR3resok resok;
1031 default:
1032 SETATTR3resfail resfail;
1033 };
1034
1035
1036 Methods defined here:
1037 ---------------------
1038
1039 __init__(self, unpack)
1040
1041 class SETATTR3resfail(baseobj.BaseObj)
1042 struct SETATTR3resfail {
1043 wcc_data wcc;
1044 };
1045
1046
1047 Methods defined here:
1048 ---------------------
1049
1050 __init__(self, unpack)
1051
1052 class SETATTR3resok(baseobj.BaseObj)
1053 struct SETATTR3resok {
1054 wcc_data wcc;
1055 };
1056
1057
1058 Methods defined here:
1059 ---------------------
1060
1061 __init__(self, unpack)
1062
1063 class SYMLINK3args(baseobj.BaseObj)
1064 struct SYMLINK3args {
1065 diropargs3 where;
1066 symlinkdata3 symlink;
1067 };
1068
1069
1070 Methods defined here:
1071 ---------------------
1072
1073 __init__(self, unpack)
1074
1075 class SYMLINK3res(baseobj.BaseObj)
1076 union switch SYMLINK3res (nfsstat3 status) {
1077 case const.NFS3_OK:
1078 SYMLINK3resok resok;
1079 default:
1080 SYMLINK3resfail resfail;
1081 };
1082
1083
1084 Methods defined here:
1085 ---------------------
1086
1087 __init__(self, unpack)
1088
1089 class SYMLINK3resfail(baseobj.BaseObj)
1090 struct SYMLINK3resfail {
1091 wcc_data dir_wcc;
1092 };
1093
1094
1095 Methods defined here:
1096 ---------------------
1097
1098 __init__(self, unpack)
1099
1100 class SYMLINK3resok(baseobj.BaseObj)
1101 struct SYMLINK3resok {
1102 post_op_fh3 obj;
1103 post_op_attr attributes;
1104 wcc_data wcc;
1105 };
1106
1107
1108 Methods defined here:
1109 ---------------------
1110
1111 __init__(self, unpack)
1112
1113 class WRITE3args(baseobj.BaseObj)
1114 struct WRITE3args {
1115 nfs_fh3 fh;
1116 offset3 offset;
1117 count3 count;
1118 stable_how stable;
1119 opaque data<>;
1120 };
1121
1122
1123 Methods defined here:
1124 ---------------------
1125
1126 __init__(self, unpack)
1127
1128 class WRITE3res(baseobj.BaseObj)
1129 union switch WRITE3res (nfsstat3 status) {
1130 case const.NFS3_OK:
1131 WRITE3resok resok;
1132 default:
1133 WRITE3resfail resfail;
1134 };
1135
1136
1137 Methods defined here:
1138 ---------------------
1139
1140 __init__(self, unpack)
1141
1142 class WRITE3resfail(baseobj.BaseObj)
1143 struct WRITE3resfail {
1144 wcc_data wcc;
1145 };
1146
1147
1148 Methods defined here:
1149 ---------------------
1150
1151 __init__(self, unpack)
1152
1153 class WRITE3resok(baseobj.BaseObj)
1154 struct WRITE3resok {
1155 wcc_data wcc;
1156 count3 count;
1157 stable_how committed;
1158 writeverf3 verifier;
1159 };
1160
1161
1162 Methods defined here:
1163 ---------------------
1164
1165 __init__(self, unpack)
1166
1167 class createhow3(baseobj.BaseObj)
1168 union switch createhow3 (createmode3 mode) {
1169 case const.UNCHECKED:
1170 case const.GUARDED:
1171 sattr3 attributes;
1172 case const.EXCLUSIVE:
1173 createverf3 verifier;
1174 };
1175
1176
1177 Methods defined here:
1178 ---------------------
1179
1180 __init__(self, unpack)
1181
1182 class createmode3(packet.utils.Enum)
1183 enum createmode3
1184
1185
1186 class devicedata3(baseobj.BaseObj)
1187 struct devicedata3 {
1188 sattr3 attributes;
1189 specdata3 spec;
1190 };
1191
1192
1193 Methods defined here:
1194 ---------------------
1195
1196 __init__(self, unpack)
1197
1198 class dirlist3(baseobj.BaseObj)
1199 struct dirlist3 {
1200 entry3 *entries;
1201 bool eof;
1202 };
1203
1204
1205 Methods defined here:
1206 ---------------------
1207
1208 __init__(self, unpack)
1209
1210 class dirlistplus3(baseobj.BaseObj)
1211 struct dirlistplus3 {
1212 entryplus3 *entries;
1213 bool eof;
1214 };
1215
1216
1217 Methods defined here:
1218 ---------------------
1219
1220 __init__(self, unpack)
1221
1222 class diropargs3(baseobj.BaseObj)
1223 struct diropargs3 {
1224 nfs_fh3 fh;
1225 filename3 name;
1226 };
1227
1228
1229 Methods defined here:
1230 ---------------------
1231
1232 __init__(self, unpack)
1233
1234 class entry3(baseobj.BaseObj)
1235 struct entry3 {
1236 fileid3 fileid;
1237 filename3 name;
1238 cookie3 cookie;
1239 entry3 *nextentry;
1240 };
1241
1242
1243 Methods defined here:
1244 ---------------------
1245
1246 __init__(self, unpack)
1247
1248 class entryplus3(baseobj.BaseObj)
1249 struct entryplus3 {
1250 fileid3 fileid;
1251 filename3 name;
1252 cookie3 cookie;
1253 post_op_attr attributes;
1254 post_op_fh3 obj;
1255 entryplus3 *nextentry;
1256 };
1257
1258
1259 Methods defined here:
1260 ---------------------
1261
1262 __init__(self, unpack)
1263
1264 class fattr3(baseobj.BaseObj)
1265 struct fattr3 {
1266 ftype3 type;
1267 mode3 mode;
1268 uint32 nlink;
1269 uid3 uid;
1270 gid3 gid;
1271 size3 size;
1272 size3 used;
1273 specdata3 rdev;
1274 uint64 fsid;
1275 fileid3 fileid;
1276 nfstime3 atime;
1277 nfstime3 mtime;
1278 nfstime3 ctime;
1279 };
1280
1281
1282 Methods defined here:
1283 ---------------------
1284
1285 __init__(self, unpack)
1286
1287 class ftype3(packet.utils.Enum)
1288 enum ftype3
1289
1290
1291 class mknoddata3(baseobj.BaseObj)
1292 union switch mknoddata3 (ftype3 type) {
1293 case const.NF3CHR:
1294 case const.NF3BLK:
1295 devicedata3 device;
1296 case const.NF3SOCK:
1297 case const.NF3FIFO:
1298 sattr3 attributes;
1299 default:
1300 void;
1301 };
1302
1303
1304 Methods defined here:
1305 ---------------------
1306
1307 __init__(self, unpack)
1308
1309 class nfs_bool(packet.utils.Enum)
1310 enum nfs_bool
1311
1312
1313 class nfs_proc3(packet.utils.Enum)
1314 enum nfs_proc3
1315
1316
1317 class nfsstat3(packet.utils.Enum)
1318 enum nfsstat3
1319
1320
1321 class nfstime3(baseobj.BaseObj)
1322 struct nfstime3 {
1323 uint32 seconds;
1324 uint32 nseconds;
1325 };
1326
1327
1328 Methods defined here:
1329 ---------------------
1330
1331 __init__(self, unpack)
1332
1333 class post_op_attr(baseobj.BaseObj)
1334 union switch post_op_attr (bool attributes_follow) {
1335 case const.TRUE:
1336 fattr3 attributes;
1337 case const.FALSE:
1338 void;
1339 };
1340
1341
1342 Methods defined here:
1343 ---------------------
1344
1345 __init__(self, unpack)
1346
1347 class post_op_fh3(baseobj.BaseObj)
1348 union switch post_op_fh3 (bool handle_follows) {
1349 case const.TRUE:
1350 nfs_fh3 fh;
1351 case const.FALSE:
1352 void;
1353 };
1354
1355
1356 Methods defined here:
1357 ---------------------
1358
1359 __init__(self, unpack)
1360
1361 class pre_op_attr(baseobj.BaseObj)
1362 union switch pre_op_attr (bool attributes_follow) {
1363 case const.TRUE:
1364 wcc_attr attributes;
1365 case const.FALSE:
1366 void;
1367 };
1368
1369
1370 Methods defined here:
1371 ---------------------
1372
1373 __init__(self, unpack)
1374
1375 class sattr3(baseobj.BaseObj)
1376 struct sattr3 {
1377 set_mode3 mode;
1378 set_uid3 uid;
1379 set_gid3 gid;
1380 set_size3 size;
1381 set_atime atime;
1382 set_mtime mtime;
1383 };
1384
1385
1386 Methods defined here:
1387 ---------------------
1388
1389 __init__(self, unpack)
1390
1391 class sattrguard3(baseobj.BaseObj)
1392 union switch sattrguard3 (bool check) {
1393 case const.TRUE:
1394 nfstime3 ctime;
1395 case const.FALSE:
1396 void;
1397 };
1398
1399
1400 Methods defined here:
1401 ---------------------
1402
1403 __init__(self, unpack)
1404
1405 class set_atime(baseobj.BaseObj)
1406 union switch set_atime (time_how set_it) {
1407 case const.SET_TO_CLIENT_TIME:
1408 nfstime3 atime;
1409 default:
1410 void;
1411 };
1412
1413
1414 Methods defined here:
1415 ---------------------
1416
1417 __init__(self, unpack)
1418
1419 class set_gid3(baseobj.BaseObj)
1420 union switch set_gid3 (bool set_it) {
1421 case const.TRUE:
1422 gid3 gid;
1423 default:
1424 void;
1425 };
1426
1427
1428 Methods defined here:
1429 ---------------------
1430
1431 __init__(self, unpack)
1432
1433 class set_mode3(baseobj.BaseObj)
1434 union switch set_mode3 (bool set_it) {
1435 case const.TRUE:
1436 mode3 mode;
1437 default:
1438 void;
1439 };
1440
1441
1442 Methods defined here:
1443 ---------------------
1444
1445 __init__(self, unpack)
1446
1447 class set_mtime(baseobj.BaseObj)
1448 union switch set_mtime (time_how set_it) {
1449 case const.SET_TO_CLIENT_TIME:
1450 nfstime3 mtime;
1451 default:
1452 void;
1453 };
1454
1455
1456 Methods defined here:
1457 ---------------------
1458
1459 __init__(self, unpack)
1460
1461 class set_size3(baseobj.BaseObj)
1462 union switch set_size3 (bool set_it) {
1463 case const.TRUE:
1464 size3 size;
1465 default:
1466 void;
1467 };
1468
1469
1470 Methods defined here:
1471 ---------------------
1472
1473 __init__(self, unpack)
1474
1475 class set_uid3(baseobj.BaseObj)
1476 union switch set_uid3 (bool set_it) {
1477 case const.TRUE:
1478 uid3 uid;
1479 default:
1480 void;
1481 };
1482
1483
1484 Methods defined here:
1485 ---------------------
1486
1487 __init__(self, unpack)
1488
1489 class specdata3(baseobj.BaseObj)
1490 struct specdata3 {
1491 uint32 specdata1;
1492 uint32 specdata2;
1493 };
1494
1495
1496 Methods defined here:
1497 ---------------------
1498
1499 __init__(self, unpack)
1500
1501 class stable_how(packet.utils.Enum)
1502 enum stable_how
1503
1504
1505 class symlinkdata3(baseobj.BaseObj)
1506 struct symlinkdata3 {
1507 sattr3 attributes;
1508 nfspath3 linkdata;
1509 };
1510
1511
1512 Methods defined here:
1513 ---------------------
1514
1515 __init__(self, unpack)
1516
1517 class time_how(packet.utils.Enum)
1518 enum time_how
1519
1520
1521 class wcc_attr(baseobj.BaseObj)
1522 struct wcc_attr {
1523 size3 size;
1524 nfstime3 mtime;
1525 nfstime3 ctime;
1526 };
1527
1528
1529 Methods defined here:
1530 ---------------------
1531
1532 __init__(self, unpack)
1533
1534 class wcc_data(baseobj.BaseObj)
1535 struct wcc_data {
1536 pre_op_attr before;
1537 post_op_attr after;
1538 };
1539
1540
1541 Methods defined here:
1542 ---------------------
1543
1544 __init__(self, unpack)
1545
1547 cookieverf3(unpack)
1548 createverf3(unpack)
1549 nfs_fh3(unpack)
1550 writeverf3(unpack)
1552 baseobj(3), packet.unpack(3), packet.utils(3)
1553
1554
1556 No known bugs.
1557
1559 Jorge Mora (mora@netapp.com)
1560
1561
1562
1563NFStest 2.1.5 14 February 2017 NFS3(3)