2016-01-18 19:42:15 +00:00
|
|
|
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
|
|
|
|
|
|
|
|
File: OCTVC1_BUFFER.h
|
|
|
|
|
2017-09-14 08:57:12 +00:00
|
|
|
Copyright (c) 2017 Octasic Inc. All rights reserved.
|
2016-01-18 19:42:15 +00:00
|
|
|
|
|
|
|
Description:
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU Affero General Public License as published by
|
|
|
|
the Free Software Foundation; either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Affero General Public License
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
|
2017-11-27 14:48:19 +00:00
|
|
|
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.09.00-B1607 (2017/08/29)
|
2016-01-18 19:42:15 +00:00
|
|
|
|
|
|
|
$Revision: $
|
|
|
|
|
|
|
|
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
|
|
|
|
|
|
|
|
#ifndef __OCTVC1_BUFFER_H__
|
|
|
|
#define __OCTVC1_BUFFER_H__
|
|
|
|
|
|
|
|
|
|
|
|
/***************************** INCLUDE FILES *******************************/
|
|
|
|
#include "../octdev_types.h"
|
|
|
|
#include "octvc1_module.h"
|
|
|
|
|
|
|
|
|
|
|
|
/************************ COMMON DEFINITIONS *******************************/
|
|
|
|
|
|
|
|
/*-------------------------------------------------------------------------------------
|
|
|
|
tOCTVC1_BUFFER_FORMAT_ENUM : Buffer format
|
|
|
|
Bits[31:16] Reserved
|
|
|
|
Bits[15:12] Specify the API type of a buffer.
|
|
|
|
Bits[11: 0] Specify the content type of a buffer.
|
|
|
|
-------------------------------------------------------------------------------------*/
|
|
|
|
#define tOCTVC1_BUFFER_FORMAT_ENUM tOCT_UINT32
|
|
|
|
|
|
|
|
#define cOCTVC1_BUFFER_FORMAT_ENUM_UNKNOWN 0x0000
|
|
|
|
#define cOCTVC1_BUFFER_FORMAT_ENUM_MAIN ((tOCT_UINT32)(cOCTVC1_MODULE_ID_ENUM_MAIN<<12) )
|
|
|
|
|
|
|
|
/*-------------------------------------------------------------------------------------
|
|
|
|
tOCTVC1_BUFFER_FORMAT_MAIN_ENUM :
|
|
|
|
-------------------------------------------------------------------------------------*/
|
|
|
|
#define tOCTVC1_BUFFER_FORMAT_MAIN_ENUM tOCTVC1_BUFFER_FORMAT_ENUM
|
|
|
|
|
|
|
|
#define cOCTVC1_BUFFER_FORMAT_MAIN_ENUM_PCAP_TRACE ((tOCTVC1_BUFFER_FORMAT_ENUM)(0x0001|cOCTVC1_BUFFER_FORMAT_ENUM_MAIN) )
|
|
|
|
#define cOCTVC1_BUFFER_FORMAT_MAIN_ENUM_FILE_SYS ((tOCTVC1_BUFFER_FORMAT_ENUM)(0x0002|cOCTVC1_BUFFER_FORMAT_ENUM_MAIN) )
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* __OCTVC1_BUFFER_H__ */
|
|
|
|
|