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 source */
6 #include <net/netlink.h>
7 #include <net/genetlink.h>
11 #include <uapi/linux/nfsd_netlink.h>
13 /* Ops table for nfsd */
14 static const struct genl_split_ops nfsd_nl_ops[] = {
16 .cmd = NFSD_CMD_RPC_STATUS_GET,
17 .start = nfsd_nl_rpc_status_get_start,
18 .dumpit = nfsd_nl_rpc_status_get_dumpit,
19 .done = nfsd_nl_rpc_status_get_done,
20 .flags = GENL_CMD_CAP_DUMP,
24 struct genl_family nfsd_nl_family __ro_after_init = {
25 .name = NFSD_FAMILY_NAME,
26 .version = NFSD_FAMILY_VERSION,
29 .module = THIS_MODULE,
30 .split_ops = nfsd_nl_ops,
31 .n_split_ops = ARRAY_SIZE(nfsd_nl_ops),