Browse Source

Import OCTSDR-2G-WS_SRC-02.04.00-B662

master
Harald Welte 7 years ago
parent
commit
12c323cd02
  1. 340
      GNU General Public Licence.txt
  2. BIN
      application/tool/wireshark/1.2.6/plugins/oct_rfc4175_yuv_ws.dll
  3. BIN
      application/tool/wireshark/1.2.6/plugins/octpkt_ws.dll
  4. BIN
      application/tool/wireshark/1.6.5/plugins/oct_rfc4175_yuv_ws.dll
  5. BIN
      application/tool/wireshark/1.6.5/plugins/octpkt_ws.dll
  6. 54
      application/tool/wireshark/plugins/Makefile.am
  7. 19
      application/tool/wireshark/plugins/octasic/include/oct_ws_macro.h
  8. 19
      application/tool/wireshark/plugins/octasic/include/oct_ws_priv.h
  9. 19
      application/tool/wireshark/plugins/octasic/include/oct_ws_version.h
  10. 5
      application/tool/wireshark/plugins/octasic/octsdr/makefile.nmake
  11. 5
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/include/module.h
  12. 69
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/include/octdev_common.h
  13. 69
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/include/octpkt_common.h
  14. 223
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/include/octvc1_common.h
  15. 63
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/include/octvocnet_common.h
  16. 11
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/include/plugin_info.h
  17. 17
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/include/ws_util.h
  18. 1
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/makefile.nmake
  19. BIN
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/octvc1.pcap
  20. 127
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octdev_common.c
  21. 175
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octpkt_common.c
  22. 926
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octvc1_cid_eid_value_string.c
  23. 6368
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octvc1_common.c
  24. 387
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octvc1_module_ctrl.c
  25. 20814
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octvc1_module_gsm.c
  26. 9565
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octvc1_module_hw.c
  27. 9903
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octvc1_module_irsc.c
  28. 11829
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octvc1_module_main.c
  29. 3583
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octvc1_module_test.c
  30. 30
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octvc1_msg_ctrl.c
  31. 3
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octvc1_msg_event.c
  32. 103
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octvc1_plugin.c
  33. 77
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octvocnet_common.c
  34. 24
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/plugin.c
  35. 30
      application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/ws_util.c
  36. 5
      application/tool/wireshark/plugins/octasic/octsdr/octvocnet_ws/include/module.h
  37. 8
      application/tool/wireshark/plugins/octasic/octsdr/octvocnet_ws/include/moduleinfo.h
  38. 63
      application/tool/wireshark/plugins/octasic/octsdr/octvocnet_ws/include/octvocnet_common.h
  39. 77
      application/tool/wireshark/plugins/octasic/octsdr/octvocnet_ws/source/octvocnet_common.c
  40. 26
      application/tool/wireshark/plugins/octasic/octsdr/octvocnet_ws/source/plugin.c
  41. 5
      software/include/octdev_devices.h
  42. 7
      software/include/octdev_devices_swap.h
  43. 5
      software/include/octdev_macro.h
  44. 5
      software/include/octdev_opus_rev.h
  45. 5
      software/include/octdev_rc_base.h
  46. 5
      software/include/octdev_types.h
  47. 7
      software/include/octdev_types_swap.h
  48. 58
      software/include/octoptions.h
  49. 5
      software/include/octpkt/octpkt_hdr.h
  50. 7
      software/include/octpkt/octpkt_hdr_swap.h
  51. 5
      software/include/octpkt/octpkt_hdrxl.h
  52. 7
      software/include/octpkt/octpkt_hdrxl_swap.h
  53. 5
      software/include/octvc1/ctrl/octvc1_ctrl_api.h
  54. 5
      software/include/octvc1/ctrl/octvc1_ctrl_api_priv.h
  55. 5
      software/include/octvc1/ctrl/octvc1_ctrl_api_priv_swap.h
  56. 7
      software/include/octvc1/ctrl/octvc1_ctrl_api_swap.h
  57. 5
      software/include/octvc1/ctrl/octvc1_ctrl_base.h
  58. 5
      software/include/octvc1/ctrl/octvc1_ctrl_id.h
  59. 5
      software/include/octvc1/ctrl/octvc1_ctrl_id_priv.h
  60. 9
      software/include/octvc1/ctrl/octvc1_ctrl_version.h
  61. 182
      software/include/octvc1/gsm/octvc1_gsm_api.h
  62. 5
      software/include/octvc1/gsm/octvc1_gsm_api_priv.h
  63. 5
      software/include/octvc1/gsm/octvc1_gsm_api_priv_swap.h
  64. 96
      software/include/octvc1/gsm/octvc1_gsm_api_swap.h
  65. 5
      software/include/octvc1/gsm/octvc1_gsm_base.h
  66. 126
      software/include/octvc1/gsm/octvc1_gsm_default.h
  67. 5
      software/include/octvc1/gsm/octvc1_gsm_default_priv.h
  68. 5
      software/include/octvc1/gsm/octvc1_gsm_evt.h
  69. 5
      software/include/octvc1/gsm/octvc1_gsm_evt_priv.h
  70. 5
      software/include/octvc1/gsm/octvc1_gsm_evt_priv_swap.h
  71. 7
      software/include/octvc1/gsm/octvc1_gsm_evt_swap.h
  72. 10
      software/include/octvc1/gsm/octvc1_gsm_id.h
  73. 5
      software/include/octvc1/gsm/octvc1_gsm_id_priv.h
  74. 25
      software/include/octvc1/gsm/octvc1_gsm_rc.h
  75. 5
      software/include/octvc1/gsm/octvc1_gsm_rc_priv.h
  76. 11
      software/include/octvc1/gsm/octvc1_gsm_version.h
  77. 39
      software/include/octvc1/hw/octvc1_hw_api.h
  78. 5
      software/include/octvc1/hw/octvc1_hw_api_priv.h
  79. 5
      software/include/octvc1/hw/octvc1_hw_api_priv_swap.h
  80. 23
      software/include/octvc1/hw/octvc1_hw_api_swap.h
  81. 5
      software/include/octvc1/hw/octvc1_hw_base.h
  82. 5
      software/include/octvc1/hw/octvc1_hw_default.h
  83. 5
      software/include/octvc1/hw/octvc1_hw_default_priv.h
  84. 5
      software/include/octvc1/hw/octvc1_hw_evt.h
  85. 5
      software/include/octvc1/hw/octvc1_hw_evt_priv.h
  86. 5
      software/include/octvc1/hw/octvc1_hw_evt_priv_swap.h
  87. 7
      software/include/octvc1/hw/octvc1_hw_evt_swap.h
  88. 5
      software/include/octvc1/hw/octvc1_hw_id.h
  89. 5
      software/include/octvc1/hw/octvc1_hw_id_priv.h
  90. 5
      software/include/octvc1/hw/octvc1_hw_rc.h
  91. 5
      software/include/octvc1/hw/octvc1_hw_rc_priv.h
  92. 9
      software/include/octvc1/hw/octvc1_hw_version.h
  93. 19
      software/include/octvc1/irsc/octvc1_irsc_api.h
  94. 5
      software/include/octvc1/irsc/octvc1_irsc_api_priv.h
  95. 5
      software/include/octvc1/irsc/octvc1_irsc_api_priv_swap.h
  96. 7
      software/include/octvc1/irsc/octvc1_irsc_api_swap.h
  97. 5
      software/include/octvc1/irsc/octvc1_irsc_base.h
  98. 5
      software/include/octvc1/irsc/octvc1_irsc_default.h
  99. 5
      software/include/octvc1/irsc/octvc1_irsc_default_priv.h
  100. 5
      software/include/octvc1/irsc/octvc1_irsc_evt.h
  101. Some files were not shown because too many files have changed in this diff Show More

