aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-alcap.c
AgeCommit message (Collapse)AuthorFilesLines
2010-10-07Define 3 global variables as static; Whitespace cleanup.wmeier1-256/+256
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@34410 f5534014-38df-0310-8fa8-9805f1628bb7
2010-04-06#include <string.h> not needed.wmeier1-1/+0
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32411 f5534014-38df-0310-8fa8-9805f1628bb7
2010-01-13From Didier Gautheron:etxrab1-5/+2
check_col.diff Remove redundant calls to check_col() if it guards only one columns function with one parameter after the column type. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4394 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31519 f5534014-38df-0310-8fa8-9805f1628bb7
2009-10-25From Jakub Zawadzki:etxrab1-2/+2
Cleanup dissector code - use proper memory functions. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4164 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30691 f5534014-38df-0310-8fa8-9805f1628bb7
2009-07-07From Kovarththanan Rajaratnam:stig1-1/+1
More FT_XXX cleanup. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28971 f5534014-38df-0310-8fa8-9805f1628bb7
2009-06-18From Kovarththanan Rajaratnam via bug 3548:stig1-143/+143
(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 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@28770 f5534014-38df-0310-8fa8-9805f1628bb7
2008-12-17Fix typos and spelling (mostly in text strings) wmeier1-4/+4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27028 f5534014-38df-0310-8fa8-9805f1628bb7
2008-12-16Fix some spelling/typoswmeier1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@27024 f5534014-38df-0310-8fa8-9805f1628bb7
2008-09-03g_ascii_strdown() and g_ascii_strup(), unlike g_strdown() and g_strup(),guy1-41/+42
do *not* modify the string handed to them - they g_mallocate a new string and return it. Create routines that *do* ASCII-only case mapping in place, and use them instead. Clean up indentation. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26131 f5534014-38df-0310-8fa8-9805f1628bb7
2008-06-27Fix some warnings reported by gcc -Wshadow ...wmeier1-5/+5
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25616 f5534014-38df-0310-8fa8-9805f1628bb7
2008-05-09Include string.hstig1-0/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25262 f5534014-38df-0310-8fa8-9805f1628bb7
2008-05-09Fix some of the Errors/warnings detected by checkapi.etxrab1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25261 f5534014-38df-0310-8fa8-9805f1628bb7
2008-03-01Added missing array for hf_alcap_pssiae_max_len and hf_alcap_ssiae_max_len.stig1-0/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@24515 f5534014-38df-0310-8fa8-9805f1628bb7
2007-12-04update to new signature for string keyed treessahlberg1-5/+5
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23737 f5534014-38df-0310-8fa8-9805f1628bb7
2007-04-23Add some GCC warnings to the standard set, and add some others to theguy1-34/+34
--enable-extra-gcc-checks set. If we turn on -pedantic, try turning on -Wno-long-long as well, so that it's not *so* pedantic that it rejects the 64-bit integral data types that we explicitly require. Constify a bunch of stuff, and make some other changes, to get rid of warnings. Clean up some indentation. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21526 f5534014-38df-0310-8fa8-9805f1628bb7
2007-03-26From Sebastien Tandel sahlberg1-2/+2
fixes for various compiler warnings git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21210 f5534014-38df-0310-8fa8-9805f1628bb7
2006-08-29Florent DROUIN <florent.drouin@alcatel.fr>:jmayer1-1/+0
Fix http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1077 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@19074 f5534014-38df-0310-8fa8-9805f1628bb7
2006-08-14rename some structures and defines from the se_tree to the emem_tree prefixsahlberg1-6/+6
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18894 f5534014-38df-0310-8fa8-9805f1628bb7
2006-05-21change a whole bunch of ethereal into wiresharksahlberg1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18196 f5534014-38df-0310-8fa8-9805f1628bb7
2006-04-30Constify some stuff, to eliminate compiler warnings and to make a tableguy1-3/+3
that isn't written const. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18044 f5534014-38df-0310-8fa8-9805f1628bb7
2006-03-24- Actually Fix Coverity CID 105 It is true...lego1-12/+12
- avoid derreferencing an uninitialized leg->dest_nsap git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17724 f5534014-38df-0310-8fa8-9805f1628bb7
2006-03-11give se_trees names so that it is easier to debug and to log how often ↵sahlberg1-3/+3
certain trees are accessed git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17587 f5534014-38df-0310-8fa8-9805f1628bb7
2006-03-11Mark coverity's CID 105 as a false positive.lego1-0/+2
(The macro GET_MSG_TYPE does propper bounds checking but coverity doesn't consider it (may not be able to resolve the ?: operator) ) git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17581 f5534014-38df-0310-8fa8-9805f1628bb7
2006-03-11replace GHashTables with se_treeslego1-35/+21
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17579 f5534014-38df-0310-8fa8-9805f1628bb7
2006-03-07From Jeff Morris,lego1-4/+2
Avoid an off by one error in dissect_fields_dnsea() and dissect_fields_onsea() Fixes Bug 794 git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17495 f5534014-38df-0310-8fa8-9805f1628bb7
2006-03-07- contsify a variable in packet-alcap.c to see if a fake bug reported by ↵lego1-1/+1
coverty goes away. - fix an off by one error in packet-telnet.c reported by coverty git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17487 f5534014-38df-0310-8fa8-9805f1628bb7
2006-01-05Bill Meier:jmayer1-62/+62
Spelling fixes. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16956 f5534014-38df-0310-8fa8-9805f1628bb7
2005-12-28Keep a hash of call legs indexed by nsap:sugr and separate the leg tree code ↵lego1-70/+103
so that it can be called from others. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16913 f5534014-38df-0310-8fa8-9805f1628bb7
2005-12-19Avoid a warning if release_cause == 0lego1-1/+1
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16858 f5534014-38df-0310-8fa8-9805f1628bb7
2005-11-07Dissect NSAPetxrab1-0/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16420 f5534014-38df-0310-8fa8-9805f1628bb7
2005-10-29Use NULL for pointers, 0 for integers, to squelch compiler warnings.guy1-2/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16359 f5534014-38df-0310-8fa8-9805f1628bb7
2005-10-28Came up to be an almost complete rewrite:lego1-1711/+1466
- decode up to Q.2630.3 - (almost) all parameter fields have its own filter expression - remove buffers from the stack - add some color (expert info) to the tree git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@16348 f5534014-38df-0310-8fa8-9805f1628bb7
2005-09-15Add more information regarding call legs.lego1-130/+187
Make the release cause value filterable. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15826 f5534014-38df-0310-8fa8-9805f1628bb7
2005-09-02make two thigs that should be value_strings value_stringssahlberg1-14/+18
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15668 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-20Trivial warning fixesjmayer1-3/+3
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15452 f5534014-38df-0310-8fa8-9805f1628bb7
2005-08-19Keep information about the call-leg so that all the messages of a leg can be ↵lego1-24/+211
filtered given a parameter of it. Create the header to export the structures thyat hold that info. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15430 f5534014-38df-0310-8fa8-9805f1628bb7
2005-07-27Fix >2600 warnings by doing char -> const char changes.jmayer1-6/+6
Additionally in dissectors/packet-ansi_map.c: Flag unused parameters as such and remove dummy param = param; statements. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15114 f5534014-38df-0310-8fa8-9805f1628bb7
2005-07-24use ep_alloc instead of statically allocated bufferslego1-2/+6
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15030 f5534014-38df-0310-8fa8-9805f1628bb7
2005-06-26Get rid of the private "my_match_strval()" routine in many dissectors;guy1-23/+4
add a "match_strval_idx()" routine that does the same thing, and have "match_strval()" call it. Make those routines, and "val_to_str()", return a "const" pointer. Update dissectors as necessary to squelch compiler warnings produced by that. Use "val_to_str()" rather than using "match_strval()" and then, if the result is null, substituting a specific string. Clean up some other "match_strval()"/"val_to_str()" usages. Add a null pointer check in the NDPS dissector's "attribute_value()" routine, as it's not clear that "global_attribute_name" won't be null at that point. Make some global variables in the AFS4INT dissector local. Make some routines not used outside the module they're in static. Make some tables "static const". Clean up white space. Fix Gerald's address in some files. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14786 f5534014-38df-0310-8fa8-9805f1628bb7
2005-06-26packet-alcap.c(195) : warning C4090: 'return' : different 'const' qualifiersulfl1-4/+4
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14767 f5534014-38df-0310-8fa8-9805f1628bb7
2005-06-07make sure that colifo gets set and put some other useful info therelego1-63/+80
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14582 f5534014-38df-0310-8fa8-9805f1628bb7
2005-06-06register the dissector so that it can be foundlego1-0/+2
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14569 f5534014-38df-0310-8fa8-9805f1628bb7
2004-07-18Move dissectors to epan/dissectors directory.gram1-0/+1774
Also move ncp222.py, x11-fields, process-x11-fields.pl, make-reg-dotc, and make-reg-dotc.py. Adjust #include lines in files that include packet-*.h files. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@11410 f5534014-38df-0310-8fa8-9805f1628bb7