summaryrefslogtreecommitdiff
path: root/include/uapi/linux/rmnet_data.h
diff options
context:
space:
mode:
authorHarout Hedeshian <harouth@codeaurora.org>2013-10-08 11:46:55 -0600
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:04:56 -0700
commit0f789efb3a122daecbb5dcf2df16f2943dd2603e (patch)
tree38ff1f84275bee8c0812e40678fca857a2ad5c27 /include/uapi/linux/rmnet_data.h
parent5b658211916169e1c2e94daf06697705c2e4b95a (diff)
net: rmnet_data: Add support for user defined device name prefix
Run-time user space components can now specify virtual network device name prefix at device creation. This will be used to support legacy data services. CRs-Fixed: 555507 Change-Id: Id34c2761f2060e66b05c521304d5151620ba5665 Signed-off-by: Harout Hedeshian <harouth@codeaurora.org>
Diffstat (limited to 'include/uapi/linux/rmnet_data.h')
-rw-r--r--include/uapi/linux/rmnet_data.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/uapi/linux/rmnet_data.h b/include/uapi/linux/rmnet_data.h
index b8dbf907c8b3..bcff313a95c0 100644
--- a/include/uapi/linux/rmnet_data.h
+++ b/include/uapi/linux/rmnet_data.h
@@ -165,6 +165,23 @@ enum rmnet_netlink_message_types_e {
RMNET_NETLINK_NEW_VND,
/*
+ * RMNET_NETLINK_NEW_VND_WITH_PREFIX - Creates a new virtual network
+ * device node with the specified
+ * prefix for the device name
+ * Args: int32_t node number
+ * char[] vnd_name - Use as prefix
+ * Returns: status code
+ */
+ RMNET_NETLINK_NEW_VND_WITH_PREFIX,
+
+ /*
+ * RMNET_NETLINK_GET_VND_NAME - Gets the string name of a VND from ID
+ * Args: int32_t node number
+ * Returns: char[] vnd_name
+ */
+ RMNET_NETLINK_GET_VND_NAME,
+
+ /*
* RMNET_NETLINK_FREE_VND - Removes virtual network device node
* Args: int32_t node number
* Returns: status code