team_nl.h 1.0 KB

1234567891011121314151617181920212223242526272829
  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. #ifndef _LINUX_TEAM_GEN_H
  6. #define _LINUX_TEAM_GEN_H
  7. #include <net/netlink.h>
  8. #include <net/genetlink.h>
  9. #include <uapi/linux/if_team.h>
  10. /* Common nested types */
  11. extern const struct nla_policy team_attr_option_nl_policy[TEAM_ATTR_OPTION_ARRAY_INDEX + 1];
  12. extern const struct nla_policy team_item_option_nl_policy[TEAM_ATTR_ITEM_OPTION + 1];
  13. /* Global operation policy for team */
  14. extern const struct nla_policy team_nl_policy[TEAM_ATTR_LIST_OPTION + 1];
  15. /* Ops table for team */
  16. extern const struct genl_small_ops team_nl_ops[4];
  17. int team_nl_noop_doit(struct sk_buff *skb, struct genl_info *info);
  18. int team_nl_options_set_doit(struct sk_buff *skb, struct genl_info *info);
  19. int team_nl_options_get_doit(struct sk_buff *skb, struct genl_info *info);
  20. int team_nl_port_list_get_doit(struct sk_buff *skb, struct genl_info *info);
  21. #endif /* _LINUX_TEAM_GEN_H */