netlink.h 1.3 KB

12345678910111213141516171819202122232425262728293031
  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. #ifndef _LINUX_NFSD_GEN_H
  6. #define _LINUX_NFSD_GEN_H
  7. #include <net/netlink.h>
  8. #include <net/genetlink.h>
  9. #include <uapi/linux/nfsd_netlink.h>
  10. /* Common nested types */
  11. extern const struct nla_policy nfsd_sock_nl_policy[NFSD_A_SOCK_TRANSPORT_NAME + 1];
  12. extern const struct nla_policy nfsd_version_nl_policy[NFSD_A_VERSION_ENABLED + 1];
  13. int nfsd_nl_rpc_status_get_dumpit(struct sk_buff *skb,
  14. struct netlink_callback *cb);
  15. int nfsd_nl_threads_set_doit(struct sk_buff *skb, struct genl_info *info);
  16. int nfsd_nl_threads_get_doit(struct sk_buff *skb, struct genl_info *info);
  17. int nfsd_nl_version_set_doit(struct sk_buff *skb, struct genl_info *info);
  18. int nfsd_nl_version_get_doit(struct sk_buff *skb, struct genl_info *info);
  19. int nfsd_nl_listener_set_doit(struct sk_buff *skb, struct genl_info *info);
  20. int nfsd_nl_listener_get_doit(struct sk_buff *skb, struct genl_info *info);
  21. int nfsd_nl_pool_mode_set_doit(struct sk_buff *skb, struct genl_info *info);
  22. int nfsd_nl_pool_mode_get_doit(struct sk_buff *skb, struct genl_info *info);
  23. extern struct genl_family nfsd_nl_family;
  24. #endif /* _LINUX_NFSD_GEN_H */