aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/netdevice_xmit.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/netdevice_xmit.h')
-rw-r--r--include/linux/netdevice_xmit.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/linux/netdevice_xmit.h b/include/linux/netdevice_xmit.h
new file mode 100644
index 000000000000..813a19122ebb
--- /dev/null
+++ b/include/linux/netdevice_xmit.h
@@ -0,0 +1,19 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later */
+#ifndef _LINUX_NETDEVICE_XMIT_H
+#define _LINUX_NETDEVICE_XMIT_H
+
+struct netdev_xmit {
+ u16 recursion;
+ u8 more;
+#ifdef CONFIG_NET_EGRESS
+ u8 skip_txqueue;
+#endif
+#if IS_ENABLED(CONFIG_NET_ACT_MIRRED)
+ u8 sched_mirred_nest;
+#endif
+#if IS_ENABLED(CONFIG_NF_DUP_NETDEV)
+ u8 nf_dup_skb_recursion;
+#endif
+};
+
+#endif