aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-atm.c
AgeCommit message (Collapse)AuthorFilesLines
2014-06-22convert to proto_tree_add_subtree[_format]Michael Mann1-8/+5
Change-Id: Ib60ca75b7da8cfa21cfe2999c9b9448a02c332df Reviewed-on: https://code.wireshark.org/review/2560 Tested-by: Michael Mann <mmann78@netscape.net> Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-06-19Revert "Fixup: tvb_* -> tvb_captured"Michael Mann1-6/+6
https://www.wireshark.org/lists/wireshark-dev/201406/msg00131.html This reverts commit 246fe2ca4c67d8c98caa84e2f57694f6322e2f96. Change-Id: Ib24bae0198c13a84bd7f731bf4af921212109a8f Reviewed-on: https://code.wireshark.org/review/2430 Reviewed-by: Michael Mann <mmann78@netscape.net>
2014-06-18Fixup: tvb_* -> tvb_capturedDario Lombardo1-6/+6
Change-Id: I9209c1271967405c34c1b6fa43e1726a4d3a5a3f Reviewed-on: https://code.wireshark.org/review/2377 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-06-07tvb_new_subset -> tvb_new_subset_length when length parameters are equal.Michael Mann1-1/+1
tvb_new_subset -> tvb_new_subset_remaining it appears that's what the intention is. Change-Id: I2334bbf3f10475b3c22391392fc8b6864454de2d Reviewed-on: https://code.wireshark.org/review/1999 Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2014-02-27Sherman, set the Wayback Machine for 1997.Guy Harris1-1/+1
The URLs for the CRC-10 code are dead; use Wayback Machine URLs. Change-Id: I3924e9cabb3b49b0e1abb31fbffa9b89f95cd0ce Reviewed-on: https://code.wireshark.org/review/419 Reviewed-by: Guy Harris <guy@alum.mit.edu>
2013-12-30Add an "ATM reassembly failed" flag for capture file readers to provide,Guy Harris1-58/+92
and set it in NetXRay/Windows Sniffer files if the putative "ATM reassembly failed" flag is set and, if reassembly failed, don't attempt to dissect the packet. svn path=/trunk/; revision=54503
2013-11-29Rename some of pint.h macros to match common style (bits number on the end).Jakub Zawadzki1-2/+2
pntohs -> pntoh16 pntohl -> pntoh32 pletohs -> pletoh16 pletohl -> pletoh32 phtons -> phton16 phtonl -> phton32 svn path=/trunk/; revision=53652
2013-11-09include <wsutil/pint.h> only when needed.Jakub Zawadzki1-0/+1
svn path=/trunk/; revision=53196
2013-10-26Don't use private_data for pwatm_private_data_t and instead pass it into the ↵Michael Mann1-32/+36
dissectors. svn path=/trunk/; revision=52877
2013-08-05Keep result of [new_]register_dissector in some dissectors. [2 of x]Jakub Zawadzki1-7/+5
(don't create new dissector handle if we can use already existing one) svn path=/trunk/; revision=51159
2013-06-19Fix display of "(correct)"/"(incorrect)" indication for the CRC.Guy Harris1-3/+3
svn path=/trunk/; revision=50058
2013-03-14[-Wmissing-prototypes]Anders Broman1-2/+2
explicit casts. svn path=/trunk/; revision=48293
2013-03-13- [-Wmissing-prototypes]Anders Broman1-0/+3
- explicit casts. svn path=/trunk/; revision=48282
2013-03-02Move the setting of pt to where it was before the changes, so it'sGuy Harris1-3/+3
before the point at which it's added to the protocol tree. Put the ATM channel in the ATM tree rather than the top-level tree. Fix the name for the CPI field (copy-and-pasteo). svn path=/trunk/; revision=48015
2013-02-28Re-add statement accidentally removed in r47950 that was resulting in aEvan Huus1-0/+1
variable being used uninitialized. svn path=/trunk/; revision=47959
2013-02-28Use proto_tree_add_item (or similar) instead of proto_item_add_text.Michael Mann1-162/+304
svn path=/trunk/; revision=47950
2012-11-29Make all enum_val_t's const.Jeff Morriss1-1/+1
svn path=/trunk/; revision=46292
2012-10-18Minor cleanup:Bill Meier1-73/+70
- revert incorrect replacement of FALSE by ENC_BIG_ENDIAN done a while back (3 cases); [The incorrect use of ENC_BIG_ENDIAN was benign since ENC_BIG_ENDIAN is currently defined ad 0x0000000]; - Remove 'if(tree)' around calls to subdissector; - whitespace & formatting. svn path=/trunk/; revision=45635
2012-09-27replaced decode_numeric_bitfield calls with filterable item or removed it if ↵Michael Mann1-10/+15
it didn't mathematically do anything. svn path=/trunk/; revision=45166
2012-09-23replaced decode_boolean_bitfield calls with itemized filtersMichael Mann1-25/+42
svn path=/trunk/; revision=45059
2012-09-20We always HAVE_CONFIG_H so don't bother checking whether we have it or not.Jeff Morriss1-3/+1
svn path=/trunk/; revision=45017
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-06-24From Yair:Anders Broman1-7/+7
1. OAM cells are not automatically detected if the AAL type passed is AAL_UNKNOWN. 2. CRC10 calculation does not take into account the "crc_stripped" option, and uses a hardcoded offset of 5 bytes into the cell. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7385 svn path=/trunk/; revision=43471
2012-01-28From Tobias Witek:Anders Broman1-0/+5
Allow dissectors to indicate that an ATM AAL5 frame contains SSCOP. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6717 svn path=/trunk/; revision=40750
2011-11-29Fix Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-2/+5
svn path=/trunk/; revision=40040
2011-10-21For proto_tree_add_item(..., proto_xxx, ...)use ENC_NA as the encoding arg.Bill Meier1-4/+4
Also: remove trailing whitespace for a number of files. svn path=/trunk/; revision=39503
2011-10-12From Tobias Witek: Anders Broman1-0/+7
This patch extends the ATM parser so as to allow GPRS NS traffic encapsulated in ATM AAL5. Additionally, added support for this into the 'Meta' dissector. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6447 svn path=/trunk/; revision=39394
2011-09-26Get rid of check_col, while at it set ENC.Anders Broman1-41/+30
svn path=/trunk/; revision=39146
2011-03-25remove unused variableRonnie Sahlberg1-2/+1
coverity 229 svn path=/trunk/; revision=36327
2011-01-21Introduce, and start using, tvb_eth_to_str().Jeff Morriss1-1/+1
Export tvb_*_to_str() and put them in alphabetical order. svn path=/trunk/; revision=35602
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris1-2/+2
keys to have _uint in their names, to match the routines that handle dissector tables with string keys. (Using _port can confuse people into thinking they're intended solely for use with TCP/UDP/etc. ports when, in fact, they work better for things such as Ethernet types, where the binding of particular values to particular protocols are a lot stronger.) svn path=/trunk/; revision=35224
2010-05-10Indentation & whitespace cleanup (including: "4 space tabs" ==> spaces)Bill Meier1-748/+748
svn path=/trunk/; revision=32735
2010-04-03Remove unneeded #include <stdio.h>Bill Meier1-1/+0
svn path=/trunk/; revision=32367
2010-02-22Minor cosmetic changes:Stephen Fisher1-2/+2
- Display "Asynchronous Transfer Mode" instead of "ATM" in the protocol tree - Highlight the rest of the packet when the user selects ATM in the packet details pane. svn path=/trunk/; revision=31946
2010-02-07From Stephen Donnelly:Anders Broman1-15/+34
AAL2 preference. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4465 svn path=/trunk/; revision=31813
2010-02-05I think you meant "pinfo->pseudo_header->atm.flags & ATM_AAL2_NOPHDR"Guy Harris1-1/+1
(test whether ATM_AAL2_NOPHDR is set in atm.flags), not "pinfo->pseudo_header->atm.flags | ATM_AAL2_NOPHDR" (which is always true if ATM_AAL2_NOPHDR is nonzero, which it is). svn path=/trunk/; revision=31796
2010-02-02From Stephen Donnelly:Anders Broman1-14/+22
Endace ATM and AAL2 enhancements. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4447 svn path=/trunk/; revision=31766
2010-02-01From Tobias Witek:Anders Broman1-13/+14
Replace ERF dissector with ATM dissector for protocols 'FP Hint' and 'META' https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4384 svn path=/trunk/; revision=31761
2009-08-21Sanitize epan includesKovarththanan Rajaratnam1-1/+1
svn path=/trunk/; revision=29499
2009-08-16Switch a bunch of dissectors over to using tvb_new_subset_remaining()Kovarththanan Rajaratnam1-6/+6
svn path=/trunk/; revision=29446
2009-08-09Don't guard col_clear with col_checkKovarththanan Rajaratnam1-6/+3
svn path=/trunk/; revision=29344
2009-08-09Don't guard col_set_str (COL_RES_DL_SRC/COL_RES_DL_DST) with col_checkKovarththanan Rajaratnam1-8/+4
svn path=/trunk/; revision=29343
2009-08-09Don't guard col_set_str (COL_INFO) with col_checkKovarththanan Rajaratnam1-8/+4
svn path=/trunk/; revision=29342
2009-08-09Don't guard col_set_str (COL_PROTOCOL) with col_checkKovarththanan Rajaratnam1-12/+6
svn path=/trunk/; revision=29340
2009-06-29From Artem Tamazov:Anders Broman1-114/+120
Added: PW ATM 1:1, AAL5 SDU, AAL5 PDU support + BFD fix + PW ATM OAM fix svn path=/trunk/; revision=28881
2009-06-18From Kovarththanan Rajaratnam via bug 3548:Stig Bjørlykke1-4/+4
(1) Trailing/leading spaces are removed from 'name's/'blurb's (2) Duplicate 'blurb's are replaced with NULL (3) Empty ("") 'blurb's are replaced with NULL (4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME, FT_PROTOCOL, FT_STRING and FT_STRINGZ field types (5) Only allow non-zero value for 'display' if 'bitmask' is non-zero svn path=/trunk/; revision=28770
2009-04-04From Francesco Fondelli:Anders Broman1-21/+126
New ATM PW (with/without CW) dissector, RFC 4717 https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3375 svn path=/trunk/; revision=27955
2009-02-25Clean up the comments in the L2TP dissector about RFCs.Guy Harris1-4/+20
Clean up indentation a bit. Clean up the L2TPv3 dissection a bit. Make an OAM cell dissector, and have the L2TP dissector call it. svn path=/trunk/; revision=27540
2008-12-22err_posn_table[] was mis-generated (probably a cut-and-pasteo, as,Guy Harris1-4/+100
given that we're using #defines for NO_ERROR_DETECTED and UNCORRECTIBLE_ERROR, the table is 2x128, rather than 8x32 like the other tables, so I probably had a loop that advanced by 8 elements but printed only 2 of them). svn path=/trunk/; revision=27090