xref: /linux/drivers/net/ethernet/qualcomm/rmnet/rmnet_private.h (revision 3d0fe49454652117522f60bfbefb978ba0e5300b)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /* Copyright (c) 2013-2014, 2016-2018 The Linux Foundation. All rights reserved.
3  */
4 
5 #ifndef _RMNET_PRIVATE_H_
6 #define _RMNET_PRIVATE_H_
7 
8 #define RMNET_MAX_PACKET_SIZE      16384
9 #define RMNET_DFLT_PACKET_SIZE     1500
10 #define RMNET_NEEDED_HEADROOM      16
11 #define RMNET_TX_QUEUE_LEN         1000
12 
13 /* Replace skb->dev to a virtual rmnet device and pass up the stack */
14 #define RMNET_EPMODE_VND (1)
15 /* Pass the frame directly to another device with dev_queue_xmit() */
16 #define RMNET_EPMODE_BRIDGE (2)
17 
18 #endif /* _RMNET_PRIVATE_H_ */
19