From 0f789efb3a122daecbb5dcf2df16f2943dd2603e Mon Sep 17 00:00:00 2001 From: Harout Hedeshian Date: Tue, 8 Oct 2013 11:46:55 -0600 Subject: 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 --- include/uapi/linux/rmnet_data.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'include/uapi/linux') 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 @@ -164,6 +164,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 -- cgit v1.2.3