xref: /linux/drivers/net/team/team_nl.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
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/team.yaml */
4 /* YNL-GEN kernel header */
5 
6 #ifndef _LINUX_TEAM_GEN_H
7 #define _LINUX_TEAM_GEN_H
8 
9 #include <net/netlink.h>
10 #include <net/genetlink.h>
11 
12 #include <uapi/linux/if_team.h>
13 
14 /* Common nested types */
15 extern const struct nla_policy team_attr_option_nl_policy[TEAM_ATTR_OPTION_ARRAY_INDEX + 1];
16 extern const struct nla_policy team_item_option_nl_policy[TEAM_ATTR_ITEM_OPTION + 1];
17 
18 /* Global operation policy for team */
19 extern const struct nla_policy team_nl_policy[TEAM_ATTR_LIST_OPTION + 1];
20 
21 /* Ops table for team */
22 extern const struct genl_small_ops team_nl_ops[4];
23 
24 int team_nl_noop_doit(struct sk_buff *skb, struct genl_info *info);
25 int team_nl_options_set_doit(struct sk_buff *skb, struct genl_info *info);
26 int team_nl_options_get_doit(struct sk_buff *skb, struct genl_info *info);
27 int team_nl_port_list_get_doit(struct sk_buff *skb, struct genl_info *info);
28 
29 #endif /* _LINUX_TEAM_GEN_H */
30