rmnet_vnd.h (943B)
1/* SPDX-License-Identifier: GPL-2.0-only */ 2/* Copyright (c) 2013-2017, The Linux Foundation. All rights reserved. 3 * 4 * RMNET Data Virtual Network Device APIs 5 */ 6 7#ifndef _RMNET_VND_H_ 8#define _RMNET_VND_H_ 9 10int rmnet_vnd_do_flow_control(struct net_device *dev, int enable); 11int rmnet_vnd_newlink(u8 id, struct net_device *rmnet_dev, 12 struct rmnet_port *port, 13 struct net_device *real_dev, 14 struct rmnet_endpoint *ep, 15 struct netlink_ext_ack *extack); 16int rmnet_vnd_dellink(u8 id, struct rmnet_port *port, 17 struct rmnet_endpoint *ep); 18void rmnet_vnd_rx_fixup(struct sk_buff *skb, struct net_device *dev); 19void rmnet_vnd_tx_fixup(struct sk_buff *skb, struct net_device *dev); 20void rmnet_vnd_setup(struct net_device *dev); 21int rmnet_vnd_validate_real_dev_mtu(struct net_device *real_dev); 22int rmnet_vnd_update_dev_mtu(struct rmnet_port *port, 23 struct net_device *real_dev); 24#endif /* _RMNET_VND_H_ */