FILE
team_nl.h
File preview with syntax highlighting.
linux-6.19.14/drivers/net/team/team_nl.h
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/* To regenerate run: tools/net/ynl/ynl-regen.sh */ 6 7#ifndef _LINUX_TEAM_GEN_H 8#define _LINUX_TEAM_GEN_H 9 10#include <net/netlink.h> 11#include <net/genetlink.h> 12 13#include <uapi/linux/if_team.h> 14 15/* Common nested types */ 16extern const struct nla_policy team_attr_option_nl_policy[TEAM_ATTR_OPTION_ARRAY_INDEX + 1]; 17extern const struct nla_policy team_item_option_nl_policy[TEAM_ATTR_ITEM_OPTION + 1]; 18 19/* Global operation policy for team */ 20extern const struct nla_policy team_nl_policy[TEAM_ATTR_LIST_OPTION + 1]; 21 22/* Ops table for team */ 23extern const struct genl_small_ops team_nl_ops[4]; 24 25int team_nl_noop_doit(struct sk_buff *skb, struct genl_info *info); 26int team_nl_options_set_doit(struct sk_buff *skb, struct genl_info *info); 27int team_nl_options_get_doit(struct sk_buff *skb, struct genl_info *info); 28int team_nl_port_list_get_doit(struct sk_buff *skb, struct genl_info *info); 29 30#endif /* _LINUX_TEAM_GEN_H */
~/
Read-only file preview.