1af81cb24SJeff Layton /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) */ 2af81cb24SJeff Layton /* Do not edit directly, auto-generated from: */ 3af81cb24SJeff Layton /* Documentation/netlink/specs/sunrpc_cache.yaml */ 4af81cb24SJeff Layton /* YNL-GEN kernel header */ 5af81cb24SJeff Layton /* To regenerate run: tools/net/ynl/ynl-regen.sh */ 6af81cb24SJeff Layton 7af81cb24SJeff Layton #ifndef _LINUX_SUNRPC_GEN_H 8af81cb24SJeff Layton #define _LINUX_SUNRPC_GEN_H 9af81cb24SJeff Layton 10af81cb24SJeff Layton #include <net/netlink.h> 11af81cb24SJeff Layton #include <net/genetlink.h> 12af81cb24SJeff Layton 13af81cb24SJeff Layton #include <uapi/linux/sunrpc_netlink.h> 14af81cb24SJeff Layton 15712bdbb2SJeff Layton /* Common nested types */ 16712bdbb2SJeff Layton extern const struct nla_policy sunrpc_ip_map_nl_policy[SUNRPC_A_IP_MAP_EXPIRY + 1]; 170850e860SJeff Layton extern const struct nla_policy sunrpc_unix_gid_nl_policy[SUNRPC_A_UNIX_GID_EXPIRY + 1]; 18712bdbb2SJeff Layton 19712bdbb2SJeff Layton int sunrpc_nl_ip_map_get_reqs_dumpit(struct sk_buff *skb, 20712bdbb2SJeff Layton struct netlink_callback *cb); 21912fc994SJeff Layton int sunrpc_nl_ip_map_set_reqs_doit(struct sk_buff *skb, struct genl_info *info); 220850e860SJeff Layton int sunrpc_nl_unix_gid_get_reqs_dumpit(struct sk_buff *skb, 230850e860SJeff Layton struct netlink_callback *cb); 240850e860SJeff Layton int sunrpc_nl_unix_gid_set_reqs_doit(struct sk_buff *skb, 250850e860SJeff Layton struct genl_info *info); 26*565ee23eSJeff Layton int sunrpc_nl_cache_flush_doit(struct sk_buff *skb, struct genl_info *info); 27712bdbb2SJeff Layton 28af81cb24SJeff Layton enum { 29af81cb24SJeff Layton SUNRPC_NLGRP_NONE, 30af81cb24SJeff Layton SUNRPC_NLGRP_EXPORTD, 31af81cb24SJeff Layton }; 32af81cb24SJeff Layton 33af81cb24SJeff Layton extern struct genl_family sunrpc_nl_family; 34af81cb24SJeff Layton 35af81cb24SJeff Layton #endif /* _LINUX_SUNRPC_GEN_H */ 36