summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qualcomm/rmnet/rmnet_handlers.h
diff options
context:
space:
mode:
authorSubash Abhinov Kasiviswanathan2017-08-30 06:44:18 +0200
committerDavid S. Miller2017-08-30 20:41:13 +0200
commitceed73a2cf4aff2921802aa3d21d45280677547d (patch)
tree964d15840ad5a57c651516de54f473eeeeb613a0 /drivers/net/ethernet/qualcomm/rmnet/rmnet_handlers.h
parentnet: arp: Add support for raw IP device (diff)
downloadkernel-qcow2-linux-ceed73a2cf4aff2921802aa3d21d45280677547d.tar.gz
kernel-qcow2-linux-ceed73a2cf4aff2921802aa3d21d45280677547d.tar.xz
kernel-qcow2-linux-ceed73a2cf4aff2921802aa3d21d45280677547d.zip
drivers: net: ethernet: qualcomm: rmnet: Initial implementation
RmNet driver provides a transport agnostic MAP (multiplexing and aggregation protocol) support in embedded module. Module provides virtual network devices which can be attached to any IP-mode physical device. This will be used to provide all MAP functionality on future hardware in a single consistent location. Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qualcomm/rmnet/rmnet_handlers.h')
-rw-r--r--drivers/net/ethernet/qualcomm/rmnet/rmnet_handlers.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/drivers/net/ethernet/qualcomm/rmnet/rmnet_handlers.h b/drivers/net/ethernet/qualcomm/rmnet/rmnet_handlers.h
new file mode 100644
index 000000000000..f2638cf5693c
--- /dev/null
+++ b/drivers/net/ethernet/qualcomm/rmnet/rmnet_handlers.h
@@ -0,0 +1,26 @@
+/* Copyright (c) 2013, 2016-2017 The Linux Foundation. All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 and
+ * only version 2 as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * RMNET Data ingress/egress handler
+ *
+ */
+
+#ifndef _RMNET_HANDLERS_H_
+#define _RMNET_HANDLERS_H_
+
+#include "rmnet_config.h"
+
+void rmnet_egress_handler(struct sk_buff *skb,
+ struct rmnet_endpoint *ep);
+
+rx_handler_result_t rmnet_rx_handler(struct sk_buff **pskb);
+
+#endif /* _RMNET_HANDLERS_H_ */