From c0e8ab74fe51863d6361a4dbc9b922e05ecfda14 Mon Sep 17 00:00:00 2001 From: Harout Hedeshian Date: Fri, 15 Aug 2014 09:18:31 -0600 Subject: net: rmnet_data: Add documentation for configuration structures Better document the configuration structures and the element usage. Anticipating more elements being added in the near term. Change-Id: I5ca90b7a776072d6b1ac4838782cada38f4fea3b Signed-off-by: Harout Hedeshian --- include/uapi/linux/rmnet_data.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include/uapi/linux') diff --git a/include/uapi/linux/rmnet_data.h b/include/uapi/linux/rmnet_data.h index f3b4f10d7c75..3295a1a5f1fd 100644 --- a/include/uapi/linux/rmnet_data.h +++ b/include/uapi/linux/rmnet_data.h @@ -224,10 +224,14 @@ enum rmnet_netlink_message_types_e { }; enum rmnet_config_endpoint_modes_e { + /* Pass the frame up the stack with no modifications to skb->dev */ RMNET_EPMODE_NONE, + /* Replace skb->dev to a virtual rmnet device and pass up the stack */ RMNET_EPMODE_VND, + /* Pass the frame directly to another device with dev_queue_xmit(). */ RMNET_EPMODE_BRIDGE, - RMNET_EPMODE_LENGTH /* Must be the last item in the list */ + /* Must be the last item in the list */ + RMNET_EPMODE_LENGTH }; enum rmnet_config_return_codes_e { -- cgit v1.2.3