prp_netlink.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * prp_netlink.h:
  3. * This is based on hsr_netlink.h from Arvid Brodin, arvid.brodin@alten.se
  4. *
  5. * Copyright (C) 2017 Texas Instruments Incorporated
  6. *
  7. * Author(s):
  8. * Murali Karicheri <m-karicheri2@ti.com?
  9. *
  10. * This program is free software; you can redistribute it and/or
  11. * modify it under the terms of the GNU General Public License as
  12. * published by the Free Software Foundation version 2.
  13. *
  14. * This program is distributed "as is" WITHOUT ANY WARRANTY of any
  15. * kind, whether express or implied; without even the implied warranty
  16. * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  17. * GNU General Public License for more details.
  18. */
  19. #ifndef __PRP_NETLINK_H
  20. #define __PRP_NETLINK_H
  21. #include <linux/if_ether.h>
  22. #include <linux/module.h>
  23. #include <uapi/linux/prp_netlink.h>
  24. struct hsr_prp_priv;
  25. struct hsr_prp_port;
  26. int __init prp_netlink_init(void);
  27. void __exit prp_netlink_exit(void);
  28. void prp_nl_nodedown(struct hsr_prp_priv *priv, unsigned char addr[ETH_ALEN]);
  29. #endif /* __PRP_NETLINK_H */