11 #include <linux/kernel.h>
12 #include <linux/types.h>
13 #include <linux/module.h>
15 #include <linux/errno.h>
16 #include <linux/netdevice.h>
17 #include <linux/if_team.h>
28 if (team_port_txable(cur)) {
32 ret = !team_dev_queue_xmit(team, last,
42 ret = !team_dev_queue_xmit(team, last, skb);
49 static int bc_port_enter(
struct team *team,
struct team_port *
port)
54 static void bc_port_change_dev_addr(
struct team *team,
struct team_port *
port)
60 .transmit = bc_transmit,
61 .port_enter = bc_port_enter,
62 .port_change_dev_addr = bc_port_change_dev_addr,
71 static int __init bc_init_module(
void)
76 static void __exit bc_cleanup_module(
void)