Files

27 lines
514 B
C
Raw Permalink Normal View History

2024-06-20 15:21:58 +02:00
/* SPDX-License-Identifier: GPL-2.0-or-later */
#ifndef _LINUX_NETDEVICE_XMIT_H
#define _LINUX_NETDEVICE_XMIT_H
2025-10-14 17:19:04 +00:00
#if IS_ENABLED(CONFIG_NET_ACT_MIRRED)
#define MIRRED_NEST_LIMIT 4
#endif
struct net_device;
2024-06-20 15:21:58 +02:00
struct netdev_xmit {
u16 recursion;
u8 more;
#ifdef CONFIG_NET_EGRESS
u8 skip_txqueue;
#endif
#if IS_ENABLED(CONFIG_NET_ACT_MIRRED)
2025-10-14 17:19:04 +00:00
u8 sched_mirred_nest;
struct net_device *sched_mirred_dev[MIRRED_NEST_LIMIT];
#endif
#if IS_ENABLED(CONFIG_NF_DUP_NETDEV)
u8 nf_dup_skb_recursion;
#endif
2024-06-20 15:21:58 +02:00
};
#endif