1 /* SPDX-License-Identifier: GPL-2.0 */ 1 2 #ifndef _LINUX_IF_LAG_H 3 #define _LINUX_IF_LAG_H 4 5 #include <linux/netdevice.h> 6 #include <linux/if_team.h> 7 #include <net/bonding.h> 8 9 static inline bool net_lag_port_dev_txable(con 10 { 11 if (netif_is_team_port(port_dev)) 12 return team_port_dev_txable(po 13 else 14 return bond_is_active_slave_de 15 } 16 17 #endif /* _LINUX_IF_LAG_H */ 18
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.