Family nfsd
netlink specification¶
Summary¶
NFSD configuration over generic netlink.
Operations¶
rpc-status-get¶
dump pending nfsd rpc
- attribute-set:
- dump:
pre
post
- reply
- attributes:
[
xid
,flags
,prog
,version
,proc
,service_time
,saddr4
,daddr4
,saddr6
,daddr6
,sport
,dport
,compound-ops
]
threads-set¶
set the number of running threads
- attribute-set:
- flags:
[‘admin-perm’]
- do:
- request
- attributes:
[
threads
,gracetime
,leasetime
,scope
]
threads-get¶
get the number of running threads
- attribute-set:
- do:
- reply
- attributes:
[
threads
,gracetime
,leasetime
,scope
]
version-set¶
set nfs enabled versions
- attribute-set:
- flags:
[‘admin-perm’]
- do:
- request
- attributes:
[
version
]
version-get¶
get nfs enabled versions
- attribute-set:
- do:
- reply
- attributes:
[
version
]
listener-set¶
set nfs running sockets
- attribute-set:
- flags:
[‘admin-perm’]
- do:
- request
- attributes:
[
addr
]
listener-get¶
get nfs running listeners
- attribute-set:
- do:
- reply
- attributes:
[
addr
]
Attribute sets¶
rpc-status¶
xid (u32
)¶
- byte-order:
big-endian
flags (u32
)¶
prog (u32
)¶
version (u8
)¶
proc (u32
)¶
service_time (s64
)¶
pad (pad
)¶
saddr4 (u32
)¶
- byte-order:
big-endian
- display-hint:
ipv4
daddr4 (u32
)¶
- byte-order:
big-endian
- display-hint:
ipv4
saddr6 (binary
)¶
- display-hint:
ipv6
daddr6 (binary
)¶
- display-hint:
ipv6
sport (u16
)¶
- byte-order:
big-endian
dport (u16
)¶
- byte-order:
big-endian
compound-ops (u32
)¶
- multi-attr:
True
server¶
threads (u32
)¶
- multi-attr:
True
gracetime (u32
)¶
leasetime (u32
)¶
scope (string
)¶
version¶
major (u32
)¶
minor (u32
)¶
enabled (flag
)¶
server-proto¶
version (nest
)¶
- nested-attributes:
- multi-attr:
True
sock¶
addr (binary
)¶
transport-name (string
)¶
server-sock¶
addr (nest
)¶
- nested-attributes:
- multi-attr:
True