prp_netlink.h 628 B

123456789101112131415161718192021222324252627
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * prp_netlink.h:
  4. * This is based on hsr_netlink.h from Arvid Brodin, arvid.brodin@alten.se
  5. *
  6. * Copyright (C) 2017-2018 Texas Instruments Incorporated
  7. *
  8. * Author(s):
  9. * Murali Karicheri <m-karicheri2@ti.com>
  10. */
  11. #ifndef __PRP_NETLINK_H
  12. #define __PRP_NETLINK_H
  13. #include <linux/if_ether.h>
  14. #include <linux/module.h>
  15. #include <uapi/linux/hsr_prp_netlink.h>
  16. struct hsr_prp_priv;
  17. struct hsr_prp_port;
  18. int __init prp_netlink_init(void);
  19. void __exit prp_netlink_exit(void);
  20. void prp_nl_nodedown(struct hsr_prp_priv *priv, unsigned char addr[ETH_ALEN]);
  21. #endif /* __PRP_NETLINK_H */