hsr_netlink.h 657 B

123456789101112131415161718192021222324252627
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /* Copyright 2011-2014 Autronica Fire and Security AS
  3. *
  4. * Author(s):
  5. * 2011-2014 Arvid Brodin, arvid.brodin@alten.se
  6. *
  7. * include file for HSR and PRP.
  8. */
  9. #ifndef __HSR_NETLINK_H
  10. #define __HSR_NETLINK_H
  11. #include <linux/if_ether.h>
  12. #include <linux/module.h>
  13. #include <uapi/linux/hsr_netlink.h>
  14. struct hsr_priv;
  15. struct hsr_port;
  16. int __init hsr_netlink_init(void);
  17. void __exit hsr_netlink_exit(void);
  18. void hsr_nl_ringerror(struct hsr_priv *hsr, unsigned char addr[ETH_ALEN],
  19. struct hsr_port *port);
  20. void hsr_nl_nodedown(struct hsr_priv *hsr, unsigned char addr[ETH_ALEN]);
  21. #endif /* __HSR_NETLINK_H */