xref: /linux/include/uapi/linux/nfsd_netlink.h (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
1 /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */
2 /* Do not edit directly, auto-generated from: */
3 /*	Documentation/netlink/specs/nfsd.yaml */
4 /* YNL-GEN uapi header */
5 
6 #ifndef _UAPI_LINUX_NFSD_NETLINK_H
7 #define _UAPI_LINUX_NFSD_NETLINK_H
8 
9 #define NFSD_FAMILY_NAME	"nfsd"
10 #define NFSD_FAMILY_VERSION	1
11 
12 enum {
13 	NFSD_A_RPC_STATUS_XID = 1,
14 	NFSD_A_RPC_STATUS_FLAGS,
15 	NFSD_A_RPC_STATUS_PROG,
16 	NFSD_A_RPC_STATUS_VERSION,
17 	NFSD_A_RPC_STATUS_PROC,
18 	NFSD_A_RPC_STATUS_SERVICE_TIME,
19 	NFSD_A_RPC_STATUS_PAD,
20 	NFSD_A_RPC_STATUS_SADDR4,
21 	NFSD_A_RPC_STATUS_DADDR4,
22 	NFSD_A_RPC_STATUS_SADDR6,
23 	NFSD_A_RPC_STATUS_DADDR6,
24 	NFSD_A_RPC_STATUS_SPORT,
25 	NFSD_A_RPC_STATUS_DPORT,
26 	NFSD_A_RPC_STATUS_COMPOUND_OPS,
27 
28 	__NFSD_A_RPC_STATUS_MAX,
29 	NFSD_A_RPC_STATUS_MAX = (__NFSD_A_RPC_STATUS_MAX - 1)
30 };
31 
32 enum {
33 	NFSD_A_SERVER_THREADS = 1,
34 	NFSD_A_SERVER_GRACETIME,
35 	NFSD_A_SERVER_LEASETIME,
36 	NFSD_A_SERVER_SCOPE,
37 
38 	__NFSD_A_SERVER_MAX,
39 	NFSD_A_SERVER_MAX = (__NFSD_A_SERVER_MAX - 1)
40 };
41 
42 enum {
43 	NFSD_A_VERSION_MAJOR = 1,
44 	NFSD_A_VERSION_MINOR,
45 	NFSD_A_VERSION_ENABLED,
46 
47 	__NFSD_A_VERSION_MAX,
48 	NFSD_A_VERSION_MAX = (__NFSD_A_VERSION_MAX - 1)
49 };
50 
51 enum {
52 	NFSD_A_SERVER_PROTO_VERSION = 1,
53 
54 	__NFSD_A_SERVER_PROTO_MAX,
55 	NFSD_A_SERVER_PROTO_MAX = (__NFSD_A_SERVER_PROTO_MAX - 1)
56 };
57 
58 enum {
59 	NFSD_A_SOCK_ADDR = 1,
60 	NFSD_A_SOCK_TRANSPORT_NAME,
61 
62 	__NFSD_A_SOCK_MAX,
63 	NFSD_A_SOCK_MAX = (__NFSD_A_SOCK_MAX - 1)
64 };
65 
66 enum {
67 	NFSD_A_SERVER_SOCK_ADDR = 1,
68 
69 	__NFSD_A_SERVER_SOCK_MAX,
70 	NFSD_A_SERVER_SOCK_MAX = (__NFSD_A_SERVER_SOCK_MAX - 1)
71 };
72 
73 enum {
74 	NFSD_A_POOL_MODE_MODE = 1,
75 	NFSD_A_POOL_MODE_NPOOLS,
76 
77 	__NFSD_A_POOL_MODE_MAX,
78 	NFSD_A_POOL_MODE_MAX = (__NFSD_A_POOL_MODE_MAX - 1)
79 };
80 
81 enum {
82 	NFSD_CMD_RPC_STATUS_GET = 1,
83 	NFSD_CMD_THREADS_SET,
84 	NFSD_CMD_THREADS_GET,
85 	NFSD_CMD_VERSION_SET,
86 	NFSD_CMD_VERSION_GET,
87 	NFSD_CMD_LISTENER_SET,
88 	NFSD_CMD_LISTENER_GET,
89 	NFSD_CMD_POOL_MODE_SET,
90 	NFSD_CMD_POOL_MODE_GET,
91 
92 	__NFSD_CMD_MAX,
93 	NFSD_CMD_MAX = (__NFSD_CMD_MAX - 1)
94 };
95 
96 #endif /* _UAPI_LINUX_NFSD_NETLINK_H */
97