xref: /openbmc/linux/net/ipv4/fou_nl.h (revision 1edd0337)
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/fou.yaml */
4 /* YNL-GEN kernel header */
5 
6 #ifndef _LINUX_FOU_GEN_H
7 #define _LINUX_FOU_GEN_H
8 
9 #include <net/netlink.h>
10 #include <net/genetlink.h>
11 
12 #include <linux/fou.h>
13 
14 /* Global operation policy for fou */
15 extern const struct nla_policy fou_nl_policy[FOU_ATTR_IFINDEX + 1];
16 
17 /* Ops table for fou */
18 extern const struct genl_small_ops fou_nl_ops[3];
19 
20 int fou_nl_add_doit(struct sk_buff *skb, struct genl_info *info);
21 int fou_nl_del_doit(struct sk_buff *skb, struct genl_info *info);
22 int fou_nl_get_doit(struct sk_buff *skb, struct genl_info *info);
23 int fou_nl_get_dumpit(struct sk_buff *skb, struct netlink_callback *cb);
24 
25 #endif /* _LINUX_FOU_GEN_H */
26