xref: /linux/Documentation/netlink/specs/nfsd.yaml (revision 3bf3e21c15d4386a5f15118ec39bbc1b67ea5759)
1# SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause)
2
3name: nfsd
4protocol: genetlink
5uapi-header: linux/nfsd_netlink.h
6
7doc: NFSD configuration over generic netlink.
8
9attribute-sets:
10  -
11    name: rpc-status
12    attributes:
13      -
14        name: xid
15        type: u32
16        byte-order: big-endian
17      -
18        name: flags
19        type: u32
20      -
21        name: prog
22        type: u32
23      -
24        name: version
25        type: u8
26      -
27        name: proc
28        type: u32
29      -
30        name: service_time
31        type: s64
32      -
33        name: pad
34        type: pad
35      -
36        name: saddr4
37        type: u32
38        byte-order: big-endian
39        display-hint: ipv4
40      -
41        name: daddr4
42        type: u32
43        byte-order: big-endian
44        display-hint: ipv4
45      -
46        name: saddr6
47        type: binary
48        display-hint: ipv6
49      -
50        name: daddr6
51        type: binary
52        display-hint: ipv6
53      -
54        name: sport
55        type: u16
56        byte-order: big-endian
57      -
58        name: dport
59        type: u16
60        byte-order: big-endian
61      -
62        name: compound-ops
63        type: u32
64        multi-attr: true
65
66operations:
67  list:
68    -
69      name: rpc-status-get
70      doc: dump pending nfsd rpc
71      attribute-set: rpc-status
72      dump:
73        pre: nfsd-nl-rpc-status-get-start
74        post: nfsd-nl-rpc-status-get-done
75        reply:
76          attributes:
77            - xid
78            - flags
79            - prog
80            - version
81            - proc
82            - service_time
83            - saddr4
84            - daddr4
85            - saddr6
86            - daddr6
87            - sport
88            - dport
89            - compound-ops
90