1 /* Copyright (c) 2013-2017, The Linux Foundation. All rights reserved.
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.
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.
12 * RMNET Data Virtual Network Device APIs
19 int rmnet_vnd_do_flow_control(struct net_device *dev, int enable);
20 struct rmnet_endpoint *rmnet_vnd_get_endpoint(struct net_device *dev);
21 int rmnet_vnd_newlink(u8 id, struct net_device *rmnet_dev,
22 struct rmnet_port *port,
23 struct net_device *real_dev);
24 int rmnet_vnd_dellink(u8 id, struct rmnet_port *port);
25 void rmnet_vnd_rx_fixup(struct sk_buff *skb, struct net_device *dev);
26 void rmnet_vnd_tx_fixup(struct sk_buff *skb, struct net_device *dev);
27 u8 rmnet_vnd_get_mux(struct net_device *rmnet_dev);
28 void rmnet_vnd_setup(struct net_device *dev);
29 #endif /* _RMNET_VND_H_ */