340
GNU General Public Licence.txt

@ -1,340 +0,0 @@
GNU GENERAL PUBLIC LICENSE
Version 2, June 1991
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The licenses for most software are designed to take away your
freedom to share and change it. By contrast, the GNU General Public
License is intended to guarantee your freedom to share and change free
software--to make sure the software is free for all its users. This
General Public License applies to most of the Free Software
Foundation's software and to any other program whose authors commit to
using it. (Some other Free Software Foundation software is covered by
the GNU Library General Public License instead.) You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
this service if you wish), that you receive source code or can get it
if you want it, that you can change the software or use pieces of it
in new free programs; and that you know you can do these things.
To protect your rights, we need to make restrictions that forbid
anyone to deny you these rights or to ask you to surrender the rights.
These restrictions translate to certain responsibilities for you if you
distribute copies of the software, or if you modify it.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must give the recipients all the rights that
you have. You must make sure that they, too, receive or can get the
source code. And you must show them these terms so they know their
rights.
We protect your rights with two steps: (1) copyright the software, and
(2) offer you this license which gives you legal permission to copy,
distribute and/or modify the software.
Also, for each author's protection and ours, we want to make certain
that everyone understands that there is no warranty for this free
software. If the software is modified by someone else and passed on, we
want its recipients to know that what they have is not the original, so
that any problems introduced by others will not reflect on the original
authors' reputations.
Finally, any free program is threatened constantly by software
patents. We wish to avoid the danger that redistributors of a free
program will individually obtain patent licenses, in effect making the
program proprietary. To prevent this, we have made it clear that any
patent must be licensed for everyone's free use or not licensed at all.
The precise terms and conditions for copying, distribution and
modification follow.
GNU GENERAL PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. This License applies to any program or other work which contains
a notice placed by the copyright holder saying it may be distributed
under the terms of this General Public License. The "Program", below,
refers to any such program or work, and a "work based on the Program"
means either the Program or any derivative work under copyright law:
that is to say, a work containing the Program or a portion of it,
either verbatim or with modifications and/or translated into another
language. (Hereinafter, translation is included without limitation in
the term "modification".) Each licensee is addressed as "you".
Activities other than copying, distribution and modification are not
covered by this License; they are outside its scope. The act of
running the Program is not restricted, and the output from the Program
is covered only if its contents constitute a work based on the
Program (independent of having been made by running the Program).
Whether that is true depends on what the Program does.
1. You may copy and distribute verbatim copies of the Program's
source code as you receive it, in any medium, provided that you
conspicuously and appropriately publish on each copy an appropriate
copyright notice and disclaimer of warranty; keep intact all the
notices that refer to this License and to the absence of any warranty;
and give any other recipients of the Program a copy of this License
along with the Program.
You may charge a fee for the physical act of transferring a copy, and
you may at your option offer warranty protection in exchange for a fee.
2. You may modify your copy or copies of the Program or any portion
of it, thus forming a work based on the Program, and copy and
distribute such modifications or work under the terms of Section 1
above, provided that you also meet all of these conditions:
a) You must cause the modified files to carry prominent notices
stating that you changed the files and the date of any change.
b) You must cause any work that you distribute or publish, that in
whole or in part contains or is derived from the Program or any
part thereof, to be licensed as a whole at no charge to all third
parties under the terms of this License.
c) If the modified program normally reads commands interactively
when run, you must cause it, when started running for such
interactive use in the most ordinary way, to print or display an
announcement including an appropriate copyright notice and a
notice that there is no warranty (or else, saying that you provide
a warranty) and that users may redistribute the program under
these conditions, and telling the user how to view a copy of this
License. (Exception: if the Program itself is interactive but
does not normally print such an announcement, your work based on
the Program is not required to print an announcement.)
These requirements apply to the modified work as a whole. If
identifiable sections of that work are not derived from the Program,
and can be reasonably considered independent and separate works in
themselves, then this License, and its terms, do not apply to those
sections when you distribute them as separate works. But when you
distribute the same sections as part of a whole which is a work based
on the Program, the distribution of the whole must be on the terms of
this License, whose permissions for other licensees extend to the
entire whole, and thus to each and every part regardless of who wrote it.
Thus, it is not the intent of this section to claim rights or contest
your rights to work written entirely by you; rather, the intent is to
exercise the right to control the distribution of derivative or
collective works based on the Program.
In addition, mere aggregation of another work not based on the Program
with the Program (or with a work based on the Program) on a volume of
a storage or distribution medium does not bring the other work under
the scope of this License.
3. You may copy and distribute the Program (or a work based on it,
under Section 2) in object code or executable form under the terms of
Sections 1 and 2 above provided that you also do one of the following:
a) Accompany it with the complete corresponding machine-readable
source code, which must be distributed under the terms of Sections
1 and 2 above on a medium customarily used for software interchange; or,
b) Accompany it with a written offer, valid for at least three
years, to give any third party, for a charge no more than your
cost of physically performing source distribution, a complete
machine-readable copy of the corresponding source code, to be
distributed under the terms of Sections 1 and 2 above on a medium
customarily used for software interchange; or,
c) Accompany it with the information you received as to the offer
to distribute corresponding source code. (This alternative is
allowed only for noncommercial distribution and only if you
received the program in object code or executable form with such
an offer, in accord with Subsection b above.)
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means all the source code for all modules it contains, plus any
associated interface definition files, plus the scripts used to
control compilation and installation of the executable. However, as a
special exception, the source code distributed need not include
anything that is normally distributed (in either source or binary
form) with the major components (compiler, kernel, and so on) of the
operating system on which the executable runs, unless that component
itself accompanies the executable.
If distribution of executable or object code is made by offering
access to copy from a designated place, then offering equivalent
access to copy the source code from the same place counts as
distribution of the source code, even though third parties are not
compelled to copy the source along with the object code.
4. You may not copy, modify, sublicense, or distribute the Program
except as expressly provided under this License. Any attempt
otherwise to copy, modify, sublicense or distribute the Program is
void, and will automatically terminate your rights under this License.
However, parties who have received copies, or rights, from you under
this License will not have their licenses terminated so long as such
parties remain in full compliance.
5. You are not required to accept this License, since you have not
signed it. However, nothing else grants you permission to modify or
distribute the Program or its derivative works. These actions are
prohibited by law if you do not accept this License. Therefore, by
modifying or distributing the Program (or any work based on the
Program), you indicate your acceptance of this License to do so, and
all its terms and conditions for copying, distributing or modifying
the Program or works based on it.
6. Each time you redistribute the Program (or any work based on the
Program), the recipient automatically receives a license from the
original licensor to copy, distribute or modify the Program subject to
these terms and conditions. You may not impose any further
restrictions on the recipients' exercise of the rights granted herein.
You are not responsible for enforcing compliance by third parties to
this License.
7. If, as a consequence of a court judgment or allegation of patent
infringement or for any other reason (not limited to patent issues),
conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot
distribute so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you
may not distribute the Program at all. For example, if a patent
license would not permit royalty-free redistribution of the Program by
all those who receive copies directly or indirectly through you, then
the only way you could satisfy both it and this License would be to
refrain entirely from distribution of the Program.
If any portion of this section is held invalid or unenforceable under
any particular circumstance, the balance of the section is intended to
apply and the section as a whole is intended to apply in other
circumstances.
It is not the purpose of this section to induce you to infringe any
patents or other property right claims or to contest validity of any
such claims; this section has the sole purpose of protecting the
integrity of the free software distribution system, which is
implemented by public license practices. Many people have made
generous contributions to the wide range of software distributed
through that system in reliance on consistent application of that
system; it is up to the author/donor to decide if he or she is willing
to distribute software through any other system and a licensee cannot
impose that choice.
This section is intended to make thoroughly clear what is believed to
be a consequence of the rest of this License.
8. If the distribution and/or use of the Program is restricted in
certain countries either by patents or by copyrighted interfaces, the
original copyright holder who places the Program under this License
may add an explicit geographical distribution limitation excluding
those countries, so that distribution is permitted only in or among
countries not thus excluded. In such case, this License incorporates
the limitation as if written in the body of this License.
9. The Free Software Foundation may publish revised and/or new versions
of the General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies a version number of this License which applies to it and "any
later version", you have the option of following the terms and conditions
either of that version or of any later version published by the Free
Software Foundation. If the Program does not specify a version number of
this License, you may choose any version ever published by the Free Software
Foundation.
10. If you wish to incorporate parts of the Program into other free
programs whose distribution conditions are different, write to the author
to ask for permission. For software which is copyrighted by the Free
Software Foundation, write to the Free Software Foundation; we sometimes
make exceptions for this. Our decision will be guided by the two goals
of preserving the free status of all derivatives of our free software and
of promoting the sharing and reuse of software generally.
NO WARRANTY
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
REPAIR OR CORRECTION.
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
convey the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 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 General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
Also add information on how to contact you by electronic and paper mail.
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) year name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, the commands you use may
be called something other than `show w' and `show c'; they could even be
mouse-clicks or menu items--whatever suits your program.
You should also get your employer (if you work as a programmer) or your
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. Here is a sample; alter the names:
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
`Gnomovision' (which makes passes at compilers) written by James Hacker.
<signature of Ty Coon>, 1 April 1989
Ty Coon, President of Vice
This General Public License does not permit incorporating your program into
proprietary programs. If your program is a subroutine library, you may
consider it more useful to permit linking proprietary applications with the
library. If this is what you want to do, use the GNU Library General
Public License instead of this License.

BIN
application/tool/wireshark/1.2.6/plugins/oct_rfc4175_yuv_ws.dll

Binary file not shown.

BIN
application/tool/wireshark/1.2.6/plugins/octpkt_ws.dll

Binary file not shown.

BIN
application/tool/wireshark/1.6.5/plugins/oct_rfc4175_yuv_ws.dll

Binary file not shown.

BIN
application/tool/wireshark/1.6.5/plugins/octpkt_ws.dll

Binary file not shown.

54
application/tool/wireshark/plugins/Makefile.am

@ -1,54 +0,0 @@
# Makefile.am
# Automake file for Wireshark plugins
#
# $Id: Makefile.am 27506 2009-02-22 12:01:19Z jake $
#
# Wireshark - Network traffic analyzer
# By Gerald Combs <gerald@wireshark.org>
# Copyright 1998 Gerald Combs
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# 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 General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-include Custom.make
SUBDIRS = $(_CUSTOM_SUBDIRS_) \
asn1 \
docsis \
ethercat \
giop \
gryphon \
irda \
m2m \
mate \
opcua \
profinet \
sercosiii \
stats_tree \
unistim \
wimax \
wimaxasncp
plugindir = @plugindir@
EXTRA_DIST = \
Makefile.nmake
MAINTAINERCLEANFILES = \
Makefile.in
checkapi:
for i in $(SUBDIRS); do \
(cd "$$i"; $(MAKE) checkapi); \
done

19
application/tool/wireshark/plugins/octasic/include/oct_ws_macro.h

@ -6,21 +6,12 @@ Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Wireshark macro
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This source code is Octasic Confidential. Use of and access to this code
is covered by the Octasic Device Enabling Software License Agreement.
Acknowledgement of the Octasic Device Enabling Software License was
required for access to this code. A copy was also provided with the release.
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 General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: Octasic Application Development Framework OCTADF-04.00.00-B1829 (2015/07/02)
Release: Octasic Application Development Framework OCTADF-04.01.00-B1993 (2015/09/16)
$Octasic_Revision: 4 $

19
application/tool/wireshark/plugins/octasic/include/oct_ws_priv.h

@ -6,21 +6,12 @@ Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Wireshark private data
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This source code is Octasic Confidential. Use of and access to this code
is covered by the Octasic Device Enabling Software License Agreement.
Acknowledgement of the Octasic Device Enabling Software License was
required for access to this code. A copy was also provided with the release.
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 General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: Octasic Application Development Framework OCTADF-04.00.00-B1829 (2015/07/02)
Release: Octasic Application Development Framework OCTADF-04.01.00-B1993 (2015/09/16)
$Octasic_Revision: 4 $

19
application/tool/wireshark/plugins/octasic/include/oct_ws_version.h

@ -6,21 +6,12 @@ Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Octasic plugin version
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This source code is Octasic Confidential. Use of and access to this code
is covered by the Octasic Device Enabling Software License Agreement.
Acknowledgement of the Octasic Device Enabling Software License was
required for access to this code. A copy was also provided with the release.
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 General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: Octasic Application Development Framework OCTADF-04.00.00-B1829 (2015/07/02)
Release: Octasic Application Development Framework OCTADF-04.01.00-B1993 (2015/09/16)
$Octasic_Revision: 4 $

5
application/tool/wireshark/plugins/octasic/octsdr/makefile.nmake

@ -4,9 +4,11 @@ DEV_ROOT=../../../../../../..
WS_ROOT=../../../..
!IFNDEF WS_APP_PLUGIN
WS_APP_PLUGIN=$(PROGRAMFILES)/wireshark/plugins/
!ENDIF
!IFNDEF TGT_WS_VERSION
#Try to find Wireshark version
WS_APP_PLUGIN=$(PROGRAMFILES)/wireshark/plugins/
!IF EXIST("$(WS_APP_PLUGIN)/1.2.6")
TGT_WS_VERSION=1.2.6
!ENDIF
@ -37,6 +39,7 @@ clean: setup_m
install: setup_m
@echo WS path plugins:$(WS_APP_PLUGIN:/=\)$(TGT_WS_VERSION)
@cd "octvc1"
@$(MAKE) /NOLOGO /$(MAKEFLAGS) -f makefile.nmake install
@cd $(MAKEDIR)

5
application/tool/wireshark/plugins/octasic/octsdr/octvc1/include/module.h

@ -17,10 +17,11 @@ 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 General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
with this program;if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: Octasic Application Development Framework OCTADF-04.00.00-B1829 (2015/07/02)
Release: Octasic Application Development Framework OCTADF-04.01.00-B1993 (2015/09/16)
$Octasic_Revision: 4 $

69
application/tool/wireshark/plugins/octasic/octsdr/octvc1/include/octdev_common.h

@ -1,12 +1,12 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: octdev_common.h
Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contain the wireshark module dissector related functions
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: octdev_common.h
Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contain the wireshark module dissector related functions
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
@ -18,28 +18,29 @@ 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 General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
/***************************** INCLUDE FILES *******************************/
#ifndef _OCTDEV_COMMON_H__
#define _OCTDEV_COMMON_H__
#include <epan/packet.h>
/****************************************************************************
COMMON API ENUMERATION STRING VALUES
****************************************************************************/
extern const value_string vals_tOCT_BOOL32[3];
extern const value_string vals_tOCTDEV_IP_VERSION_ENUM[];
extern const value_string vals_tOCTDEV_DEVICES_TYPE_ENUM[];
extern const value_string vals_tOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM[];
#endif /* _OCTDEV_COMMON_H__ */
with this program;if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
$Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
/***************************** INCLUDE FILES *******************************/
#ifndef _OCTDEV_COMMON_H__
#define _OCTDEV_COMMON_H__
#include <epan/packet.h>
/****************************************************************************
COMMON API ENUMERATION STRING VALUES
****************************************************************************/
extern const value_string vals_tOCT_BOOL32[3];
extern const value_string vals_tOCTDEV_IP_VERSION_ENUM[];
extern const value_string vals_tOCTDEV_DEVICES_TYPE_ENUM[];
extern const value_string vals_tOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM[];
#endif /* _OCTDEV_COMMON_H__ */

69
application/tool/wireshark/plugins/octasic/octsdr/octvc1/include/octpkt_common.h

@ -1,12 +1,12 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: octpkt_common.h
Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contain the wireshark module dissector related functions
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: octpkt_common.h
Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contain the wireshark module dissector related functions
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
@ -18,28 +18,29 @@ 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 General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
/***************************** INCLUDE FILES *******************************/
#ifndef _OCTPKT_COMMON_H__
#define _OCTPKT_COMMON_H__
#include <epan/packet.h>
/****************************************************************************
COMMON API ENUMERATION STRING VALUES
****************************************************************************/
extern const value_string vals_tOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK[13];
extern const value_string vals_tOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM[];
extern const value_string vals_tOCTPKT_HDR_TYPE_ENUM[];
extern const value_string vals_tOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK[10];
#endif /* _OCTPKT_COMMON_H__ */
with this program;if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
$Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
/***************************** INCLUDE FILES *******************************/
#ifndef _OCTPKT_COMMON_H__
#define _OCTPKT_COMMON_H__
#include <epan/packet.h>
/****************************************************************************
COMMON API ENUMERATION STRING VALUES
****************************************************************************/
extern const value_string vals_tOCTPKT_HDR_FORMAT_PROTO_TYPE_LEN_MASK[13];
extern const value_string vals_tOCTPKT_HDR_CONTROL_PROTOCOL_TYPE_ENUM[];
extern const value_string vals_tOCTPKT_HDR_TYPE_ENUM[];
extern const value_string vals_tOCTPKT_HDRXL_FORMAT_PROTO_TYPE_LEN_MASK[10];
#endif /* _OCTPKT_COMMON_H__ */

223
application/tool/wireshark/plugins/octasic/octsdr/octvc1/include/octvc1_common.h

@ -1,12 +1,12 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: octvc1_common.h
Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contain the wireshark module dissector related functions
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: octvc1_common.h
Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contain the wireshark module dissector related functions
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
@ -18,101 +18,112 @@ 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 General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
/***************************** INCLUDE FILES *******************************/
#ifndef _OCTVC1_COMMON_H__
#define _OCTVC1_COMMON_H__
#include <epan/packet.h>
#include "octdev_common.h"
#include "octpkt_common.h"
#include "octvocnet_common.h"
/****************************************************************************
COMMON API ENUMERATION STRING VALUES
****************************************************************************/
extern const value_string vals_tOCTVC1_OBJECT_CURSOR_ENUM[];
extern const value_string vals_tOCTVC1_BUFFER_FORMAT_ENUM[];
extern const value_string vals_tOCTVC1_BUFFER_FORMAT_MAIN_ENUM[];
extern const value_string vals_tOCTVC1_ETH_PORT_ID_ENUM[];
extern const value_string vals_tOCTVC1_IP_VERSION_ENUM[];
extern const value_string vals_tOCTVC1_VLAN_PROTOCOL_ID_ENUM[];
extern const value_string vals_tOCTVC1_MSG_FLAGS_MASK[4];
extern const value_string vals_tOCTVC1_LOG_TYPE_ENUM[];
extern const value_string vals_tOCTVC1_LOG_LEVEL_ENUM[];
extern const value_string vals_tOCTVC1_LOG_PAYLOAD_TYPE_ENUM[];
extern const value_string vals_tOCTVC1_LOG_TRACE_MASK[11];
extern const value_string vals_tOCTVC1_FILE_TYPE_ENUM[];
extern const value_string vals_tOCTVC1_FILE_FORMAT_ENUM[];
extern const value_string vals_tOCTVC1_MODULE_ID_ENUM[];
extern const value_string vals_tOCTVC1_TAP_DIRECTION_ENUM[];
extern const value_string vals_tOCTVC1_TAP_ID[10];
extern const value_string vals_tOCTVC1_RADIO_STANDARD_ENUM[];
extern const value_string vals_tOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM[];
extern const value_string vals_tOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM[];
extern const value_string vals_tOCTVC1_RADIO_STANDARD_FREQ_BAND_LTE_ENUM[];
extern const value_string vals_tOCTVC1_RADIO_CONFIG_SCRIPT_TYPE_ENUM[];
extern const value_string vals_tOCTVC1_RADIO_ID_DIRECTION_ENUM[];
extern const value_string vals_tOCTVC1_RADIO_STANDARD_BANDWIDTH_ENUM[];
extern const value_string vals_tOCTVC1_RADIO_RX_GAIN_CTRL_MODE_ENUM[];
extern const value_string vals_tOCTVC1_PROCESS_TYPE_ENUM[];
extern const value_string vals_tOCTVC1_PROCESS_STATE_ENUM[];
extern const value_string vals_tOCTVC1_PROCESS_TASK_STATE_ENUM[];
/****************************************************************************
COMMON API DISSECTOR
****************************************************************************/
extern unsigned int dissect_tOCTVC1_CURSOR_HANDLE_OBJECT_GET(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_CURSOR_HANDLE_OBJECT_GET_HANDLE_OBJECT(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_CURSOR_HANDLE_OBJECT_GET_SUB_OBJECT_ID(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_CURSOR_INDEX_GET(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_CURSOR_INDEX_GET_SUB_INDEX(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_OBJECT32_NAME(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_VLAN_TAG(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_VLAN_HEADER_INFO(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_LIST_HANDLE_OBJECT_GET(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_LIST_NAME_OBJECT32_GET(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_LIST_HANDLE_OBJECT_GET_SUB_OBJECT_ID_NAME(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_LIST_HANDLE_OBJECT_GET_SUB_OBJECT_ID(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_LIST_INDEX_GET(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_LIST_INDEX_GET_SUB_INDEX(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_MSG_HEADER(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_EVENT_HEADER(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_LOG_HEADER(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_FILE_HEADER(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_MODULE_DATA(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_API_SESSION_INFO(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_API_SESSION_EVT_INFO(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_PROCESS_ERROR(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_PROCESS_TASK_STATS(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_PROCESS_CPU_USAGE_STATS(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
/****************************************************************************
COMMON USER REGISTATION
****************************************************************************/
void ws_register_OCTVC1_common(void);
#define cOCTVC1_PRIVATE_ID_STRING "unknowned_private"
#define cOCTVC1_UNKNOWN_STRING "Unknown"
#define cOCTVC1_GOD_USER "user_0"
#define cOCTVC1_GOD_USER_ID "user_1"
#define cOCTVC1_PRIVATE_VISIBILITY_USER "user_2"
#ifdef OCT_DECLARE_COMMON
with this program;if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
$Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
/***************************** INCLUDE FILES *******************************/
#ifndef _OCTVC1_COMMON_H__
#define _OCTVC1_COMMON_H__
#include <epan/packet.h>
#include "octdev_common.h"
#include "octpkt_common.h"
#include "octvocnet_common.h"
/****************************************************************************
COMMON API ENUMERATION STRING VALUES
****************************************************************************/
extern const value_string vals_tOCTVC1_OBJECT_CURSOR_ENUM[];
extern const value_string vals_tOCTVC1_BUFFER_FORMAT_ENUM[];
extern const value_string vals_tOCTVC1_BUFFER_FORMAT_MAIN_ENUM[];
extern const value_string vals_tOCTVC1_ETH_PORT_ID_ENUM[];
extern const value_string vals_tOCTVC1_IP_VERSION_ENUM[];
extern const value_string vals_tOCTVC1_VLAN_PROTOCOL_ID_ENUM[];
extern const value_string vals_tOCTVC1_MSG_FLAGS_MASK[4];
extern const value_string vals_tOCTVC1_LOG_TYPE_ENUM[];
extern const value_string vals_tOCTVC1_LOG_LEVEL_ENUM[];
extern const value_string vals_tOCTVC1_LOG_PAYLOAD_TYPE_ENUM[];
extern const value_string vals_tOCTVC1_LOG_TRACE_MASK[11];
extern const value_string vals_tOCTVC1_FILE_TYPE_ENUM[];
extern const value_string vals_tOCTVC1_FILE_FORMAT_ENUM[];
extern const value_string vals_tOCTVC1_MODULE_ID_ENUM[];
extern const value_string vals_tOCTVC1_TAP_DIRECTION_ENUM[];
extern const value_string vals_tOCTVC1_TAP_ID[10];
extern const value_string vals_tOCTVC1_RADIO_STANDARD_ENUM[];
extern const value_string vals_tOCTVC1_RADIO_STANDARD_FREQ_BAND_GSM_ENUM[];
extern const value_string vals_tOCTVC1_RADIO_STANDARD_FREQ_BAND_UMTS_ENUM[];
extern const value_string vals_tOCTVC1_RADIO_STANDARD_FREQ_BAND_LTE_ENUM[];
extern const value_string vals_tOCTVC1_RADIO_CONFIG_SCRIPT_TYPE_ENUM[];
extern const value_string vals_tOCTVC1_RADIO_ID_DIRECTION_ENUM[];
extern const value_string vals_tOCTVC1_RADIO_STANDARD_BANDWIDTH_ENUM[];
extern const value_string vals_tOCTVC1_RADIO_RX_GAIN_CTRL_MODE_ENUM[];
extern const value_string vals_tOCTVC1_PROCESS_TYPE_ENUM[];
extern const value_string vals_tOCTVC1_PROCESS_STATE_ENUM[];
extern const value_string vals_tOCTVC1_PROCESS_TASK_STATE_ENUM[];
/****************************************************************************
COMMON API DISSECTOR
****************************************************************************/
extern unsigned int dissect_tOCTVC1_CURSOR_HANDLE_OBJECT_GET(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_CURSOR_HANDLE_OBJECT_GET_HANDLE_OBJECT(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_CURSOR_HANDLE_OBJECT_GET_SUB_OBJECT_ID(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_CURSOR_INDEX_GET(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_CURSOR_INDEX_GET_SUB_INDEX(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_OBJECT32_NAME(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_VLAN_TAG(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_VLAN_HEADER_INFO(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_LIST_HANDLE_OBJECT_GET(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_LIST_NAME_OBJECT32_GET(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_LIST_HANDLE_OBJECT_GET_SUB_OBJECT_ID_NAME(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_LIST_HANDLE_OBJECT_GET_SUB_OBJECT_ID(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_LIST_INDEX_GET(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_LIST_INDEX_GET_SUB_INDEX(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_MSG_HEADER(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_EVENT_HEADER(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_LOG_HEADER(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_FILE_HEADER(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_MODULE_DATA(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_API_SESSION_INFO(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_API_SESSION_EVT_INFO(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_PROCESS_ERROR(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_PROCESS_TASK_STATS(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
extern unsigned int dissect_tOCTVC1_PROCESS_CPU_USAGE_STATS(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtValue );
/****************************************************************************
COMMON USER REGISTATION
****************************************************************************/
void ws_register_OCTVC1_common(void);
#define cOCTVC1_PRIVATE_ID_STRING "unknowned_private"
#define cOCTVC1_UNKNOWN_STRING "Unknown"
#ifndef OCT_OPTION_REMOVE_PRIVATE
#define cOCTVC1_THE_USER "oct-super-user"
#define cOCTVC1_THE_USER_ID "octsu98asic"
#endif /* OCT_OPTION_REMOVE_PRIVATE */
#define cOCTVC1_PRIVATE_VISIBILITY_USER "oct-dev"
#ifdef OCT_DECLARE_COMMON
gchar* aOCTVC1_user_list[][2] = {
{NULL,NULL}
};
#else
gchar* aOCTVC1_user_list[][2];
#endif /* OCT_DECLARE_COMMON */
extern const gchar* octvc1_chck_private( guint32 f_event_id_code, const value_string *f_PrivateApi, gint32 * f_piRegistered );
#endif /* _OCTVC1_COMMON_H__ */
{ "oct-dev","octdev98asic"},
#ifndef OCT_OPTION_REMOVE_PRIVATE
{ "feature-spec","feature-psw"},
{ "company","company-psw"},
{ "company-2","company-2-psw"},
#endif /* OCT_OPTION_REMOVE_PRIVATE */
{NULL,NULL}
};
#else
gchar* aOCTVC1_user_list[][2];
#endif /* OCT_DECLARE_COMMON */
extern const gchar* octvc1_chck_private( guint32 f_event_id_code, const value_string *f_PrivateApi, gint32 * f_piRegistered );
#endif /* _OCTVC1_COMMON_H__ */

63
application/tool/wireshark/plugins/octasic/octsdr/octvc1/include/octvocnet_common.h

@ -1,12 +1,12 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: octvocnet_common.h
Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contain the wireshark module dissector related functions
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: octvocnet_common.h
Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contain the wireshark module dissector related functions
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
@ -18,25 +18,26 @@ 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 General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
/***************************** INCLUDE FILES *******************************/
#ifndef _OCTVOCNET_COMMON_H__
#define _OCTVOCNET_COMMON_H__
#include <epan/packet.h>
/****************************************************************************
COMMON API ENUMERATION STRING VALUES
****************************************************************************/
extern const value_string vals_tOCTVOCNET_PKT_CONTROL_PROTOCOL_TYPE_ENUM[];
#endif /* _OCTVOCNET_COMMON_H__ */
with this program;if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
$Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
/***************************** INCLUDE FILES *******************************/
#ifndef _OCTVOCNET_COMMON_H__
#define _OCTVOCNET_COMMON_H__
#include <epan/packet.h>
/****************************************************************************
COMMON API ENUMERATION STRING VALUES
****************************************************************************/
extern const value_string vals_tOCTVOCNET_PKT_CONTROL_PROTOCOL_TYPE_ENUM[];
#endif /* _OCTVOCNET_COMMON_H__ */

11
application/tool/wireshark/plugins/octasic/octsdr/octvc1/include/plugin_info.h

@ -17,10 +17,11 @@ 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 General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
with this program;if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: Octasic Application Development Framework OCTADF-04.00.00-B1829 (2015/07/02)
Release: Octasic Application Development Framework OCTADF-04.01.00-B1993 (2015/09/16)
$Octasic_Revision: 4 $
@ -32,7 +33,7 @@ $Octasic_Revision: 4 $
/***************************** INCLUDES *************************************/
#include <epan/packet.h>
#include "../../../include/oct_ws_version.h"
#include "../../../include/oct_ws_version.h"
#include "../../../include/oct_ws_macro.h"
/***************************** DEFINES **************************************/
@ -60,11 +61,11 @@ $Octasic_Revision: 4 $
/* Version number of package */
/* WAS : #if !defined( TGT_VERSION ) || (TGT_VERSION == 0) but TGT_VERSION may be a string ... can't compare */
#if defined( NO_TGT_VERSION )
#define VERSION QUOTEME(MODULE_VERSION)
#define VERSION QUOTEME(MODULE_VERSION)
#else
#define VERSION QUOTEME(MODULE_VERSION-TGT_VERSION)
#endif
/***************************** VARIABLE ***********************************/
extern dissector_handle_t data_handle;

17
application/tool/wireshark/plugins/octasic/octsdr/octvc1/include/ws_util.h

@ -18,10 +18,11 @@ 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 General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
with this program;if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: Octasic Application Development Framework OCTADF-04.00.00-B1829 (2015/07/02)
Release: Octasic Application Development Framework OCTADF-04.01.00-B1993 (2015/09/16)
$Octasic_Revision: 4 $
@ -69,11 +70,11 @@ extern int ws_dissector_notimplemented( tvbuff_t *tvb, packet_info *pinfo, proto
extern unsigned int dissect_tOCTVC1_MAIN_FILE_HANDLE(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, unsigned int offset, tWS_EXTRA_VALUE *pExtraValue );
extern const char * dissect_OCTVC1_Return_Code( guint32 ulRc );
#if defined(VERSION_MAJOR) && (VERSION_MAJOR > 1 || (VERSION_MAJOR == 1 && VERSION_MINOR > 8))
WS_DLL_PUBLIC const char *decode_enumerated_bitfield(const guint32 val, const guint32 mask,const int width, const value_string *tab, const char *fmt);
#endif
#if defined(VERSION_MAJOR) && (VERSION_MAJOR > 1 || (VERSION_MAJOR == 1 && VERSION_MINOR > 8))
WS_DLL_PUBLIC const char *decode_enumerated_bitfield(const guint32 val, const guint32 mask,const int width, const value_string *tab, const char *fmt);
#endif
#endif /* __OCT_WS_UTIL_H__ */

1
application/tool/wireshark/plugins/octasic/octsdr/octvc1/makefile.nmake

@ -57,6 +57,7 @@ RC_INTERNAL_NAME="Base on $(PACKAGE) version $(TGT_VERSION)"
LOCAL_CFLAGS=/DMODULE_VERSION=$(MODULE_VERSION) $(LOCAL_CFLAGS)
RC_INTERNAL_NAME="Base on $(PACKAGE) version $(MODULE_VERSION)"
!ENDIF
LOCAL_CFLAGS=$(LOCAL_CFLAGS) /FI $(MAKEDIR)/$(OCT_INC)/octoptions.h
!include ..\..\MakeRules.nmake

BIN
application/tool/wireshark/plugins/octasic/octsdr/octvc1/octvc1.pcap

Binary file not shown.

127
application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octdev_common.c

@ -1,12 +1,12 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: octdev_common.c
Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contain the wireshark module dissector related functions
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: octdev_common.c
Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contain the wireshark module dissector related functions
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
@ -18,57 +18,58 @@ 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 General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)
$Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
/***************************** INCLUDE FILES *******************************/
#include <config.h>
#include <epan/packet.h>
#include "../../../include/oct_ws_macro.h"
#include "../include/module.h"
#include "../include/octdev_common.h"
#include <octdev_types.h>
/****************************************************************************
MODULE API ENUMERATION STRING VALUES
****************************************************************************/
const value_string vals_tOCTDEV_IP_VERSION_ENUM[] =
{
{ cOCTDEV_IP_VERSION_ENUM_4, "cOCTDEV_IP_VERSION_ENUM_4" },
{ cOCTDEV_IP_VERSION_ENUM_6, "cOCTDEV_IP_VERSION_ENUM_6" },
{ cOCTDEV_IP_VERSION_ENUM_INVALID, "cOCTDEV_IP_VERSION_ENUM_INVALID" },
{ 0, NULL }
};
#include <octdev_devices.h>
/****************************************************************************
MODULE API ENUMERATION STRING VALUES
****************************************************************************/
const value_string vals_tOCTDEV_DEVICES_TYPE_ENUM[] =
{
{ cOCTDEV_DEVICES_TYPE_ENUM_INVALID, "cOCTDEV_DEVICES_TYPE_ENUM_INVALID" },
{ cOCTDEV_DEVICES_TYPE_ENUM_OCT1010, "cOCTDEV_DEVICES_TYPE_ENUM_OCT1010" },
{ cOCTDEV_DEVICES_TYPE_ENUM_OCT2200, "cOCTDEV_DEVICES_TYPE_ENUM_OCT2200" },
{ cOCTDEV_DEVICES_TYPE_ENUM_CPU, "cOCTDEV_DEVICES_TYPE_ENUM_CPU" },
{ 0, NULL }
};
const value_string vals_tOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM[] =
{
{ cOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM_INVALID, "cOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM_INVALID" },
{ cOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM_OPUS1, "cOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM_OPUS1" },
{ cOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM_OPUS2, "cOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM_OPUS2" },
{ 0, NULL }
};
with this program;if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.04.00-B662 (2015/10/28)
$Octasic_Revision: $
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
/***************************** INCLUDE FILES *******************************/
#include <config.h>
#include <epan/packet.h>
#include "../../../include/oct_ws_macro.h"
#include "../include/module.h"
#include "../include/octdev_common.h"
#include <octdev_types.h>
/****************************************************************************
MODULE API ENUMERATION STRING VALUES
****************************************************************************/
const value_string vals_tOCTDEV_IP_VERSION_ENUM[] =
{
{ cOCTDEV_IP_VERSION_ENUM_4, "cOCTDEV_IP_VERSION_ENUM_4" },
{ cOCTDEV_IP_VERSION_ENUM_6, "cOCTDEV_IP_VERSION_ENUM_6" },
{ cOCTDEV_IP_VERSION_ENUM_INVALID, "cOCTDEV_IP_VERSION_ENUM_INVALID" },
{ 0, NULL }
};
#include <octdev_devices.h>
/****************************************************************************
MODULE API ENUMERATION STRING VALUES
****************************************************************************/
const value_string vals_tOCTDEV_DEVICES_TYPE_ENUM[] =
{
{ cOCTDEV_DEVICES_TYPE_ENUM_INVALID, "cOCTDEV_DEVICES_TYPE_ENUM_INVALID" },
{ cOCTDEV_DEVICES_TYPE_ENUM_OCT1010, "cOCTDEV_DEVICES_TYPE_ENUM_OCT1010" },
{ cOCTDEV_DEVICES_TYPE_ENUM_OCT2200, "cOCTDEV_DEVICES_TYPE_ENUM_OCT2200" },
{ cOCTDEV_DEVICES_TYPE_ENUM_CPU, "cOCTDEV_DEVICES_TYPE_ENUM_CPU" },
{ 0, NULL }
};
const value_string vals_tOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM[] =
{
{ cOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM_INVALID, "cOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM_INVALID" },
{ cOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM_OPUS1, "cOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM_OPUS1" },
{ cOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM_OPUS2, "cOCTDEV_DEVICES_DSP_CORE_TYPE_ENUM_OPUS2" },
{ 0, NULL }
};

175
application/tool/wireshark/plugins/octasic/octsdr/octvc1/source/octpkt_common.c

@ -1,12 +1,12 @@
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: octpkt_common.c
Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contain the wireshark module dissector related functions
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
File: octpkt_common.c
Copyright (c) 2015 Octasic Inc. All rights reserved.
Description: Contain the wireshark module dissector related functions
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
@ -18,81 +18,82 @@ 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 General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Release: OCTSDR Software Development Kit OCTSDR_GSM-02.03.00-B572 (2015/08/13)