at v6.7 32 lines 843 B view raw
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 */ 5 6#include <net/netlink.h> 7#include <net/genetlink.h> 8 9#include "netlink.h" 10 11#include <uapi/linux/nfsd_netlink.h> 12 13/* Ops table for nfsd */ 14static const struct genl_split_ops nfsd_nl_ops[] = { 15 { 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, 21 }, 22}; 23 24struct genl_family nfsd_nl_family __ro_after_init = { 25 .name = NFSD_FAMILY_NAME, 26 .version = NFSD_FAMILY_VERSION, 27 .netnsok = true, 28 .parallel_ops = true, 29 .module = THIS_MODULE, 30 .split_ops = nfsd_nl_ops, 31 .n_split_ops = ARRAY_SIZE(nfsd_nl_ops), 32};