]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blob - drivers/net/ethernet/qualcomm/rmnet/rmnet_vnd.h
71e4c328695122dd388b87331f52c24d1c67ade6
[mirror_ubuntu-jammy-kernel.git] / drivers / net / ethernet / qualcomm / rmnet / rmnet_vnd.h
1 /* Copyright (c) 2013-2017, The Linux Foundation. All rights reserved.
2 *
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 * RMNET Data Virtual Network Device APIs
13 *
14 */
15
16 #ifndef _RMNET_VND_H_
17 #define _RMNET_VND_H_
18
19 int rmnet_vnd_do_flow_control(struct net_device *dev, int enable);
20 int rmnet_vnd_newlink(u8 id, struct net_device *rmnet_dev,
21 struct rmnet_port *port,
22 struct net_device *real_dev,
23 struct rmnet_endpoint *ep);
24 int rmnet_vnd_dellink(u8 id, struct rmnet_port *port,
25 struct rmnet_endpoint *ep);
26 void rmnet_vnd_rx_fixup(struct sk_buff *skb, struct net_device *dev);
27 void rmnet_vnd_tx_fixup(struct sk_buff *skb, struct net_device *dev);
28 u8 rmnet_vnd_get_mux(struct net_device *rmnet_dev);
29 void rmnet_vnd_setup(struct net_device *dev);
30 #endif /* _RMNET_VND_H_ */