18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
28c2ecf20Sopenharmony_ci/* Copyright (c) 2013-2014, 2016-2018 The Linux Foundation. All rights reserved.
38c2ecf20Sopenharmony_ci */
48c2ecf20Sopenharmony_ci
58c2ecf20Sopenharmony_ci#ifndef _RMNET_PRIVATE_H_
68c2ecf20Sopenharmony_ci#define _RMNET_PRIVATE_H_
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ci#define RMNET_MAX_PACKET_SIZE      16384
98c2ecf20Sopenharmony_ci#define RMNET_DFLT_PACKET_SIZE     1500
108c2ecf20Sopenharmony_ci#define RMNET_NEEDED_HEADROOM      16
118c2ecf20Sopenharmony_ci#define RMNET_TX_QUEUE_LEN         1000
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ci/* Replace skb->dev to a virtual rmnet device and pass up the stack */
148c2ecf20Sopenharmony_ci#define RMNET_EPMODE_VND (1)
158c2ecf20Sopenharmony_ci/* Pass the frame directly to another device with dev_queue_xmit() */
168c2ecf20Sopenharmony_ci#define RMNET_EPMODE_BRIDGE (2)
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ci#endif /* _RMNET_PRIVATE_H_ */
19