hc
2024-01-05 071106ecf68c401173c58808b1cf5f68cc50d390
kernel/drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.h
....@@ -1,16 +1,7 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* Copyright (c) 2013-2017, The Linux Foundation. All rights reserved.
23 *
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
- *
124 * RMNET Data Virtual Network Device APIs
13
- *
145 */
156
167 #ifndef _RMNET_VND_H_
....@@ -20,10 +11,14 @@
2011 int rmnet_vnd_newlink(u8 id, struct net_device *rmnet_dev,
2112 struct rmnet_port *port,
2213 struct net_device *real_dev,
23
- struct rmnet_endpoint *ep);
14
+ struct rmnet_endpoint *ep,
15
+ struct netlink_ext_ack *extack);
2416 int rmnet_vnd_dellink(u8 id, struct rmnet_port *port,
2517 struct rmnet_endpoint *ep);
2618 void rmnet_vnd_rx_fixup(struct sk_buff *skb, struct net_device *dev);
2719 void rmnet_vnd_tx_fixup(struct sk_buff *skb, struct net_device *dev);
2820 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);
2924 #endif /* _RMNET_VND_H_ */