]>
Commit | Line | Data |
---|---|---|
0e7623bd | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
f266a683 | 2 | /* Copyright 2011-2014 Autronica Fire and Security AS |
f266a683 AB |
3 | * |
4 | * Author(s): | |
5 | * 2011-2014 Arvid Brodin, [email protected] | |
8f4c0e01 MK |
6 | * |
7 | * include file for HSR and PRP. | |
f266a683 AB |
8 | */ |
9 | ||
10 | #ifndef __HSR_FORWARD_H | |
11 | #define __HSR_FORWARD_H | |
12 | ||
13 | #include <linux/netdevice.h> | |
14 | #include "hsr_main.h" | |
15 | ||
16 | void hsr_forward_skb(struct sk_buff *skb, struct hsr_port *port); | |
451d8123 MK |
17 | struct sk_buff *prp_create_tagged_frame(struct hsr_frame_info *frame, |
18 | struct hsr_port *port); | |
fa4dc895 MK |
19 | struct sk_buff *hsr_create_tagged_frame(struct hsr_frame_info *frame, |
20 | struct hsr_port *port); | |
21 | struct sk_buff *hsr_get_untagged_frame(struct hsr_frame_info *frame, | |
22 | struct hsr_port *port); | |
451d8123 MK |
23 | struct sk_buff *prp_get_untagged_frame(struct hsr_frame_info *frame, |
24 | struct hsr_port *port); | |
25 | bool prp_drop_frame(struct hsr_frame_info *frame, struct hsr_port *port); | |
dcf0cd1c | 26 | bool hsr_drop_frame(struct hsr_frame_info *frame, struct hsr_port *port); |
451d8123 MK |
27 | void prp_fill_frame_info(__be16 proto, struct sk_buff *skb, |
28 | struct hsr_frame_info *frame); | |
fa4dc895 MK |
29 | void hsr_fill_frame_info(__be16 proto, struct sk_buff *skb, |
30 | struct hsr_frame_info *frame); | |
f266a683 | 31 | #endif /* __HSR_FORWARD_H */ |