• source navigation  • diff markup  • identifier search  • freetext search  • 

Sources/uqmi/common/qmi-enums-private.h

  1 /* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
  2 /*
  3  * uqmi -- tiny QMI support implementation
  4  *
  5  * This library is free software; you can redistribute it and/or
  6  * modify it under the terms of the GNU Lesser General Public
  7  * License as published by the Free Software Foundation; either
  8  * version 2 of the License, or (at your option) any later version.
  9  *
 10  * This library is distributed in the hope that it will be useful,
 11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
 12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 13  * Lesser General Public License for more details.
 14  *
 15  * You should have received a copy of the GNU Lesser General Public
 16  * License along with this library; if not, write to the
 17  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
 18  * Boston, MA 02110-1301 USA.
 19  *
 20  * Copyright (C) 2012 Google Inc.
 21  * Copyright (C) 2012-2017 Aleksander Morgado <aleksander@aleksander.es>
 22  */
 23 
 24 #ifndef _LIBQMI_GLIB_QMI_ENUMS_PRIVATE_H_
 25 #define _LIBQMI_GLIB_QMI_ENUMS_PRIVATE_H_
 26 
 27 /*****************************************************************************/
 28 /* QMI Control */
 29 
 30 /**
 31  * QmiCtlDataFormat:
 32  * @QMI_CTL_DATA_FORMAT_QOS_FLOW_HEADER_ABSENT: QoS header absent
 33  * @QMI_CTL_DATA_FORMAT_QOS_FLOW_HEADER_PRESENT: QoS header present
 34  *
 35  * Controls whether the network port data format includes a QoS header or not.
 36  * Should normally be set to ABSENT.
 37  */
 38 typedef enum {
 39     QMI_CTL_DATA_FORMAT_QOS_FLOW_HEADER_ABSENT  = 0,
 40     QMI_CTL_DATA_FORMAT_QOS_FLOW_HEADER_PRESENT = 1,
 41 } QmiCtlDataFormat;
 42 
 43 /**
 44  * QmiCtlDataLinkProtocol:
 45  * @QMI_CTL_DATA_LINK_PROTOCOL_802_3: data frames formatted as 802.3 Ethernet
 46  * @QMI_CTL_DATA_LINK_PROTOCOL_RAW_IP: data frames are raw IP packets
 47  *
 48  * Determines the network port data format.
 49  */
 50 typedef enum {
 51     QMI_CTL_DATA_LINK_PROTOCOL_UNKNOWN = 0,
 52     QMI_CTL_DATA_LINK_PROTOCOL_802_3   = 1,
 53     QMI_CTL_DATA_LINK_PROTOCOL_RAW_IP  = 2,
 54 } QmiCtlDataLinkProtocol;
 55 
 56 /**
 57  * QmiCtlFlag:
 58  * @QMI_CTL_FLAG_NONE: None.
 59  * @QMI_CTL_FLAG_RESPONSE: Message is a response.
 60  * @QMI_CTL_FLAG_INDICATION: Message is an indication.
 61  *
 62  * QMI flags in messages of the %QMI_SERVICE_CTL service.
 63  */
 64 typedef enum {
 65     QMI_CTL_FLAG_NONE       = 0,
 66     QMI_CTL_FLAG_RESPONSE   = 1 << 0,
 67     QMI_CTL_FLAG_INDICATION = 1 << 1
 68 } QmiCtlFlag;
 69 
 70 /**
 71  * QmiServiceFlag:
 72  * @QMI_SERVICE_FLAG_NONE: None.
 73  * @QMI_SERVICE_FLAG_COMPOUND: Message is compound.
 74  * @QMI_SERVICE_FLAG_RESPONSE: Message is a response.
 75  * @QMI_SERVICE_FLAG_INDICATION: Message is an indication.
 76  *
 77  * QMI flags in messages which are not of the %QMI_SERVICE_CTL service.
 78  */
 79 typedef enum {
 80     QMI_SERVICE_FLAG_NONE       = 0,
 81     QMI_SERVICE_FLAG_COMPOUND   = 1 << 0,
 82     QMI_SERVICE_FLAG_RESPONSE   = 1 << 1,
 83     QMI_SERVICE_FLAG_INDICATION = 1 << 2
 84 } QmiServiceFlag;
 85 
 86 
 87 
 88 #endif /* _LIBQMI_GLIB_QMI_ENUMS_PRIVATE_H_ */
 89 

This page was automatically generated by LXR 0.3.1.  •  OpenWrt