summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorHarout Hedeshian <harouth@codeaurora.org>2014-08-15 09:18:31 -0600
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:05:20 -0700
commitc0e8ab74fe51863d6361a4dbc9b922e05ecfda14 (patch)
tree5f606a66963d1bdf9f2331c938fc22b6561a3270 /include/uapi/linux
parentfd9a8748f12d426a9f76284dc7466d74bf42f3e7 (diff)
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 <harouth@codeaurora.org>
Diffstat (limited to 'include/uapi/linux')
-rw-r--r--include/uapi/linux/rmnet_data.h6
1 files changed, 5 insertions, 1 deletions
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 {