History

NFSD: introduce netlink stubs

Generate stubs and uAPI for nfsd netlink protocol. For the moment, the new protocol has one operation: rpc_status. The generated header and source files are created by running: tools/net/ynl/ynl-regen.sh

Lorenzo Bianconi committed 3 years ago

Commit 13727f81 parent 6c41d9a6 files · +201 −1Browse files

Showing the changes to include/uapi (1 of 6 files). Show all

Unified · Split

include/uapi/linux/nfsd_netlink.h+39−0
@@ -0,0 +1,39 @@
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_H
7+#define _UAPI_LINUX_NFSD_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_CMD_RPC_STATUS_GET = 1,
34+
35+ __NFSD_CMD_MAX,
36+ NFSD_CMD_MAX = (__NFSD_CMD_MAX - 1)
37+};
38+
39+#endif /* _UAPI_LINUX_NFSD_H */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t