
Catches up to commit b4d76675a6feeb57f7188d5354e1cf82b7adb012. Change-Id: Ib1f00be9799712bd4ab0381cde648287f98a61a1 Signed-off-by: Conner Huff <chuff@codeaurora.org>
32 lines
1.2 KiB
C
32 lines
1.2 KiB
C
/* Copyright (c) 2013-2018, 2020-2021 The Linux Foundation. All rights reserved.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 and
|
|
* only version 2 as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* RMNET Data Virtual Network Device APIs
|
|
*
|
|
*/
|
|
|
|
#ifndef _RMNET_VND_H_
|
|
#define _RMNET_VND_H_
|
|
|
|
int rmnet_vnd_do_flow_control(struct net_device *dev, int enable);
|
|
int rmnet_vnd_newlink(u8 id, struct net_device *rmnet_dev,
|
|
struct rmnet_port *port,
|
|
struct net_device *real_dev,
|
|
struct rmnet_endpoint *ep);
|
|
int rmnet_vnd_dellink(u8 id, struct rmnet_port *port,
|
|
struct rmnet_endpoint *ep);
|
|
void rmnet_vnd_rx_fixup(struct net_device *dev, u32 skb_len);
|
|
void rmnet_vnd_tx_fixup(struct net_device *dev, u32 skb_len);
|
|
u8 rmnet_vnd_get_mux(struct net_device *rmnet_dev);
|
|
void rmnet_vnd_setup(struct net_device *dev);
|
|
void rmnet_vnd_reset_mac_addr(struct net_device *dev);
|
|
#endif /* _RMNET_VND_H_ */
|