aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dvbci.c
AgeCommit message (Collapse)AuthorFilesLines
2012-08-10Use val_to_str_const() where appropriate;wmeier1-12/+12
Also (for a few files): - create/use some extended value strings; - remove unneeded #include files; - remove unneeded variable initialization; - re-order fcns slightly so prefs_reg_handoff...() at end, etc git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@44438 f5534014-38df-0310-8fa8-9805f1628bb7
2012-08-09call mpeg_pmt dissector directly for CI+ tune_broadcast_req apdumartink1-18/+15
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@44400 f5534014-38df-0310-8fa8-9805f1628bb7
2012-08-04dissect multiple nit sections in the CI+ operator_nit apdumartink1-26/+43
fetch handles for dvb_nit and data dissectors only once git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@44261 f5534014-38df-0310-8fa8-9805f1628bb7
2012-07-11From Martin Kaiser via ↵pascal1-0/+1
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7468 : DVB-CI/CI+: fix offset error in operator_info apdu git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43668 f5534014-38df-0310-8fa8-9805f1628bb7
2012-07-09From Martin Kaiser:etxrab1-20/+67
DVB-CI/CI+: dissect the payload of LSC messages. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7440 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43620 f5534014-38df-0310-8fa8-9805f1628bb7
2012-06-29From Martin Kaiser via ↵pascal1-16/+30
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7420 : CI/CI+: dissect CICAM NIT git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43546 f5534014-38df-0310-8fa8-9805f1628bb7
2012-06-25From Martin Kaiser:etxrab1-0/+6
add X.509 certificate extensions for DVB-CI/CI+ https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7397 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43485 f5534014-38df-0310-8fa8-9805f1628bb7
2012-06-20Use separate filters for the RTT found on a SACK and the RTT found on amorriss1-233/+280
DATA chunk: having them in both places is helpful when looking at the messages but having them separate is helpful when graphing the RTTs. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@43406 f5534014-38df-0310-8fa8-9805f1628bb7
2012-03-06Use tvb_new_subset_remaining() rather than tvb_new_subset();wmeier1-605/+805
#include <styring.h> not req'd (in a few cases); Minor reformating & whitespace cleanup. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@41374 f5534014-38df-0310-8fa8-9805f1628bb7
2012-03-04From Martin Kaiser: DVB-CI authentication resource ↵etxrab1-0/+51
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6905 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@41338 f5534014-38df-0310-8fa8-9805f1628bb7
2012-03-01From Martin Kaiser via ↵morriss1-72/+140
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6890 : The attached patch for the DVB-CI dissector creates a circuit for each DVB-CI session, using the session number as circuit id. The DVB-CI session commands are: - open_session_request(resource_id) - session_opened(resource_id, newly assigned session number) - payload transfer(session_number, payload data) - close session(session_number) For now, the circuit will store the resource id and make it available (as a generated item) to subsequent packets that contain only the session number. Doing this, the resource id (which is like a tcp/udp port) can be used for filtering. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@41253 f5534014-38df-0310-8fa8-9805f1628bb7
2012-01-11From Martin Kaiser:etxrab1-71/+235
DVB-CI / CI+ dissect sac message body. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6723 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40435 f5534014-38df-0310-8fa8-9805f1628bb7
2012-01-08From Martin Kaiser:etxrab1-8/+151
DVB-CI / CI+ decrypt SAC messages. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6700 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@40407 f5534014-38df-0310-8fa8-9805f1628bb7
2011-11-14From Martin Kaiser:etxrab1-0/+24
DVB-CI / CI+ dissect X.509 certificates. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6575 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39832 f5534014-38df-0310-8fa8-9805f1628bb7
2011-11-06From Martin Kaiser via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6545alagoutte1-4/+1
DVB-CI / CI+ fix clang warning about unused variable git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39745 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-30From Martin Kaiser:etxrab1-31/+475
DVB-CI / CI+ Operator Profile Resource https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6507 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39675 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-15Convert proto_tree_add_item() 'encoding' arg for field types FT_STRING, ↵wmeier1-6/+6
FT_STRINGZ, FT_UINT_STRING as follows: 1. If there's no character encoding (ENC_ASCII, ...) specified then use ENC_ASCII. 2. For all but FT_UINT_STRING, always use ENC_NA (replacing any existing True/1/FALSE/0 /ENC_BIG_ENDIAN/ENC_LITTLE_ENDIAN). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39426 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-10 Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵wmeier1-1/+1
non-autogenerated epan/dissectors: Specifically: Replace FALSE|0 and TRUE|1 by ENC_BIG_ENDIAN|ENC_LITTLE_ENDIAN as the encoding parameter for proto_tree_add_item() calls which directly reference an item in hf[] which has a type of: FT_BOOLEAN FT_IPv4 FT_EUI64 FT_GUID FT_UINT_STRING Also: For type FT_ITv6 use ENC_NA. (This was missed in SVN #39260) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39328 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-07From Martin Kaiser:etxrab1-33/+256
DVB-CI / CI+ CC resource version 2 https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6436 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39306 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-04Use ENC_NA as encoding for proto_tree_add_item() calls which directly ↵wmeier1-9/+9
reference an hf item (in hf[] with types: FT_NONE FT_BYTES FT_IPV6 FT_IPXNET FT_OID Note: Encoding field set to ENC_NA only if the field was previously TRUE|FALSE|ENC_LITTLE_ENDIAN|ENC_BIG_ENDIAN git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39260 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-02From Martin Kaiser:etxrab1-12/+455
Low Speed Communication Resource https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6423 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39224 f5534014-38df-0310-8fa8-9805f1628bb7
2011-10-02From Martin Kaiser:etxrab1-47/+130
DVB-CI / CI+ Host Control Version 2 https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6419 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39223 f5534014-38df-0310-8fa8-9805f1628bb7
2011-09-26From Martin Kaiser:etxrab1-68/+346
Implement the content control resource from the CI+ specification 1.2. From me: Change ENC_NA to ENC_BIG_ENDIAN as i suppose this is a big endian protocol and ENC_NA was erroneously used for irems bigger than i byte in some cases. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39143 f5534014-38df-0310-8fa8-9805f1628bb7
2011-09-21Fix vi "modeline" so it works;wmeier1-1/+1
See https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5748 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39074 f5534014-38df-0310-8fa8-9805f1628bb7
2011-09-19From Martin Kaiser:etxrab1-17/+71
DVB-CI / CI+ Application MMI version 2 https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6352 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@39037 f5534014-38df-0310-8fa8-9805f1628bb7
2011-09-11From Martin Kaiser:etxrab1-3/+95
DVB-CI / CI+ Specific Application Support (SAS) resource https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6334 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38966 f5534014-38df-0310-8fa8-9805f1628bb7
2011-09-11From Martin Kaiser:etxrab1-9/+206
DVB-CI / CI+ Application MMI resource. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6332 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38965 f5534014-38df-0310-8fa8-9805f1628bb7
2011-09-07From Martin Kaiser:etxrab1-75/+202
DVB-CI / CI+ CAM upgrade resource https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6309 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38908 f5534014-38df-0310-8fa8-9805f1628bb7
2011-09-07From Martin Kaiser:etxrab1-26/+74
DVB-CI / CI+ Host language and country resource. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6308 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38907 f5534014-38df-0310-8fa8-9805f1628bb7
2011-09-07From Martin Kaiser:etxrab1-63/+89
DVB-CI / CI+ appinfo v3 apdus. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6307 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38906 f5534014-38df-0310-8fa8-9805f1628bb7
2011-08-29From Martin Kaiser:etxrab1-79/+79
correct the filter names https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6239 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38767 f5534014-38df-0310-8fa8-9805f1628bb7
2011-08-29From Martin Kaiser:etxrab1-28/+123
DVB-CI dissector: reassembly on the transport layer. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6221 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38766 f5534014-38df-0310-8fa8-9805f1628bb7
2011-08-09From Martin Kaiser via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6220alagoutte1-6/+2
DVB-CI dissector: fix buildbot warnings git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38428 f5534014-38df-0310-8fa8-9805f1628bb7
2011-08-02From Martin Kaiser:etxrab1-16/+97
DVB-CI dissector, packet reassembly on the link layer. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6075 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38305 f5534014-38df-0310-8fa8-9805f1628bb7
2011-07-20From Martin Kaiser:etxrab1-7/+102
Add support for the ca_pmt_reply apdu as defined in section 8.4.3.5 of the DVB-CI standard (EN 50221). Also some new apdu tags and their descriptions are added for completeness. After applying this patch, DVB-CI support is complete except for reassembly https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6132 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38137 f5534014-38df-0310-8fa8-9805f1628bb7
2011-06-22tvb_reported_length_remaining() can return -1;wmeier1-41/+35
Remove a few lines of not really req'd code; Minor whitespace cleanup. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37744 f5534014-38df-0310-8fa8-9805f1628bb7
2011-06-22From Martin Kaiser: Fix forBug #6048 (fuzztest crash)wmeier1-0/+9
"this is caused by my newly added DVB-CI MMI code endless loop when dissect_dvbci_text() returns 0 because the text pseudo-apdu is invalid" https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6048 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37743 f5534014-38df-0310-8fa8-9805f1628bb7
2011-06-21From Martin Kaiser:etxrab1-0/+82
adds dissection of the Card Information Structure (CIS). It shows the CIS as a list of tuples without going into the details of each tuple. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6036 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37738 f5534014-38df-0310-8fa8-9805f1628bb7
2011-06-21From Martin Kaiser:etxrab1-26/+452
adds the MMI resource as defined in the DVB-CI specification (EN50221), section 8.6 (low-level MMI is excluded as it's not used in practice). The patch allows dissection of all text boxes that a DVB-CI host displays on behalf of the CI module. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6034 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37737 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-31From Michael Mann:etxrab1-5/+108
Dissect DVB-CI host control resource according to section 8.5.1 of the DVB-CI specification (EN50221). https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5951 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37472 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-29From Martin Kaiser:etxrab1-15/+32
allows filtering of the event in the pseudo header and removes the pointless filter for version_number+current_next_indicator. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5832 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37456 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-29From Martin Kaiser:etxrab1-1/+1
DVB-CI dissector: exception in close_session_request apdus (wrong offset) https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5955 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37455 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-29From Martin Kaiser:etxrab1-3/+18
checks the address of the Configuration Option Register that is used for switching a PC-Card in DVB-CI mode. The address must be <= 0xffe.. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5940 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37454 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-29From Martin Kaiser:etxrab1-4/+116
implements the DVB-CI date-time resource according to section 8.5.2 of the DVB-CI specification (EN50221). https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5936 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37453 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-27From Martin Kaiser via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5959cmaynard1-5/+2
Use _U_ for unused function parameter. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37442 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-18(Trivial) Fix a typo; Add spme punctuation in a coment.wmeier1-9/+9
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37263 f5534014-38df-0310-8fa8-9805f1628bb7
2011-05-17Use val_to_str() instead of blindly passing the return value from match_strval()morriss1-2/+2
into a format routine (to ensure a non-NULL string pointer). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37203 f5534014-38df-0310-8fa8-9805f1628bb7
2011-03-08From Martin Kaiser: initialize hdr_tag with NO_TAGwmeier1-1/+1
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5654 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36163 f5534014-38df-0310-8fa8-9805f1628bb7
2011-03-07Squelch compiler warning:sfisher1-1/+1
packet-dvbci.c: In function 'dissect_dvbci_lpdu': packet-dvbci.c:1153: warning: 'hdr_tag' may be used uninitialized in this function packet-dvbci.c:1153: note: 'hdr_tag' was declared here By setting hdr_tag = 0, but see question on bug #5654 on whether 0 is a good default value or not. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36157 f5534014-38df-0310-8fa8-9805f1628bb7
2011-03-07Fix compiler error on Windows 64: cast strlen() to (int);wmeier1-4/+4
Also: Apparently the length of an address of type AT_STRINGZ must include the NULL. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36151 f5534014-38df-0310-8fa8-9805f1628bb7