xref: /linux/fs/nfsd/netlink.h (revision 001821b0e79716c4e17c71d8e053a23599a7a508)
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 kernel header */
5 
6 #ifndef _LINUX_NFSD_GEN_H
7 #define _LINUX_NFSD_GEN_H
8 
9 #include <net/netlink.h>
10 #include <net/genetlink.h>
11 
12 #include <uapi/linux/nfsd_netlink.h>
13 
14 /* Common nested types */
15 extern const struct nla_policy nfsd_sock_nl_policy[NFSD_A_SOCK_TRANSPORT_NAME + 1];
16 extern const struct nla_policy nfsd_version_nl_policy[NFSD_A_VERSION_ENABLED + 1];
17 
18 int nfsd_nl_rpc_status_get_start(struct netlink_callback *cb);
19 int nfsd_nl_rpc_status_get_done(struct netlink_callback *cb);
20 
21 int nfsd_nl_rpc_status_get_dumpit(struct sk_buff *skb,
22 				  struct netlink_callback *cb);
23 int nfsd_nl_threads_set_doit(struct sk_buff *skb, struct genl_info *info);
24 int nfsd_nl_threads_get_doit(struct sk_buff *skb, struct genl_info *info);
25 int nfsd_nl_version_set_doit(struct sk_buff *skb, struct genl_info *info);
26 int nfsd_nl_version_get_doit(struct sk_buff *skb, struct genl_info *info);
27 int nfsd_nl_listener_set_doit(struct sk_buff *skb, struct genl_info *info);
28 int nfsd_nl_listener_get_doit(struct sk_buff *skb, struct genl_info *info);
29 
30 extern struct genl_family nfsd_nl_family;
31 
32 #endif /* _LINUX_NFSD_GEN_H */
33