fou_nl.h 821 B

12345678910111213141516171819202122232425
  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. #ifndef _LINUX_FOU_GEN_H
  6. #define _LINUX_FOU_GEN_H
  7. #include <net/netlink.h>
  8. #include <net/genetlink.h>
  9. #include <uapi/linux/fou.h>
  10. /* Global operation policy for fou */
  11. extern const struct nla_policy fou_nl_policy[FOU_ATTR_IFINDEX + 1];
  12. /* Ops table for fou */
  13. extern const struct genl_small_ops fou_nl_ops[3];
  14. int fou_nl_add_doit(struct sk_buff *skb, struct genl_info *info);
  15. int fou_nl_del_doit(struct sk_buff *skb, struct genl_info *info);
  16. int fou_nl_get_doit(struct sk_buff *skb, struct genl_info *info);
  17. int fou_nl_get_dumpit(struct sk_buff *skb, struct netlink_callback *cb);
  18. #endif /* _LINUX_FOU_GEN_H */