aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-tacacs.c
AgeCommit message (Collapse)AuthorFilesLines
2013-09-22emem -> wmem conversion:Pascal Quantin1-1/+1
- ep_tvb_get_bits() -> wmem_packet_tvb_get_bits() - tvb_g_memdup()/ep_tvb_memdup() -> tvb_memdup() - tvb_fake_unicode()/tvb_get_ephemeral_faked_unicode() -> tvb_get_faked_unicode() - tvb_get_g_string()/tvb_get_ephemeral_string()/tvb_get_seasonal_string() -> tvb_get_string() - tvb_get_g_unicode_string()/tvb_get_ephemeral_unicode_string() -> tvb_get_unicode_string() - tvb_get_ephemeral_string_enc() -> tvb_get_string_enc() - update docs accordingly svn path=/trunk/; revision=52172
2013-09-21Add _g_ to the names of functions that allocate glib memory. This is a bit moreEvan Huus1-1/+1
explicit, and frees up the "generic" names (like tvb_memdup) for new signatures that take the appropriate wmem pool. Majority of the conversion done with sed. svn path=/trunk/; revision=52164
2013-09-15Convert proto_tree_add_uint_format to proto_tree_add_uint_format_value if ↵Michael Mann1-4/+4
hf_ field name is the first part of the formatted string. This was done with a perl script on the dissectors directory (packet-*.c), followed by manual inspection of the output. The manual inspection yielded a few cases that really should have been proto_tree_add_uint or proto_tree_add_item, so I updated them accordingly. The script didn't catch as many as I would have liked, but it's a start. The most common (ab)use of proto_tree_add_uint_format was for appending strings to CRC/checksum values to note good or bad CRC/checksum. svn path=/trunk/; revision=52045
2013-09-12emem -> wmemJörg Mayer1-3/+3
svn path=/trunk/; revision=51971
2013-09-09we don't need brackets around SET_ADDRESS() any moreMartin Kaiser1-4/+1
svn path=/trunk/; revision=51866
2013-09-09expert_add_info_format_text -> expert_add_info_formatMichael Mann1-1/+1
svn path=/trunk/; revision=51852
2013-09-07 coverity 1047692: check return value of inet_pton()Martin Kaiser1-2/+11
svn path=/trunk/; revision=51814
2013-08-01Move a bunch of the crypt modules and pint.h into wsutil.Jeff Morriss1-2/+3
This means wsutil now links against libcrypt. Protect a bunch of the crypt header files from multiple inclusion. svn path=/trunk/; revision=51100
2013-05-28Batch of filterable expert infos. This (mostly) completes the non-ASN.1 ↵Michael Mann1-1/+11
list of (built-in) dissectors that only had a small handful of add_expert_info_format calls. svn path=/trunk/; revision=49602
2013-04-05Fix set-but-not-used warning turned error: use the newly created subtree in ↵Jeff Morriss1-15/+15
a few cases. svn path=/trunk/; revision=48749
2013-04-05Use uint instead of intMichael Mann1-1/+1
svn path=/trunk/; revision=48748
2013-04-05Replace proto_tree_add_text with itemized filtersMichael Mann1-198/+339
svn path=/trunk/; revision=48747
2013-03-19From beroset:Anders Broman1-6/+6
remove C++ incompatibilities https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8416 svn path=/trunk/; revision=48412
2013-03-17Fix some Dead Store (Dead assignement/Dead increment) Warning found by ClangAlexis La Goutte1-1/+0
svn path=/trunk/; revision=48371
2012-12-18When copying addresses, also copy the (new) hf field.Jeff Morriss1-3/+1
Use SET_ADDRESS in some dissectors that weren't using it (so that the hf field is correctly initialized). Introduce a COPY_ADDRESS_SHALLOW (which copies an address without copying the contents of the data field). svn path=/trunk/; revision=46602
2012-09-25replaced decode_boolean_bitfield calls with itemized filtersMichael Mann1-14/+25
added tfs_no_yes to tfs.[ch] svn path=/trunk/; revision=45115
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-08-10Use val_to_str_const() where appropriate;Bill Meier1-8/+8
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 svn path=/trunk/; revision=44438
2012-06-28Update Free Software Foundation address.Jakub Zawadzki1-1/+1
(COPYING will be updated in next commit) svn path=/trunk/; revision=43536
2012-01-15Rename crypt-xxx to xxxJörg Mayer1-1/+1
svn path=/trunk/; revision=40511
2011-10-10 Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵Bill Meier1-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) svn path=/trunk/; revision=39328
2011-10-06Convert 'encoding' parameter of certain proto_tree_add_item() calls in ↵Bill Meier1-13/+13
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_UINT8 FT_UINT16 FT_UINT24 FT_UINT32 FT_UINT64 FT_INT8 FT_INT16 FT_INT24 FT_INT32 FT_INT64 FT_FLOAT FT_DOUBLE svn path=/trunk/; revision=39288
2010-12-20Rename the routines that handle dissector tables with unsigned integerGuy Harris1-3/+3
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-28Move some code (including the optional objects) into libwsutilJeff Morriss1-1/+1
svn path=/trunk/; revision=33012
2009-11-23Guard #include <sys/types.h> with HAVE_SYS_TYPES_H.Stig Bjørlykke1-0/+2
svn path=/trunk/; revision=31053
2009-09-06Rename address_to_str() to ep_address_to_str() because:Kovarththanan Rajaratnam1-6/+6
1) This indicates that the string has ephemeral lifetime 2) More consistent with its existing seasonal counterpart, se_address_to_str(). svn path=/trunk/; revision=29747
2009-08-09Don't guard col_clear with col_checkKovarththanan Rajaratnam1-2/+1
svn path=/trunk/; revision=29344
2009-08-09Don't guard col_set_str (COL_PROTOCOL) with col_checkKovarththanan Rajaratnam1-6/+3
svn path=/trunk/; revision=29340
2009-07-07Changed flags_set_truth -> tfs_set_notsetStig Bjørlykke1-2/+2
svn path=/trunk/; revision=28989
2009-05-13Apply some of the patches from:Anders Broman1-6/+1
http://wiki.wireshark.org/Development/Optimization svn path=/trunk/; revision=28356
2009-04-21Simplify headerfields a bit.Jaap Keuter1-19/+19
svn path=/trunk/; revision=28103
2009-04-03More size_t.Gerald Combs1-1/+2
svn path=/trunk/; revision=27943
2008-12-20Fix various typos and spelling errors (mostly in text strings)Bill Meier1-1/+1
svn path=/trunk/; revision=27065
2008-10-31Fix bug #3020: Fix potential memory leaksStephen Fisher1-2/+6
svn path=/trunk/; revision=26636
2008-05-14Fix some of the Errors/warnings detected by checkapi.Bill Meier1-3/+5
svn path=/trunk/; revision=25290
2008-04-15don't use strdup() if you want to free the memory later with g_free(), this ↵Ulf Lamping1-1/+1
doesn't work (at least) on MSVC2005 builds! svn path=/trunk/; revision=25037
2008-02-07Removed some "statement not reached" warnings.Stig Bjørlykke1-4/+3
svn path=/trunk/; revision=24282
2007-04-30Use memcpy() to copy the session ID to the buffer, so we don't getGuy Harris1-2/+2
warnings from the compiler about pointer value alignment. svn path=/trunk/; revision=21629
2007-03-26From Sebastien Tandel Ronnie Sahlberg1-1/+1
fixes for various compiler warnings svn path=/trunk/; revision=21210
2007-01-24Fix for bug #1308: tacacs decoding fails. Introduce TCP desegmentation forStephen Fisher1-1/+15
data after the fixed length header as some implementations may not send the header and payload in the same segment. svn path=/trunk/; revision=20544
2007-01-02Move epan/crypt-md5.[ch] to epan/crypt. RemoveGerald Combs1-1/+1
epan/crypt/airpdcap_md5.[ch]. Fix up whitespace. svn path=/trunk/; revision=20277
2006-07-11More from Ilja van Sprundel. When we call tvb_new_subset() with aGerald Combs1-22/+27
length fetched using tvb_get_netohl(), make sure the length ends up being positive. svn path=/trunk/; revision=18714
2006-07-04make the string allocated with g_,alloc since preferences have a scope ↵Ronnie Sahlberg1-1/+1
longer than se svn path=/trunk/; revision=18651
2006-07-04memory allocated by strdup is not frred by using g_freeRonnie Sahlberg1-9/+1
replace with se storage svn path=/trunk/; revision=18650
2006-05-21change a whole bunch of ethereal into wiresharkRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=18196
2006-04-25Add a URLJörg Mayer1-0/+1
svn path=/trunk/; revision=17995
2006-01-19Make sure we don't use the ADNS version of inet_aton; it's broken.Gerald Combs1-3/+0
This fixes bug 523, but exposes more of bug 658. The TACACS and SDP dissectors don't call inet_aton(), so don't include it. svn path=/trunk/; revision=17056
2005-08-17remove g_malloc() from rip remove one g_malloc() from tacacsRonnie Sahlberg1-2/+2
svn path=/trunk/; revision=15380
2005-08-10rename ep_tvb_get_string() to tvb_get_ephemeral_string() asnd update the ↵Ronnie Sahlberg1-4/+4
documentation in README.developer svn path=/trunk/; revision=15270
2005-08-02Last set of trivial fixes for "no previous declaration" warnings.Jörg Mayer1-1/+1
svn path=/trunk/; revision=15191