summaryrefslogtreecommitdiff
path: root/net/hsr/hsr_device.h
diff options
context:
space:
mode:
authorPeter Heise <mail@pheise.de>2016-04-13 14:52:22 +0300
committerDavid S. Miller <davem@davemloft.net>2016-04-16 00:06:48 +0300
commitee1c27977284907d40f7f72c2d078d709f15811f (patch)
tree58c578e321dd8baad0af86ecaf41e6e2f34ddb34 /net/hsr/hsr_device.h
parent125c8d1233b7dd4688f14dd992d724c20d055dee (diff)
downloadlinux-ee1c27977284907d40f7f72c2d078d709f15811f.tar.xz
net/hsr: Added support for HSR v1
This patch adds support for the newer version 1 of the HSR networking standard. Version 0 is still default and the new version has to be selected via iproute2. Main changes are in the supervision frame handling and its ethertype field. Signed-off-by: Peter Heise <peter.heise@airbus.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/hsr/hsr_device.h')
-rw-r--r--net/hsr/hsr_device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/hsr/hsr_device.h b/net/hsr/hsr_device.h
index 108a5d59d2a6..9975e31bbb82 100644
--- a/net/hsr/hsr_device.h
+++ b/net/hsr/hsr_device.h
@@ -17,7 +17,7 @@
void hsr_dev_setup(struct net_device *dev);
int hsr_dev_finalize(struct net_device *hsr_dev, struct net_device *slave[2],
- unsigned char multicast_spec);
+ unsigned char multicast_spec, u8 protocol_version);
void hsr_check_carrier_and_operstate(struct hsr_priv *hsr);
bool is_hsr_master(struct net_device *dev);
int hsr_get_max_mtu(struct hsr_priv *hsr);