brintos

brintos / linux-shallow public Read only

0
0
Text · 1.0 KiB · c9ec1b2 Raw
30 lines · c
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_H7#define _LINUX_TEAM_GEN_H8 9#include <net/netlink.h>10#include <net/genetlink.h>11 12#include <uapi/linux/if_team.h>13 14/* Common nested types */15extern const struct nla_policy team_attr_option_nl_policy[TEAM_ATTR_OPTION_ARRAY_INDEX + 1];16extern const struct nla_policy team_item_option_nl_policy[TEAM_ATTR_ITEM_OPTION + 1];17 18/* Global operation policy for team */19extern const struct nla_policy team_nl_policy[TEAM_ATTR_LIST_OPTION + 1];20 21/* Ops table for team */22extern const struct genl_small_ops team_nl_ops[4];23 24int team_nl_noop_doit(struct sk_buff *skb, struct genl_info *info);25int team_nl_options_set_doit(struct sk_buff *skb, struct genl_info *info);26int team_nl_options_get_doit(struct sk_buff *skb, struct genl_info *info);27int team_nl_port_list_get_doit(struct sk_buff *skb, struct genl_info *info);28 29#endif /* _LINUX_TEAM_GEN_H */30