Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /* Copyright (c) 2013-2014, 2016-2018 The Linux Foundation. All rights reserved.
0003  */
0004 
0005 #ifndef _RMNET_PRIVATE_H_
0006 #define _RMNET_PRIVATE_H_
0007 
0008 #define RMNET_MAX_PACKET_SIZE      16384
0009 #define RMNET_DFLT_PACKET_SIZE     1500
0010 #define RMNET_NEEDED_HEADROOM      16
0011 #define RMNET_TX_QUEUE_LEN         1000
0012 
0013 /* Replace skb->dev to a virtual rmnet device and pass up the stack */
0014 #define RMNET_EPMODE_VND (1)
0015 /* Pass the frame directly to another device with dev_queue_xmit() */
0016 #define RMNET_EPMODE_BRIDGE (2)
0017 
0018 #endif /* _RMNET_PRIVATE_H_ */