HEX
Server: Apache/2.4.58 (Ubuntu)
System: Linux ip-172-26-0-120 6.17.0-1009-aws #9~24.04.2-Ubuntu SMP Fri Mar 6 23:50:29 UTC 2026 x86_64
User: ubuntu (1000)
PHP: 8.3.6
Disabled: NONE
Upload Files
File: //usr/src/linux-headers-7.0.0-1009-aws/include/linux/netdevice_xmit.h
/* SPDX-License-Identifier: GPL-2.0-or-later */
#ifndef _LINUX_NETDEVICE_XMIT_H
#define _LINUX_NETDEVICE_XMIT_H

#if IS_ENABLED(CONFIG_NET_ACT_MIRRED)
#define MIRRED_NEST_LIMIT	4
#endif

struct net_device;

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;
	struct net_device	*sched_mirred_dev[MIRRED_NEST_LIMIT];
#endif
#if IS_ENABLED(CONFIG_NF_DUP_NETDEV)
	u8 nf_dup_skb_recursion;
#endif
};

#endif