Server : nginx/1.24.0 System : Linux ip-172-31-33-48 6.14.0-1011-aws #11~24.04.1-Ubuntu SMP Fri Aug 1 02:07:25 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE Directory : /usr/src/linux-headers-6.14.0-1011-aws/include/net/ |
Upload File : |
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_IF_LAG_H #define _LINUX_IF_LAG_H #include <linux/netdevice.h> #include <linux/if_team.h> #include <net/bonding.h> static inline bool net_lag_port_dev_txable(const struct net_device *port_dev) { if (netif_is_team_port(port_dev)) return team_port_dev_txable(port_dev); else return bond_is_active_slave_dev(port_dev); } #endif /* _LINUX_IF_LAG_H */