Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) /* Copyright 2011-2014 Autronica Fire and Security AS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)  * Author(s):
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)  *	2011-2014 Arvid Brodin, arvid.brodin@alten.se
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7)  * include file for HSR and PRP.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #ifndef __HSR_FORWARD_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) #define __HSR_FORWARD_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #include <linux/netdevice.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) #include "hsr_main.h"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) void hsr_forward_skb(struct sk_buff *skb, struct hsr_port *port);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) struct sk_buff *prp_create_tagged_frame(struct hsr_frame_info *frame,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 					struct hsr_port *port);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) struct sk_buff *hsr_create_tagged_frame(struct hsr_frame_info *frame,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 					struct hsr_port *port);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) struct sk_buff *hsr_get_untagged_frame(struct hsr_frame_info *frame,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 				       struct hsr_port *port);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) struct sk_buff *prp_get_untagged_frame(struct hsr_frame_info *frame,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 				       struct hsr_port *port);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) bool prp_drop_frame(struct hsr_frame_info *frame, struct hsr_port *port);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) int prp_fill_frame_info(__be16 proto, struct sk_buff *skb,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 			struct hsr_frame_info *frame);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) int hsr_fill_frame_info(__be16 proto, struct sk_buff *skb,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 			struct hsr_frame_info *frame);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) #endif /* __HSR_FORWARD_H */