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 18 int sunrpc_nl_ip_map_get_reqs_dumpit(struct sk_buff *skb, 19 struct netlink_callback *cb); 20 int sunrpc_nl_ip_map_set_reqs_doit(struct sk_buff *skb, 21 struct genl_info *info); 22 23 enum { 24 SUNRPC_NLGRP_NONE, 25 SUNRPC_NLGRP_EXPORTD, 26 }; 27 28 extern struct genl_family sunrpc_nl_family; 29 30 #endif /* _LINUX_SUNRPC_GEN_H */ 31