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/sunrpc_cache.yaml */ 4 /* YNL-GEN kernel header */ 5 /* To regenerate run: tools/net/ynl/ynl-regen.sh */ 6 7 #ifndef _LINUX_SUNRPC_GEN_H 8 #define _LINUX_SUNRPC_GEN_H 9 10 #include <net/netlink.h> 11 #include <net/genetlink.h> 12 13 #include <uapi/linux/sunrpc_netlink.h> 14 15 /* Common nested types */ 16 extern const struct nla_policy sunrpc_ip_map_nl_policy[SUNRPC_A_IP_MAP_EXPIRY + 1]; 17 extern const struct nla_policy sunrpc_unix_gid_nl_policy[SUNRPC_A_UNIX_GID_EXPIRY + 1]; 18 19 int sunrpc_nl_ip_map_get_reqs_dumpit(struct sk_buff *skb, 20 struct netlink_callback *cb); 21 int sunrpc_nl_ip_map_set_reqs_doit(struct sk_buff *skb, struct genl_info *info); 22 int sunrpc_nl_unix_gid_get_reqs_dumpit(struct sk_buff *skb, 23 struct netlink_callback *cb); 24 int sunrpc_nl_unix_gid_set_reqs_doit(struct sk_buff *skb, 25 struct genl_info *info); 26 27 enum { 28 SUNRPC_NLGRP_NONE, 29 SUNRPC_NLGRP_EXPORTD, 30 }; 31 32 extern struct genl_family sunrpc_nl_family; 33 34 #endif /* _LINUX_SUNRPC_GEN_H */ 35