Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
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/* To regenerate run: tools/net/ynl/ynl-regen.sh */
6
7#ifndef _LINUX_FOU_GEN_H
8#define _LINUX_FOU_GEN_H
9
10#include <net/netlink.h>
11#include <net/genetlink.h>
12
13#include <uapi/linux/fou.h>
14
15/* Global operation policy for fou */
16extern const struct nla_policy fou_nl_policy[FOU_ATTR_IFINDEX + 1];
17
18/* Ops table for fou */
19extern const struct genl_small_ops fou_nl_ops[3];
20
21int fou_nl_add_doit(struct sk_buff *skb, struct genl_info *info);
22int fou_nl_del_doit(struct sk_buff *skb, struct genl_info *info);
23int fou_nl_get_doit(struct sk_buff *skb, struct genl_info *info);
24int fou_nl_get_dumpit(struct sk_buff *skb, struct netlink_callback *cb);
25
26#endif /* _LINUX_FOU_GEN_H */