162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */
262306a36Sopenharmony_ci/* Copyright (c) 2013-2014, 2016-2018 The Linux Foundation. All rights reserved.
362306a36Sopenharmony_ci */
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci#ifndef _RMNET_PRIVATE_H_
662306a36Sopenharmony_ci#define _RMNET_PRIVATE_H_
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci#define RMNET_MAX_PACKET_SIZE      16384
962306a36Sopenharmony_ci#define RMNET_DFLT_PACKET_SIZE     1500
1062306a36Sopenharmony_ci#define RMNET_NEEDED_HEADROOM      16
1162306a36Sopenharmony_ci#define RMNET_TX_QUEUE_LEN         1000
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ci/* Replace skb->dev to a virtual rmnet device and pass up the stack */
1462306a36Sopenharmony_ci#define RMNET_EPMODE_VND (1)
1562306a36Sopenharmony_ci/* Pass the frame directly to another device with dev_queue_xmit() */
1662306a36Sopenharmony_ci#define RMNET_EPMODE_BRIDGE (2)
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ci#endif /* _RMNET_PRIVATE_H_ */
19