| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* Copyright (c) 2013-2017, The Linux Foundation. All rights reserved. |
|---|
| 2 | 3 | * |
|---|
| 3 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 4 | | - * it under the terms of the GNU General Public License version 2 and |
|---|
| 5 | | - * only version 2 as published by the Free Software Foundation. |
|---|
| 6 | | - * |
|---|
| 7 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 8 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 9 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 10 | | - * GNU General Public License for more details. |
|---|
| 11 | | - * |
|---|
| 12 | 4 | * RMNET Data Virtual Network Device APIs |
|---|
| 13 | | - * |
|---|
| 14 | 5 | */ |
|---|
| 15 | 6 | |
|---|
| 16 | 7 | #ifndef _RMNET_VND_H_ |
|---|
| .. | .. |
|---|
| 20 | 11 | int rmnet_vnd_newlink(u8 id, struct net_device *rmnet_dev, |
|---|
| 21 | 12 | struct rmnet_port *port, |
|---|
| 22 | 13 | struct net_device *real_dev, |
|---|
| 23 | | - struct rmnet_endpoint *ep); |
|---|
| 14 | + struct rmnet_endpoint *ep, |
|---|
| 15 | + struct netlink_ext_ack *extack); |
|---|
| 24 | 16 | int rmnet_vnd_dellink(u8 id, struct rmnet_port *port, |
|---|
| 25 | 17 | struct rmnet_endpoint *ep); |
|---|
| 26 | 18 | void rmnet_vnd_rx_fixup(struct sk_buff *skb, struct net_device *dev); |
|---|
| 27 | 19 | void rmnet_vnd_tx_fixup(struct sk_buff *skb, struct net_device *dev); |
|---|
| 28 | 20 | void rmnet_vnd_setup(struct net_device *dev); |
|---|
| 21 | +int rmnet_vnd_validate_real_dev_mtu(struct net_device *real_dev); |
|---|
| 22 | +int rmnet_vnd_update_dev_mtu(struct rmnet_port *port, |
|---|
| 23 | + struct net_device *real_dev); |
|---|
| 29 | 24 | #endif /* _RMNET_VND_H_ */ |
|---|