@Ghazascanner
_2019runbot
Ghazascanner File Manager
server :Linux phpmyadmin-ubuntu-m-2vcpu-16gb-blr1-01 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
Current Path :
/
usr
/
src
/
linux-headers-5.4.0-216
/
include
/
net
/
Path :
Upload File :
New :
File
Dir
//usr/src/linux-headers-5.4.0-216/include/net/lag.h
/* 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 */