| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright(c) 1999 - 2004 Intel Corporation. All rights reserved. |
|---|
| 3 | | - * |
|---|
| 4 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 5 | | - * under the terms of the GNU General Public License as published by the |
|---|
| 6 | | - * Free Software Foundation; either version 2 of the License, or |
|---|
| 7 | | - * (at your option) any later version. |
|---|
| 8 | | - * |
|---|
| 9 | | - * This program is distributed in the hope that it will be useful, but |
|---|
| 10 | | - * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
|---|
| 11 | | - * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|---|
| 12 | | - * for more details. |
|---|
| 13 | | - * |
|---|
| 14 | | - * You should have received a copy of the GNU General Public License along |
|---|
| 15 | | - * with this program; if not, see <http://www.gnu.org/licenses/>. |
|---|
| 16 | | - * |
|---|
| 17 | | - * The full GNU General Public License is included in this distribution in the |
|---|
| 18 | | - * file called LICENSE. |
|---|
| 19 | | - * |
|---|
| 20 | 4 | */ |
|---|
| 21 | 5 | |
|---|
| 22 | 6 | #ifndef _NET_BOND_ALB_H |
|---|
| .. | .. |
|---|
| 172 | 156 | void bond_alb_deinit_slave(struct bonding *bond, struct slave *slave); |
|---|
| 173 | 157 | void bond_alb_handle_link_change(struct bonding *bond, struct slave *slave, char link); |
|---|
| 174 | 158 | void bond_alb_handle_active_change(struct bonding *bond, struct slave *new_slave); |
|---|
| 175 | | -int bond_alb_xmit(struct sk_buff *skb, struct net_device *bond_dev); |
|---|
| 176 | | -int bond_tlb_xmit(struct sk_buff *skb, struct net_device *bond_dev); |
|---|
| 159 | +netdev_tx_t bond_alb_xmit(struct sk_buff *skb, struct net_device *bond_dev); |
|---|
| 160 | +netdev_tx_t bond_tlb_xmit(struct sk_buff *skb, struct net_device *bond_dev); |
|---|
| 161 | +struct slave *bond_xmit_alb_slave_get(struct bonding *bond, |
|---|
| 162 | + struct sk_buff *skb); |
|---|
| 163 | +struct slave *bond_xmit_tlb_slave_get(struct bonding *bond, |
|---|
| 164 | + struct sk_buff *skb); |
|---|
| 177 | 165 | void bond_alb_monitor(struct work_struct *); |
|---|
| 178 | 166 | int bond_alb_set_mac_address(struct net_device *bond_dev, void *addr); |
|---|
| 179 | 167 | void bond_alb_clear_vlan(struct bonding *bond, unsigned short vlan_id); |
|---|