mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:46:16 +00:00
2f48401dd0
commit f421436a59
("net/hsr: Add support for the High-availability Seamless Redundancy protocol (HSRv0)")
introducted these but never implemented.
Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://lore.kernel.org/r/20230729123456.36340-1-yuehaibing@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
28 lines
657 B
C
28 lines
657 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/* Copyright 2011-2014 Autronica Fire and Security AS
|
|
*
|
|
* Author(s):
|
|
* 2011-2014 Arvid Brodin, arvid.brodin@alten.se
|
|
*
|
|
* include file for HSR and PRP.
|
|
*/
|
|
|
|
#ifndef __HSR_NETLINK_H
|
|
#define __HSR_NETLINK_H
|
|
|
|
#include <linux/if_ether.h>
|
|
#include <linux/module.h>
|
|
#include <uapi/linux/hsr_netlink.h>
|
|
|
|
struct hsr_priv;
|
|
struct hsr_port;
|
|
|
|
int __init hsr_netlink_init(void);
|
|
void __exit hsr_netlink_exit(void);
|
|
|
|
void hsr_nl_ringerror(struct hsr_priv *hsr, unsigned char addr[ETH_ALEN],
|
|
struct hsr_port *port);
|
|
void hsr_nl_nodedown(struct hsr_priv *hsr, unsigned char addr[ETH_ALEN]);
|
|
|
|
#endif /* __HSR_NETLINK_H */
|