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) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) #undef TRACE_SYSTEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) #define TRACE_SYSTEM net
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) #define TRACE_INCLUDE_PATH trace/hooks
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) #if !defined(_TRACE_HOOK_NET_VH_H) || defined(TRACE_HEADER_MULTI_READ)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) #define _TRACE_HOOK_NET_VH_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) #include <linux/tracepoint.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) #include <trace/hooks/vendor_hooks.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) #ifdef __GENKSYMS__
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) struct packet_type;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) struct sk_buff;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) struct list_head;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) #else
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) /* struct packet_type */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) #include <linux/netdevice.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) /* struct sk_buff */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) #include <linux/skbuff.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) /* struct list_head */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) #include <linux/types.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) #endif /* __GENKSYMS__ */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) DECLARE_HOOK(android_vh_ptype_head,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 	TP_PROTO(const struct packet_type *pt, struct list_head *vendor_pt),
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 	TP_ARGS(pt, vendor_pt));
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) DECLARE_HOOK(android_vh_kfree_skb,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 	TP_PROTO(struct sk_buff *skb), TP_ARGS(skb));
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) struct nf_conn;	/* needed for CRC preservation */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) struct sock;	/* needed for CRC preservation */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) /* macro versions of hooks are no longer required */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) #endif /* _TRACE_HOOK_NET_VH_H */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) /* This part must be outside protection */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) #include <trace/define_trace.h>